mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 22:02:52 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user