[clang] [clang] Improve source location in binary type traits diagnostics (PR #88097)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 9 02:26:28 PDT 2024
Endilll wrote:
> Do we now have enough information to pass a source range as well?
Yes, `TypeLoc` inside `TypeSourceInfo` has two `SourceLocation` object that represent the range.
In order to limit the scope of the PR, I'm not refactoring `RequireCompleteType` and friends to accept `TypeSourceInfo`, but that's an obvious next step. Diagnostics would benefit from source range.
https://github.com/llvm/llvm-project/pull/88097
More information about the cfe-commits
mailing list