diff options
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
| -rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 8388e76f51..6957ad737d 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -1594,14 +1594,6 @@ GenerateAlternateExtensivePathDiagnostic(PathDiagnostic& PD, // call exit before this point. This means that the path // terminated within the call itself. if (Optional<CallEnter> CE = P.getAs<CallEnter>()) { - // Add an edge to the start of the function. - const StackFrameContext *CalleeLC = CE->getCalleeContext(); - PathDiagnosticLocation &PrevLocCallee = PrevLocMap[CalleeLC]; - const Decl *D = CalleeLC->getDecl(); - addEdgeToPath(PD.getActivePath(), PrevLocCallee, - PathDiagnosticLocation::createBegin(D, SM), - CalleeLC); - // Did we visit an entire call? bool VisitedEntireCall = PD.isWithinCall(); PD.popActivePath(); |
