[llvm] [TableGen] Fix source location for anonymous records (PR #110935)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 05:38:48 PDT 2024
================
@@ -2389,7 +2389,7 @@ Init *VarDefInit::resolveReferences(Resolver &R) const {
}
if (Changed) {
- auto New = VarDefInit::get(Class, NewArgs);
+ auto New = VarDefInit::get(Loc, Class, NewArgs);
----------------
arsenm wrote:
```suggestion
auto *New = VarDefInit::get(Loc, Class, NewArgs);
```
https://github.com/llvm/llvm-project/pull/110935
More information about the llvm-commits
mailing list