mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 22:02:51 +01:00
roll llvm to 7024b9e1b423b3c3c6ac76ab6a73cb2c9e4ef842 (#7781)
Updated patch 0006 to include new files added in https://github.com/llvm/llvm-project/pull/207543. Dropped patch 0009 which was upstreamed in: https://github.com/llvm/llvm-project/pull/190088 Minor updates to patch 0011 for changes upstream. Minor updates in export.cpp to use `llvm::FoldingSetInsertToken` instead of a void pointer.
This commit is contained in:
@@ -192,8 +192,9 @@ static auto CreateClassTemplateSpecializationDecl(
|
||||
template_args,
|
||||
/*StrictPackMatch=*/false,
|
||||
/*PrevDecl=*/nullptr);
|
||||
class_template_decl->AddSpecialization(class_template_specialization_decl,
|
||||
/*InsertPos=*/nullptr);
|
||||
class_template_decl->AddSpecialization(
|
||||
class_template_specialization_decl,
|
||||
/*InsertPos=*/llvm::FoldingSetInsertToken());
|
||||
class_template_specialization_decl->setHasExternalLexicalStorage();
|
||||
class_template_specialization_decl->setHasExternalVisibleStorage();
|
||||
|
||||
@@ -1451,7 +1452,8 @@ auto ExportFunctionSpecializationToCpp(
|
||||
context.ast_context(), template_args);
|
||||
function_decl->setFunctionTemplateSpecialization(
|
||||
function_template_decl, template_arg_list,
|
||||
/*InsertPos=*/nullptr, clang::TSK_ExplicitSpecialization,
|
||||
/*InsertPos=*/llvm::FoldingSetInsertToken(),
|
||||
clang::TSK_ExplicitSpecialization,
|
||||
/*TemplateArgsAsWritten=*/nullptr,
|
||||
/*PointOfInstantiation=*/clang::SourceLocation());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user