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 | 6d4c6586c9ab19d34a5cf953d25a7c8f1c3bef0d (patch) | |
tree | a49a9d5168e54658c3ae1b79330f54d549aef143 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0df9e16cc7a93cbe2f0cb3cb488f89e87c3fe604 (diff) | |
download | llvm-6d4c6586c9ab19d34a5cf953d25a7c8f1c3bef0d.zip llvm-6d4c6586c9ab19d34a5cf953d25a7c8f1c3bef0d.tar.gz llvm-6d4c6586c9ab19d34a5cf953d25a7c8f1c3bef0d.tar.bz2 |
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.
llvm-svn: 194098
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions