summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2011-12-09 22:58:01 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2011-12-09 22:58:01 +0000
commitf57d8cb13121b1ecc171a7dc4393ed4cbebb835b (patch)
tree10134e5be0bb4b635552ded4670615102ee77a1b /clang/lib/Frontend/CompilerInvocation.cpp
parent4517fe5020b842d8e82d35775d1925596ae1f588 (diff)
downloadbcm5719-llvm-f57d8cb13121b1ecc171a7dc4393ed4cbebb835b.tar.gz
bcm5719-llvm-f57d8cb13121b1ecc171a7dc4393ed4cbebb835b.zip
C++11 constant expressions: Don't use CheckICE in C++11; instead, determine
whether an expression is a (core) constant expression as a side-effect of evaluation. This takes us from accepting far too few expressions as ICEs to accepting slightly too many -- fixes for the remaining cases are coming next. The diagnostics produced when an expression is found to be non-constant are currently quite poor (with generic wording but reasonable source locations), and will be improved in subsequent commits. llvm-svn: 146289
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud