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

Predicate hasOpaqueType

Holds if an IROpaqueType with the specified tag and byteSize should exist.

Import path

import semmle.code.cpp.ir.internal.CppType
predicate hasOpaqueType(Type tag, int byteSize)