diff options
author | Chih-Hung Hsieh <chh@google.com> | 2017-04-06 18:36:50 +0000 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2017-04-06 18:36:50 +0000 |
commit | a0b99e45e9955ecbbc478b18df19712007f3cf9e (patch) | |
tree | f8be62d81891b2b1b28a08b3947fc2a33cd3a313 /llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp | |
parent | 71724f642e49a003de216b1e29ec236f13483ae4 (diff) | |
download | bcm5719-llvm-a0b99e45e9955ecbbc478b18df19712007f3cf9e.tar.gz bcm5719-llvm-a0b99e45e9955ecbbc478b18df19712007f3cf9e.zip |
[Basic] getColumnNumber returns location of CR+LF on Windows
When fixing a Clang-Tidy bug in D31406,
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.
Differential Revision: https://reviews.llvm.org/D31713
llvm-svn: 299681
Diffstat (limited to 'llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions