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

Predicate stripPointer

INTERNAL: Do not use.

Returns t, but stripped of the outermost pointer, reference, etc.

For example, stripPointers(int*&) is int* and stripPointers(int*) is int.

Import path

import semmle.code.cpp.ir.dataflow.internal.DataFlowUtil
Type stripPointer(Type t)