r174792 - clang/lib/StaticAnalyzer/Core/BugReporter.cpp: Appease old msvc in std::pair(0, 0).
NAKAMURA Takumi
geek4civic at gmail.com
Fri Feb 8 17:22:23 PST 2013
Author: chapuni
Date: Fri Feb 8 19:22:23 2013
New Revision: 174792
URL: http://llvm.org/viewvc/llvm-project?rev=174792&view=rev
Log:
clang/lib/StaticAnalyzer/Core/BugReporter.cpp: Appease old msvc in std::pair(0, 0).
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=174792&r1=174791&r2=174792&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp Fri Feb 8 19:22:23 2013
@@ -1324,7 +1324,8 @@ static bool GenerateExtensivePathDiagnos
// Record the last "looping back" diagnostic. This is used
// for determining if we should emit a diagnostic for skipped loops.
- std::pair<const Stmt *, PathDiagnosticEventPiece *> LastLoopDiagnostic(0, 0);
+ std::pair<const Stmt *, PathDiagnosticEventPiece *>
+ LastLoopDiagnostic((Stmt*)0, (PathDiagnosticEventPiece*)0);
const ExplodedNode *NextNode = N->pred_empty() ? NULL : *(N->pred_begin());
while (NextNode) {
More information about the cfe-commits
mailing list