diff options
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/Checker/BugReporter.cpp | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Checker/BugReporter.cpp b/clang/lib/Checker/BugReporter.cpp index 7272b348581..856b05ff2dc 100644 --- a/clang/lib/Checker/BugReporter.cpp +++ b/clang/lib/Checker/BugReporter.cpp @@ -1139,12 +1139,9 @@ void EdgeBuilder::addContext(const Stmt *S) {  static void GenerateExtensivePathDiagnostic(PathDiagnostic& PD,                                              PathDiagnosticBuilder &PDB,                                              const ExplodedNode *N) { - -    EdgeBuilder EB(PD, PDB); -  const ExplodedNode* NextNode = N->pred_empty() -                                        ? NULL : *(N->pred_begin()); +  const ExplodedNode* NextNode = N->pred_empty() ? NULL : *(N->pred_begin());    while (NextNode) {      N = NextNode;      NextNode = GetPredecessorNode(N);  | 

