whentojump wrote: Sorry for getting back this late.
I reverted the latest commit (using `SourceRange`) and addressed the earlier comment about updating region sloc only when they are changed. And yes if you have better ideas about `getNonScratchExpansion` implementation you can please post a new PR. https://github.com/llvm/llvm-project/pull/89869 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits