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

Predicate isPodType03

Holds if t is a POD type, according to the rules specified in C++03 3.9(10):

Scalar types, POD-struct types, POD-union types (clause 9), arrays of such types and cv-qualified versions of these types (3.9.3) are collectively called POD types.

Import path

import semmle.code.cpp.PODType03
predicate isPodType03(Type t)