summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-11-05 22:18:15 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-11-05 22:18:15 +0000
commitf490f0eaba5fed6236d8f8a965a2fd98fa41e891 (patch)
treec41467cee98b253f67b7d4584b600932eb8c35a9 /lib/CodeGen/CGExpr.cpp
parent1d5cce4f284519bdd1218c8f095462a518b47286 (diff)
downloadclang-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