]> granicus.if.org Git - clang/commit
Implement parser support for the 'condition' part of C++ selection-statements and...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 9 Sep 2008 20:38:47 +0000 (20:38 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 9 Sep 2008 20:38:47 +0000 (20:38 +0000)
commit71b914b999d9c4b6df11068fc5a3291ac4770492
tree0466eb3657ad0a3045834832e0ce684fb2c97256
parent8bd3dc64d28bdb3b263838a12aca25587bce661b
Implement parser support for the 'condition' part of C++ selection-statements and iteration-statements (if/switch/while/for).
Add new 'ActOnCXXConditionDeclarationExpr' action, called when the 'condition' is a declaration instead of an expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56007 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticKinds.def
include/clang/Parse/Action.h
include/clang/Parse/DeclSpec.h
include/clang/Parse/Parser.h
include/clang/Parse/Scope.h
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseStmt.cpp
test/Parser/cxx-condition.cpp [new file with mode: 0644]