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

Member predicate FunctionDeclarationEntry::hasCLinkage

Holds if this declaration entry specifies C linkage:

`extern "C" void foo();`
predicate hasCLinkage()