[clang] Emit debug info with original source location for tokens from macros … (PR #163190)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 17 09:21:47 PDT 2025
SergejSalnikov wrote:
> getRefinedSpellingLoc - I'm not sure "refined" carries enough information (is it a reference to some other existing use of the term?) - but I don't have any great suggestions for a name. Perhaps "immediate" or "local" spelling location?
I've just found out that there is already getFileLoc method, which was not very optimized. So I've fixed it and use it instead of introducing a new one.
https://github.com/llvm/llvm-project/pull/163190
More information about the cfe-commits
mailing list