================
@@ -1095,6 +1095,8 @@ prepareAndFilterRanges(const
SmallVectorImpl<CharSourceRange> &Ranges,
unsigned StartColumn = SM.getExpansionColumnNumber(Begin);
unsigned EndColumn = SM.getExpansionColumnNumber(End);
+ assert(StartColumn && "StartColumn has a value of 0");
----------------
shafik wrote:
Because we have the
```cpp
if (R.isInvalid())
continue;
```
at the top of the loop, which is the case where they could be zero.
https://github.com/llvm/llvm-project/pull/153527
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits