cor3ntin wrote:

Ouch the inability to comment outside of modified code is going to be painful.

The changed code being

```cpp
  unsigned DisplayLineNo = Loc.getPresumedLoc().getLine();
  for (const auto &I : Ranges) {
  DisplayLineNo = 
            std::min(DisplayLineNo, SM.getPresumedLineNumber(I.getBegin()));
  }
```

If the range starts before `DisplayLineNo`, it still works. Am I missing 
something?

https://github.com/llvm/llvm-project/pull/65238
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to