Remove misguided template keyword to fix GCC build.
This commit is contained in:
parent
cfb96548c0
commit
461e0eed28
2
iwyu.cc
2
iwyu.cc
|
@ -3669,7 +3669,7 @@ class IwyuAstConsumer
|
|||
// void init(struct mystruct* s);
|
||||
// warning: declaration of 'struct mystruct' will not be visible
|
||||
// outside of this function [-Wvisibility]
|
||||
if (current_ast_node()->template HasAncestorOfType<ParmVarDecl>())
|
||||
if (current_ast_node()->HasAncestorOfType<ParmVarDecl>())
|
||||
ReportDeclForwardDeclareUse(CurrentLoc(), type->getDecl());
|
||||
}
|
||||
return Base::VisitTagType(type);
|
||||
|
|
Loading…
Reference in New Issue