CodeQL Cheatsheets
Home
Tags
C++
C#
Javascript
Java
Go
Python
Ruby
About
Empty blocks
cpp
basic
pattern
Author: LGTM
import cpp from BlockStmt blk where blk.getNumStmt() = 0 select blk
Description
Finds empty block statements