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

Predicate countIndirectionsForCppType

Gets the maximum number of indirections a value of C++ type langType can have.

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternalsCommon
int countIndirectionsForCppType(LanguageType langType)