C++: Rename Block -> BlockStmt

This commit is contained in:
Jonas Jensen
2020-09-07 16:48:29 +02:00
parent 22b3b0a5f1
commit ab90f06ddf
49 changed files with 375 additions and 368 deletions

View File

@@ -9,6 +9,6 @@
import cpp
from Block blk
from BlockStmt blk
where blk.getNumStmt() = 0
select blk

View File

@@ -13,5 +13,5 @@
import cpp
from IfStmt i
where i.getThen().(Block).getNumStmt() = 0
where i.getThen().(BlockStmt).getNumStmt() = 0
select i

View File

@@ -8,6 +8,6 @@
import cpp
from Block b
from BlockStmt b
where b.getNumStmt() = 1
select b