Module Clang__.Clang__ast_options
type init_list_form
=
|
Syntactic
Syntactic form: only explicitly written values appear in initialization lists.
|
Semantic
Semantic form: values that are not explicitly written in initialization lists appear as
Clang__ast
.ImplicitValueInitExpr.type t
=
{
ignore_implicit_cast : bool;
Ignore implicit cast nodes in expressions. See
Clang__ast
.Cast for examples.ignore_paren : bool;
Ignore parenthese nodes in expressions. See
Clang__ast.expr
for examples.ignore_paren_in_types : bool;
Ignore parenthese nodes in types. See
Clang__ast.qual_type
for examples.ignore_expr_with_cleanups : bool;
ignore_materialize_temporary_expr : bool;
ignore_bind_temporary_expr : bool;
convert_integer_literals : bool;
Convert integer literals into
Clang__ast
.Int. SeeClang__ast
.IntegerLiteral for examples.convert_floating_literals : bool;
Convert floating literals into
Clang__ast
.Float. SeeClang__ast
.FloatingLiteral for examples.init_list_form : init_list_form;
Select between default form (syntactic or semantic) for initialization lists. See
Clang__ast
.ImplicitValueInitExpr for examples. Default:Syntactic
.}
Options
.t stores flags that change the construction of the abstract syntax tree. Beware that the nodes that are ignored by default can differ from one version of Clang to the other.
val default : t