CodeQL library for C/C++
codeql/cpp-all 0.13.1 (changelog, source)
Search

Member predicate TypeDeclarationEntry::isTopLevel

A top level type declaration entry is not declared within a function, function declaration, class or typedef.

predicate isTopLevel()