Add parsing support for C++ classes.
Note that Parser::ParseCXXMemberSpecification is temporarily disabled until the Sema support is in place.
Once ParseCXXMemberSpecification is enabled, the Parser/cxx-class.cpp test will pass.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@52694 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 1d68160..89d0d40 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -221,6 +221,9 @@
virtual DeclTy *FinalizeDeclaratorGroup(Scope *S, DeclTy *Group);
virtual DeclTy *ActOnStartOfFunctionDef(Scope *S, Declarator &D);
+ // Until 'real' implementation is in place, override both
+ // 'ActOnStartOfFunctionDef' to satisfy the compiler.
+ virtual DeclTy *ActOnStartOfFunctionDef(Scope *S, DeclTy *D) { return D; }
virtual void ObjCActOnStartOfMethodDef(Scope *S, DeclTy *D);
virtual DeclTy *ActOnFinishFunctionBody(DeclTy *Decl, StmtTy *Body);