|
|
@ -3053,7 +3053,6 @@ void Parser::MarkValidity(Function* F) |
|
|
|
auto FD = static_cast<FunctionDecl*>(F->originalPtr); |
|
|
|
auto FD = static_cast<FunctionDecl*>(F->originalPtr); |
|
|
|
|
|
|
|
|
|
|
|
if (!FD->getTemplateInstantiationPattern() || |
|
|
|
if (!FD->getTemplateInstantiationPattern() || |
|
|
|
FD->getTemplateInstantiationPattern()->isLateTemplateParsed() || |
|
|
|
|
|
|
|
!FD->isExternallyVisible() || |
|
|
|
!FD->isExternallyVisible() || |
|
|
|
c->getSourceManager().isInSystemHeader(FD->getBeginLoc())) |
|
|
|
c->getSourceManager().isInSystemHeader(FD->getBeginLoc())) |
|
|
|
return; |
|
|
|
return; |
|
|
|