The first line of the code snippet we print is potentially lower than the caret line, so handle that case. Fixes https://github.com/llvm/llvm-project/issues/63524
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. Not sure if the Fixes https://github.com/llvm/llvm-project/issues/63524 line autocloses the issue, but note that Fixes #63524 does.
Comment Actions
That works as well as far as I know, but I changed it locally to just use the issue ID anyway. Could you set the status to accepted? Thanks.
Comment Actions
@cor3ntin Thanks. You're very close to getting on my default reviewer list though, so be careful ;)