aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-06-23 19:02:52 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-06-23 19:02:52 +0000
commit03a4aa3d0069be59b72e0e3528eca356b09d312e (patch)
tree69f664b5bf9bdf4cfe0cb6b55cd9415b94a9388b /clang/lib/CodeGen/CodeGenFunction.h
parent2cd2a18a9f14fbcb7364786d058caafdb359f523 (diff)
downloadllvm-03a4aa3d0069be59b72e0e3528eca356b09d312e.zip
llvm-03a4aa3d0069be59b72e0e3528eca356b09d312e.tar.gz
llvm-03a4aa3d0069be59b72e0e3528eca356b09d312e.tar.bz2
Re-commit r273548, reverted in r273589, with a fix to not produce
-Wfor-loop-analysis warnings for a for-loop with a condition variable. In such a case, the loop condition variable is modified on each iteration of the loop by definition. Original commit message: 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: 273600
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions