summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-24 22:38:50 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-24 22:38:50 +0000
commitb1dd23fbc4333de9b3fd23f766d8224c957fb656 (patch)
treee5851e9b16a11017fa8efca8aee79479d7af7d4f /clang/lib/Sema/Sema.h
parent8423d0241f4306c25d8bbe11cccced2fdf883b8b (diff)
downloadbcm5719-llvm-b1dd23fbc4333de9b3fd23f766d8224c957fb656.tar.gz
bcm5719-llvm-b1dd23fbc4333de9b3fd23f766d8224c957fb656.zip
Split ActOnPseudoDestructorExpr into the part that interprets the
parser's data structures and the part that performs semantic analysis and AST building, in preparation for improved template instantiation of pseudo-destructor expressions. llvm-svn: 97070
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r--clang/lib/Sema/Sema.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h
index 57e527e94a6..689ad493e85 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -2181,6 +2181,15 @@ public:
OwningExprResult DiagnoseDtorReference(SourceLocation NameLoc,
ExprArg MemExpr);
+ OwningExprResult BuildPseudoDestructorExpr(ExprArg Base,
+ SourceLocation OpLoc,
+ tok::TokenKind OpKind,
+ const CXXScopeSpec &SS,
+ TypeSourceInfo *ScopeType,
+ SourceLocation CCLoc,
+ TypeSourceInfo *DestroyedType,
+ bool HasTrailingLParen);
+
OwningExprResult ActOnDependentPseudoDestructorExpr(Scope *S,
ExprArg Base,
SourceLocation OpLoc,
OpenPOWER on IntegriCloud