summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDeclCXX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Parse/ParseDeclCXX.cpp')
-rw-r--r--clang/lib/Parse/ParseDeclCXX.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp
index 81ea52ca690..c6c2ae4cfe1 100644
--- a/clang/lib/Parse/ParseDeclCXX.cpp
+++ b/clang/lib/Parse/ParseDeclCXX.cpp
@@ -730,7 +730,7 @@ void Parser::ParseCXXMemberSpecification(SourceLocation RecordLoc,
// Enter a scope for the class.
ParseScope ClassScope(this, Scope::CXXClassScope|Scope::DeclScope);
- Actions.ActOnStartCXXClassDef(CurScope, TagDecl, LBraceLoc);
+ Actions.ActOnTagStartDefinition(CurScope, TagDecl);
// C++ 11p3: Members of a class defined with the keyword class are private
// by default. Members of a class defined with the keywords struct or union
@@ -802,7 +802,7 @@ void Parser::ParseCXXMemberSpecification(SourceLocation RecordLoc,
// Leave the class scope.
ClassScope.Exit();
- Actions.ActOnFinishCXXClassDef(TagDecl);
+ Actions.ActOnTagFinishDefinition(CurScope, TagDecl);
}
/// ParseConstructorInitializer - Parse a C++ constructor initializer,
OpenPOWER on IntegriCloud