CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (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)