r182509 - Use scope-resolution operator to hopefully unbreak Windows builds.

Ted Kremenek kremenek at apple.com
Wed May 22 13:01:35 PDT 2013


Author: kremenek
Date: Wed May 22 15:01:35 2013
New Revision: 182509

URL: http://llvm.org/viewvc/llvm-project?rev=182509&view=rev
Log:
Use scope-resolution operator to hopefully unbreak Windows builds.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp?rev=182509&r1=182508&r2=182509&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Wed May 22 15:01:35 2013
@@ -2016,7 +2016,7 @@ static void removePunyEdges(PathPieces &
     if (Invalid)
       continue;
 
-    if (abs(startCol - endCol) <= 2) {
+    if (::abs(startCol - endCol) <= 2) {
       I = path.erase(I);
       erased = true;
       continue;





More information about the cfe-commits mailing list