hanchenye-llvm-project/clang/lib
Douglas Gregor 7bab5ff8e7 Eliminate CXXConditionDeclExpr with extreme prejudice.
All statements that involve conditions can now hold on to a separate
condition declaration (a VarDecl), and will use a DeclRefExpr
referring to that VarDecl for the condition expression. ForStmts now
have such a VarDecl (I'd missed those in previous commits).

Also, since this change reworks the Action interface for
if/while/switch/for, use FullExprArg for the full expressions in those
expressions, to ensure that we're emitting

Note that we are (still) not generating the right cleanups for
condition variables in for statements. That will be a follow-on
commit.

llvm-svn: 89817
2009-11-25 00:27:52 +00:00
..
AST Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
Analysis For the nil-receiver checker, take into account the behavioral changes that got introduced in Mac OS X 10.5 and later, notably return values of double, float, etc., will not be garbage. Fixes <rdar://problem/6829160>. 2009-11-24 22:48:18 +00:00
Basic Add SigAtomicType to TargetInfo, Needed for MSP and PIC Targets, Credit to Ken Dyck. 2009-11-21 00:49:54 +00:00
CodeGen Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
Driver Fix for PR5568. 2009-11-24 15:23:21 +00:00
Frontend Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
Headers Define SIG_ATOMIC_MIN and SIG_ATOMIC_MAX in terms of __SIG_ATOMIC_WIDTH__. 2009-11-22 15:47:12 +00:00
Index Add special clang_getCursor() support for @class. Handles <rdar://problem/7383421>. 2009-11-18 02:02:52 +00:00
Lex Move DISABLE_INLINE to the front of the decl so MSVC can parse it. Patch by Amine Khaldi! 2009-11-14 16:36:57 +00:00
Parse Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
Rewrite Be more careful with anonymous namespaces, since Clang diagnoses the ambiguity here 2009-11-17 06:52:37 +00:00
Sema Eliminate CXXConditionDeclExpr with extreme prejudice. 2009-11-25 00:27:52 +00:00
CMakeLists.txt Introduce the 'Index' library. 2009-07-05 22:22:19 +00:00
Makefile Introduce the 'Index' library. 2009-07-05 22:22:19 +00:00