[cfe-commits] r69327 - /cfe/trunk/include/clang/AST/ExprCXX.h
Anders Carlsson
andersca at mac.com
Thu Apr 16 16:53:22 PDT 2009
Author: andersca
Date: Thu Apr 16 18:53:22 2009
New Revision: 69327
URL: http://llvm.org/viewvc/llvm-project?rev=69327&view=rev
Log:
Add constructor getter to CXXTemporaryObjectExpr.
Modified:
cfe/trunk/include/clang/AST/ExprCXX.h
Modified: cfe/trunk/include/clang/AST/ExprCXX.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ExprCXX.h?rev=69327&r1=69326&r2=69327&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ExprCXX.h (original)
+++ cfe/trunk/include/clang/AST/ExprCXX.h Thu Apr 16 18:53:22 2009
@@ -469,6 +469,8 @@
unsigned getNumArgs() const { return NumArgs; }
+ const CXXConstructorDecl* getConstructor() const { return Constructor; }
+
virtual SourceRange getSourceRange() const {
return SourceRange(TyBeginLoc, RParenLoc);
}
More information about the cfe-commits
mailing list