]> granicus.if.org Git - clang/commit
Add new 'CXXConditionDeclExpr' expression node used for a 'condition' declaration...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 9 Sep 2008 23:47:53 +0000 (23:47 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 9 Sep 2008 23:47:53 +0000 (23:47 +0000)
commit9e922b1663ecb95dc7eee03002fd66ed18fb3192
treecb943d66744704cc37ab7fc348494e7a0c8b5918
parent17b708d61827cd86278e9580b041dd6cbadf07d3
Add new 'CXXConditionDeclExpr' expression node used for a 'condition' declaration, e.g: "if (int x=0) {...}".
It is a subclass of DeclRefExpr and the main difference is that CXXConditionDeclExpr owns the declaration that it references.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56033 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h
include/clang/AST/ExprCXX.h
include/clang/AST/StmtNodes.def
lib/AST/ExprCXX.cpp
lib/AST/StmtPrinter.cpp