[clang] [Clang] Fix template elision to preserve qualifiers in diagnostics (PR #180175)

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 12 06:33:51 PST 2026


Lambo-IITian wrote:

This change makes the comparison check both the template name and qualifiers, so differently qualified types are no longer treated as the same.

That doesn’t change the semantic AST, but it can shift which internal node gets associated with a source location. Since the JSON tests check exact byte offsets, this shows up as small `"offset"` differences.

So the failures are just due to updated location metadata. I’ll update the test expectations and rerun the suite to make sure everything passes.


https://github.com/llvm/llvm-project/pull/180175


More information about the cfe-commits mailing list