diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-05-20 21:38:11 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-05-20 21:38:11 +0000 |
commit | d94546a0a1deef7286c13e49b9584621ae81cc9a (patch) | |
tree | 21c3df66618e59ee9d2979a55ccdabaa8ca667e3 /lib/AST/ExprCXX.cpp | |
parent | 0db2272aad16a09b8338626282b2ceb78645f205 (diff) |
Template instantiation for the various kinds of AST nodes that occur
due to C++ type construction of the form T(a1, a2, ..., aN).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprCXX.cpp')
-rw-r--r-- | lib/AST/ExprCXX.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/AST/ExprCXX.cpp b/lib/AST/ExprCXX.cpp index a73843ca36..cca391e193 100644 --- a/lib/AST/ExprCXX.cpp +++ b/lib/AST/ExprCXX.cpp @@ -365,3 +365,7 @@ CXXBoolLiteralExpr* CXXBoolLiteralExpr::Clone(ASTContext &C) const { CXXNullPtrLiteralExpr* CXXNullPtrLiteralExpr::Clone(ASTContext &C) const { return new (C) CXXNullPtrLiteralExpr(getType(), Loc); } + +CXXZeroInitValueExpr* CXXZeroInitValueExpr::Clone(ASTContext &C) const { + return new (C) CXXZeroInitValueExpr(getType(), TyBeginLoc, RParenLoc); +} |