summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-05-21 00:00:09 +0000
committerDouglas Gregor <dgregor@apple.com>2009-05-21 00:00:09 +0000
commitd0fefbafd103c52964a3abd96f929917a8c1e847 (patch)
treee464916ee5767f3a5b0f42fa2e3523e385e8b963 /clang/lib/Sema/Sema.h
parent8658bb565d1952c6b9531bc6bfa81238daadb0c4 (diff)
downloadbcm5719-llvm-d0fefbafd103c52964a3abd96f929917a8c1e847.tar.gz
bcm5719-llvm-d0fefbafd103c52964a3abd96f929917a8c1e847.zip
Template instantiation for C++ "new" expressions.
llvm-svn: 72199
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 9fc54e41499..9c294e0b10e 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -1556,7 +1556,21 @@ public:
SourceLocation ConstructorLParen,
MultiExprArg ConstructorArgs,
SourceLocation ConstructorRParen);
- bool CheckAllocatedType(QualType AllocType, const Declarator &D);
+ OwningExprResult BuildCXXNew(SourceLocation StartLoc, bool UseGlobal,
+ SourceLocation PlacementLParen,
+ MultiExprArg PlacementArgs,
+ SourceLocation PlacementRParen,
+ bool ParenTypeId,
+ QualType AllocType,
+ SourceLocation TypeLoc,
+ SourceRange TypeRange,
+ ExprArg ArraySize,
+ SourceLocation ConstructorLParen,
+ MultiExprArg ConstructorArgs,
+ SourceLocation ConstructorRParen);
+
+ bool CheckAllocatedType(QualType AllocType, SourceLocation Loc,
+ SourceRange R);
bool FindAllocationFunctions(SourceLocation StartLoc, SourceRange Range,
bool UseGlobal, QualType AllocType, bool IsArray,
Expr **PlaceArgs, unsigned NumPlaceArgs,
OpenPOWER on IntegriCloud