diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-11-05 22:18:15 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-11-05 22:18:15 +0000 |
| commit | f490f0eaba5fed6236d8f8a965a2fd98fa41e891 (patch) | |
| tree | c41467cee98b253f67b7d4584b600932eb8c35a9 /lib/CodeGen/CGExpr.cpp | |
| parent | 1d5cce4f284519bdd1218c8f095462a518b47286 (diff) | |
| download | clang-f490f0eaba5fed6236d8f8a965a2fd98fa41e891.tar.gz clang-f490f0eaba5fed6236d8f8a965a2fd98fa41e891.tar.bz2 clang-f490f0eaba5fed6236d8f8a965a2fd98fa41e891.tar.xz | |
Refactor constant expression handling and make a couple of tweaks to make it a
bit more robust against future changes. This includes a slight diagnostic
improvement: if we know we're only trying to form a constant expression, take
the first diagnostic which shows the expression is not a constant expression,
rather than preferring the first one which makes the expression unfoldable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
