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

Member predicate Function::hasCLinkage

Holds if this function has C linkage, as specified by one of its declaration entries. For example: extern "C" void foo();.

predicate hasCLinkage()