forked from OSchip/llvm-project
Pass the VirtSpecifiers along to Sema::ActOnCXXMemberDeclarator.
llvm-svn: 123878
This commit is contained in:
parent
a9797804da
commit
db36b8055e
|
@ -2538,7 +2538,7 @@ public:
|
|||
Decl *ActOnCXXMemberDeclarator(Scope *S, AccessSpecifier AS,
|
||||
Declarator &D,
|
||||
MultiTemplateParamsArg TemplateParameterLists,
|
||||
Expr *BitfieldWidth,
|
||||
Expr *BitfieldWidth, const VirtSpecifiers &VS,
|
||||
Expr *Init, bool IsDefinition,
|
||||
bool Deleted = false);
|
||||
|
||||
|
|
|
@ -37,7 +37,8 @@ Decl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS, Declarator &D,
|
|||
move(TemplateParams));
|
||||
else // FIXME: pass template information through
|
||||
FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D,
|
||||
move(TemplateParams), 0, 0,
|
||||
move(TemplateParams), 0,
|
||||
VirtSpecifiers(), 0,
|
||||
/*IsDefinition*/true);
|
||||
|
||||
HandleMemberFunctionDefaultArgs(D, FnD);
|
||||
|
|
|
@ -1601,7 +1601,7 @@ void Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS,
|
|||
DeclaratorInfo,
|
||||
move(TemplateParams),
|
||||
BitfieldSize.release(),
|
||||
Init.release(),
|
||||
VS, Init.release(),
|
||||
/*IsDefinition*/Deleted,
|
||||
Deleted);
|
||||
}
|
||||
|
|
|
@ -859,7 +859,8 @@ Decl *Sema::ActOnAccessSpecifier(AccessSpecifier Access,
|
|||
Decl *
|
||||
Sema::ActOnCXXMemberDeclarator(Scope *S, AccessSpecifier AS, Declarator &D,
|
||||
MultiTemplateParamsArg TemplateParameterLists,
|
||||
ExprTy *BW, ExprTy *InitExpr, bool IsDefinition,
|
||||
ExprTy *BW, const VirtSpecifiers &VS,
|
||||
ExprTy *InitExpr, bool IsDefinition,
|
||||
bool Deleted) {
|
||||
const DeclSpec &DS = D.getDeclSpec();
|
||||
DeclarationNameInfo NameInfo = GetNameForDeclarator(D);
|
||||
|
|
Loading…
Reference in New Issue