]> granicus.if.org Git - clang/commit
Explicitly track the condition variable within an "if" statement,
authorDouglas Gregor <dgregor@apple.com>
Mon, 23 Nov 2009 23:44:04 +0000 (23:44 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 23 Nov 2009 23:44:04 +0000 (23:44 +0000)
commit8cfe5a784133d90bf329fd20801824a6f71bb8ca
tree074054ca6c3e71e178729248da6006d569804241
parent21affc089773edc30be43ecb0022a48acdac7093
Explicitly track the condition variable within an "if" statement,
rather than burying it in a CXXConditionDeclExpr (that occassionally
hides behind implicit conversions). Similar changes for
switch, while, and do-while will follow, then the removal of
CXXConditionDeclExpr. This commit is the canary.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89717 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Stmt.h
lib/CodeGen/CGStmt.cpp
lib/Frontend/PCHReaderStmt.cpp
lib/Frontend/PCHWriterStmt.cpp
lib/Sema/Sema.h
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaStmt.cpp
lib/Sema/TreeTransform.h