Update LLVM and fix a couple of API usages (#6998)

The `TemplateArgLocInfo` change is more interesting than usual as this
isn't enforced in the type system, and only shows up as a crash.
This commit is contained in:
Chandler Carruth
2026-04-01 00:00:11 +00:00
committed by GitHub
parent 2787089247
commit 39eac6f277
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -223,7 +223,8 @@ static auto ConvertArgToTemplateArg(
}
// TODO: provide a better location.
auto template_loc = clang::TemplateArgumentLocInfo();
auto template_loc = clang::TemplateArgumentLocInfo(context.ast_context(),
clang::SourceLocation());
auto const_inst_id =
context.constant_values().GetConstantInstId(converted_inst_id);