diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-03-28 05:24:50 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-03-28 05:24:50 +0000 |
commit | 6488dc31153be6f98b404c7860be6c66bb4ec917 (patch) | |
tree | 80fb89114b7f2f209ee30d92d825a045b346f899 /lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | 81b5ac39a97cde1a54b8d0eb7105290c40eb84d7 (diff) |
Fix suspicious comparison reported by PVS-Studio!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 643469d7e5..9186321a5a 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -925,7 +925,7 @@ bool EdgeBuilder::containsLocation(const PathDiagnosticLocation &Container, SM.getExpansionColumnNumber(ContaineeRBeg)) && (ContainerEndLine != ContaineeEndLine || SM.getExpansionColumnNumber(ContainerREnd) >= - SM.getExpansionColumnNumber(ContainerREnd))); + SM.getExpansionColumnNumber(ContaineeREnd))); } void EdgeBuilder::rawAddEdge(PathDiagnosticLocation NewLoc) { |