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 authored and GitHub committed 2026-04-01 00:00:11 +00:00
1 parent 2787089247
commit 39eac6f277
3 files changed
+5 -4

No files matched your search

+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);