When fixing a Clang-Tidy bug in D31406,
http://bugs.llvm.org/show_bug.cgi?id=32402,
reuse of FileID enabled the missing highlightRange function.
Assertion in highlightRange failed because the end-of-range column
number was 2 + the last column of a line on Windows.
This fix is required to enable D31406.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LG with one nit.
Thank you for tracking down this bug and fixing it!
lib/Basic/SourceManager.cpp | ||
---|---|---|
1154 | I'd move this line before the outermost if and remove the identical line below. |
I'd move this line before the outermost if and remove the identical line below.