[clang] [clang] Optimize SourceManager.getSpellingLocSlowCase and SourceManager.getFileLocSlowCase (PR #164269)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 24 08:18:23 PDT 2025
AaronBallman wrote:
> Optimize implementations of `getSpellingLocSlowCase` and `getFileLocSlowCase` by inlining called methods to avoid repeated calls to `getSLocEntry` and `getFileID`.
>
> #160667
I think the patch summary and title should be updated, this isn't so much about optimization as it is fixing a bug with debug info, right?
https://github.com/llvm/llvm-project/pull/164269
More information about the cfe-commits
mailing list