forked from OSchip/llvm-project
parent
35b0c52add
commit
95af35e251
|
@ -784,7 +784,7 @@ static void GenExtAddEdge(PathDiagnostic& PD,
|
||||||
if (NewLoc == PrevLoc)
|
if (NewLoc == PrevLoc)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Are we jumping between statements with the same compound statement?
|
// Are we jumping between statements within the same compound statement?
|
||||||
if (!allowBlockJump)
|
if (!allowBlockJump)
|
||||||
if (const Stmt *PS = PrevLoc.asStmt())
|
if (const Stmt *PS = PrevLoc.asStmt())
|
||||||
if (const Stmt *NS = NewLoc.asStmt()) {
|
if (const Stmt *NS = NewLoc.asStmt()) {
|
||||||
|
|
Loading…
Reference in New Issue