forked from OSchip/llvm-project
Tighten types a bit. No functionality change.
llvm-svn: 171895
This commit is contained in:
parent
0a67e2fc8b
commit
c2453dd8f5
|
@ -1056,7 +1056,8 @@ private:
|
|||
void DeallocateParsedClasses(ParsingClass *Class);
|
||||
void PopParsingClass(Sema::ParsingClassState);
|
||||
|
||||
Decl *ParseCXXInlineMethodDef(AccessSpecifier AS, AttributeList *AccessAttrs,
|
||||
NamedDecl *ParseCXXInlineMethodDef(AccessSpecifier AS,
|
||||
AttributeList *AccessAttrs,
|
||||
ParsingDeclarator &D,
|
||||
const ParsedTemplateInfo &TemplateInfo,
|
||||
const VirtSpecifiers& VS,
|
||||
|
|
|
@ -22,7 +22,7 @@ using namespace clang;
|
|||
/// ParseCXXInlineMethodDef - We parsed and verified that the specified
|
||||
/// Declarator is a well formed C++ inline method definition. Now lex its body
|
||||
/// and store its tokens for parsing after the C++ class is complete.
|
||||
Decl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS,
|
||||
NamedDecl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS,
|
||||
AttributeList *AccessAttrs,
|
||||
ParsingDeclarator &D,
|
||||
const ParsedTemplateInfo &TemplateInfo,
|
||||
|
@ -38,7 +38,7 @@ Decl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS,
|
|||
TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->data() : 0,
|
||||
TemplateInfo.TemplateParams ? TemplateInfo.TemplateParams->size() : 0);
|
||||
|
||||
Decl *FnD;
|
||||
NamedDecl *FnD;
|
||||
D.setFunctionDefinitionKind(DefinitionKind);
|
||||
if (D.getDeclSpec().isFriendSpecified())
|
||||
FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D,
|
||||
|
|
Loading…
Reference in New Issue