Update to a more recent LLVM. (#7488)

Fix a few API issues. There's also a newly-added file in compiler-rt
that is not supposed to be built by default but is not being excluded
properly by a glob. Added a patch to exclude that and sent
https://github.com/llvm/llvm-project/pull/208861 upstream.
This commit is contained in:
Richard Smith
2026-07-13 22:29:39 +00:00
committed by GitHub
parent 8ea32187d4
commit 8bae79f44a
46 changed files with 5222 additions and 5072 deletions
+5 -2
View File
@@ -864,8 +864,11 @@ auto ExportFunctionSpecializationToCpp(
auto* template_arg_list = clang::TemplateArgumentList::CreateCopy(
context.ast_context(), template_args);
function_decl->setFunctionTemplateSpecialization(
function_template_decl, template_arg_list,
/*InsertPos=*/nullptr, clang::TSK_ExplicitSpecialization);
context.ast_context(), function_template_decl, template_arg_list,
/*InsertPos=*/nullptr, clang::TSK_ExplicitSpecialization,
/*TemplateParams=*/nullptr, /*TemplateArgsAsWritten=*/nullptr,
/*PointOfInstantiation=*/clang::SourceLocation(),
/*AddSpecialization=*/true);
return true;
}