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

Module TypedefType

Provides classes for modeling typedefs and type aliases.

Import path

import semmle.code.cpp.TypedefType

Imports

Type

Provides a hierarchy of classes for modeling C/C++ types.

Classes

AliasTemplateInstantiationType

A C++ alias template instantiation.

AliasTemplateType

A C++ alias template.

CTypedefType

A traditional C/C++ typedef type. See 4.9.1. For example the type declared in the following code: typedef int my_int;

LocalTypedefType

A C++ typedef type that is directly enclosed by a function.

NestedTypedefType

A C++ typedef type that is directly enclosed by a class, struct or union. For example the type declared inside the class C in the following code: class C { typedef int nested; };

TypeAliasType

A C++ type alias or alias template.

TypedefType

A C/C++ typedef type. See 4.9.1. For example the types declared on each line of the following code: typedef int my_int; using my_int2 = int;

Aliases

UsingAliasTypedefType

DEPRECATED: Use TypeAlias instead.