summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2008-11-05 04:29:56 +0000
committerDouglas Gregor <dgregor@apple.com>2008-11-05 04:29:56 +0000
commite8381c00eb6c753c6100b968d16c829933e743e2 (patch)
tree1fed91840bcb8c2d5cb5083c5f01a945c6536145 /clang/lib/Sema/Sema.h
parentf14b77ebf12ee2e1bc21145c3947dd30c9d2b988 (diff)
downloadbcm5719-llvm-e8381c00eb6c753c6100b968d16c829933e743e2.tar.gz
bcm5719-llvm-e8381c00eb6c753c6100b968d16c829933e743e2.zip
Initial implementation of parsing, semantic analysis, and AST-building
for constructor initializations, e.g., class A { }; class B : public A { int m; public: B() : A(), m(17) { }; }; llvm-svn: 58749
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 ce70855a378..72b56deca37 100644
--- a/clang/lib/Sema/Sema.h
+++ b/clang/lib/Sema/Sema.h
@@ -809,6 +809,15 @@ public:
Declarator &D, ExprTy *BitfieldWidth,
ExprTy *Init, DeclTy *LastInGroup);
+ virtual MemInitResult ActOnMemInitializer(DeclTy *ConstructorD,
+ Scope *S,
+ IdentifierInfo *MemberOrBase,
+ SourceLocation IdLoc,
+ SourceLocation LParenLoc,
+ ExprTy **Args, unsigned NumArgs,
+ SourceLocation *CommaLocs,
+ SourceLocation RParenLoc);
+
void AddImplicitlyDeclaredMembersToClass(CXXRecordDecl *ClassDecl);
virtual void ActOnFinishCXXMemberSpecification(Scope* S, SourceLocation RLoc,
OpenPOWER on IntegriCloud