update cpp/complex-block to match java/csharp

This commit is contained in:
erik-krogh
2022-08-11 14:53:50 +02:00
parent b1c9843d15
commit 5a312cd0da

View File

@@ -29,7 +29,4 @@ where
n = strictcount(ComplexStmt s | s = b.getAStmt()) and
n > 3 and
complexStmt = b.getAStmt()
select b,
"Block with too many statements (" + n.toString() +
" complex statements in the block). Complex statements at: $@", complexStmt,
complexStmt.toString()
select b, "Block with too many statements (" + n.toString() + " complex statements in the block)."