[clang-tools-extra] [clang] [clang] Turn invented Exprs' source locations in __builtin_dump_struct to empty (PR #72750)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Sat Nov 18 21:17:36 PST 2023
HighCommander4 wrote:
It looks like the issue is, if the invented CallExpr is ill-formed and the compiler needs to issue a diagnostic about it, with the invalid SourceLocation it doesn't have a source location to attach to the diagnostic.
I guess this means the approach of using an invalid SourceLocation doesn't work after all?
https://github.com/llvm/llvm-project/pull/72750
More information about the cfe-commits
mailing list