diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-06-23 08:41:20 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-06-23 08:41:20 +0000 |
commit | 19f877c3f2625188b73e77635a409a8ab925ca11 (patch) | |
tree | 1cf9c635e6a7465c6c1c6489caac41ffd17c467b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 26036843724d49fcd4678f177c02f0097997c731 (diff) | |
download | llvm-19f877c3f2625188b73e77635a409a8ab925ca11.zip llvm-19f877c3f2625188b73e77635a409a8ab925ca11.tar.gz llvm-19f877c3f2625188b73e77635a409a8ab925ca11.tar.bz2 |
Rearrange condition handling so that semantic checks on a condition variable
are performed before the other substatements of the construct are parsed,
rather than deferring them until the end. This allows better error recovery
from semantic errors in the condition, improves diagnostic order, and is a
prerequisite for C++17 constexpr if.
llvm-svn: 273548
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions