diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-09 01:22:23 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-09 01:22:23 +0000 |
commit | f07e815823e03c046bbc186ec2b41d656e9cac7f (patch) | |
tree | 2f4115c1ad8632c1c2b5af8e8ea4008fc66d892e | |
parent | ed9c59f2ae338f6f70c1fed2ce7b0d8a5eb3ba1c (diff) |
clang/lib/StaticAnalyzer/Core/BugReporter.cpp: Appease old msvc in std::pair(0, 0).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174792 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index f4d50708dd..6ae73b58c0 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -1324,7 +1324,8 @@ static bool GenerateExtensivePathDiagnostic(PathDiagnostic& PD, // 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) { |