diff options
author | Daniel Jasper <djasper@google.com> | 2013-02-19 09:28:55 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-02-19 09:28:55 +0000 |
commit | d78967088c02b69166810cffae5471bccea91ca3 (patch) | |
tree | 7e84ba163315bddba9bc215e4e163be372d37794 /include/clang/Basic/Module.h | |
parent | 98654c938da09e045ff3c18324d26d52d36ee155 (diff) |
Fix bug in LineState comparison function.
The key bug was
if (Other.StartOfLineLevel < StartOfLineLevel) ..
instead of
if (Other.StartOfLineLevel != StartOfLineLevel) ..
Also cleaned up the function to be more consistent in the comparisons.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175500 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Module.h')
0 files changed, 0 insertions, 0 deletions