Reland: [clang] Track function template instantiation from definition (#125266)

This commit is contained in:
Matheus Izvekov
2025-02-05 14:12:12 -03:00
committed by GitHub
parent f9dbf1a18b
commit 346077aaa6
11 changed files with 181 additions and 28 deletions

View File

@@ -1064,6 +1064,7 @@ void ASTDeclReader::VisitFunctionDecl(FunctionDecl *FD) {
FD->setHasImplicitReturnZero(FunctionDeclBits.getNextBit());
FD->setIsMultiVersion(FunctionDeclBits.getNextBit());
FD->setLateTemplateParsed(FunctionDeclBits.getNextBit());
FD->setInstantiatedFromMemberTemplate(FunctionDeclBits.getNextBit());
FD->setFriendConstraintRefersToEnclosingTemplate(
FunctionDeclBits.getNextBit());
FD->setUsesSEHTry(FunctionDeclBits.getNextBit());