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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to