build: update llvm to 21.1.4 (#292)

This commit is contained in:
ykiko
2025-11-02 22:23:11 +08:00
committed by GitHub
parent 3b1e379408
commit 397eb71dad
18 changed files with 154 additions and 115 deletions

View File

@@ -123,9 +123,9 @@ public:
auto fid = sm.getFileID(sm.getExpansionLoc(import_location));
auto& import = directives[fid].imports.emplace_back();
import.location = import_location;
for(auto& [name, location]: names) {
import.name += name->getName();
import.name_locations.emplace_back(location);
for(auto name: names) {
import.name += name.getIdentifierInfo()->getName();
import.name_locations.emplace_back(name.getLoc());
}
}