Files
codeql/cpp/ql/test/library-tests/preprocessor/dependent_defs/block.ql
2018-08-02 17:53:23 +01:00

10 lines
243 B
Plaintext

import cpp
// A function might have more than one block if it's used in more than one
// preprocessor context -- even if the preprocessor context does not affect the
// blocks.
from Function f
select f, f.getBlock(),
count(f.getBlock())