diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-04-07 01:34:17 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-04-07 01:34:17 +0000 |
commit | bfd7c9e3fdc9d252c78685b31b341d3d5f6ff661 (patch) | |
tree | 6501ffde066efcbcf12364703c98fba15abf9e76 /lib/Analysis/BugReporter.cpp | |
parent | 0002d23aaf10f307273dab5facda01c137283d22 (diff) |
PathDiagnostic generation: experiment with avoiding generation of control-flow
pieces between block entrance and block end unless necessary.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
-rw-r--r-- | lib/Analysis/BugReporter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/BugReporter.cpp b/lib/Analysis/BugReporter.cpp index b7a1cd90ac..995833a29c 100644 --- a/lib/Analysis/BugReporter.cpp +++ b/lib/Analysis/BugReporter.cpp @@ -989,10 +989,10 @@ static void GenerateExtensivePathDiagnostic(PathDiagnostic& PD, // Only handle blocks with more than 1 statement here, as the blocks // with one statement are handled at BlockEntrances. - if (Blk.size() > 1) { - const Stmt *S = *Blk.rbegin(); - EB.addEdge(S); - } +// if (Blk.size() > 1) { +// const Stmt *S = *Blk.rbegin(); +// EB.addEdge(S); +// } continue; } |