mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-01 01:31:26 +00:00
Remove unused parameter from the LateParsedTemplatedFunction constructor.
llvm-svn: 146145
This commit is contained in:
parent
266e3dda17
commit
33786cb499
@ -1125,7 +1125,7 @@ private:
|
||||
/// \brief Contains a late templated function.
|
||||
/// Will be parsed at the end of the translation unit.
|
||||
struct LateParsedTemplatedFunction {
|
||||
explicit LateParsedTemplatedFunction(Parser* P, Decl *MD)
|
||||
explicit LateParsedTemplatedFunction(Decl *MD)
|
||||
: D(MD) {}
|
||||
|
||||
CachedTokens Toks;
|
||||
|
@ -113,8 +113,7 @@ Decl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS,
|
||||
!Actions.IsInsideALocalClassWithinATemplateFunction())) {
|
||||
|
||||
if (FnD) {
|
||||
LateParsedTemplatedFunction *LPT =
|
||||
new LateParsedTemplatedFunction(this, FnD);
|
||||
LateParsedTemplatedFunction *LPT = new LateParsedTemplatedFunction(FnD);
|
||||
|
||||
FunctionDecl *FD = 0;
|
||||
if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(FnD))
|
||||
|
@ -885,7 +885,7 @@ Decl *Parser::ParseFunctionDefinition(ParsingDeclarator &D,
|
||||
D.getMutableDeclSpec().abort();
|
||||
|
||||
if (DP) {
|
||||
LateParsedTemplatedFunction *LPT = new LateParsedTemplatedFunction(this, DP);
|
||||
LateParsedTemplatedFunction *LPT = new LateParsedTemplatedFunction(DP);
|
||||
|
||||
FunctionDecl *FnD = 0;
|
||||
if (FunctionTemplateDecl *FunTmpl = dyn_cast<FunctionTemplateDecl>(DP))
|
||||
|
Loading…
Reference in New Issue
Block a user