PathDiagnostic generation: experiment with avoiding generation of control-flow

pieces between block entrance and block end unless necessary.

llvm-svn: 68483
This commit is contained in:
Ted Kremenek 2009-04-07 01:34:17 +00:00
parent 4fab57ddea
commit 86d52c4c02
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}