[clang] [clang] Use getFileLoc when computing getPresumedLoc (PR #166255)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 5 04:09:45 PST 2025


SergejSalnikov wrote:

> > I'm removing the unnecessary code. The GCDebugInfo used to do `SM.getPresumedLoc(SM.getFileLoc(Loc))` which is now equivalent to `SM.getPresumedLoc(Loc)`
> 
> If that can be done in a separate PR, lets do that

Done

https://github.com/llvm/llvm-project/pull/166255


More information about the cfe-commits mailing list