Files
codeql/cpp/ql/test/library-tests/structs/mutual_recursion/compatible_structs.ql
Anders Schack-Mulligen 96e4a57edd C++: Autoformat.
2020-01-29 13:11:50 +01:00

8 lines
176 B
Plaintext

import cpp
from Struct s, string distinct
where
distinct =
count(Struct x | x.getName() = s.getName()) + " different struct(s) called " + s.getName()
select s, distinct