Cpp.Auto Class
Namespace: Cpp
Superclasses: AstNodeProperties
Represents the auto nodes in the syntax tree of your code
Since R2026a
Description
The PQL class Cpp.Auto represents the node auto in the syntax tree of your code.
void foo() {
auto x = 42;
auto *y = &x;
}The code shows two auto type-specifiers. Each auto keyword in the code corresponds to a Cpp.Auto node in the syntax tree.
Predicates
Version History
Introduced in R2026a