Skip to content

Commit 84dec5d

Browse files
committed
Removed a condition useless after the fixed late parsing of templates.
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent a73635a commit 84dec5d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/CppParser/Parser.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3053,7 +3053,6 @@ void Parser::MarkValidity(Function* F)
30533053
auto FD = static_cast<FunctionDecl*>(F->originalPtr);
30543054

30553055
if (!FD->getTemplateInstantiationPattern() ||
3056-
FD->getTemplateInstantiationPattern()->isLateTemplateParsed() ||
30573056
!FD->isExternallyVisible() ||
30583057
c->getSourceManager().isInSystemHeader(FD->getBeginLoc()))
30593058
return;

0 commit comments

Comments
 (0)