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 | 1aa79e9f637d9f5fb514095e8b29108bd15c261f (patch) | |
| tree | 984cbf6f613e51682ee0ff3f1d88db1684acc5b9 | |
| parent | 65225c3aa1d54693c74e1fdefbc2c80c0afde0a4 (diff) | |
| download | bcm5719-llvm-1aa79e9f637d9f5fb514095e8b29108bd15c261f.tar.gz bcm5719-llvm-1aa79e9f637d9f5fb514095e8b29108bd15c261f.zip | |
clang/lib/StaticAnalyzer/Core/BugReporter.cpp: Appease old msvc in std::pair(0, 0).
llvm-svn: 174792
| -rw-r--r-- | clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp index f4d50708dd4..6ae73b58c0e 100644 --- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/clang/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) { |

