clang 20.0.0git
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::CXXDefaultInitExpr Class Referencefinal

A use of a default initializer in a constructor or in aggregate initialization. More...

#include "clang/AST/ExprCXX.h"

Inheritance diagram for clang::CXXDefaultInitExpr:
Inheritance graph
[legend]

Public Member Functions

bool hasRewrittenInit () const
 
FieldDeclgetField ()
 Get the field whose initializer will be used.
 
const FieldDeclgetField () const
 
ExprgetExpr ()
 Get the initialization expression that will be used.
 
const ExprgetExpr () const
 
const ExprgetRewrittenExpr () const
 Retrieve the initializing expression with evaluated immediate calls, if any.
 
ExprgetRewrittenExpr ()
 Retrieve the initializing expression with evaluated immediate calls, if any.
 
const DeclContextgetUsedContext () const
 
DeclContextgetUsedContext ()
 
SourceLocation getUsedLocation () const
 Retrieve the location where this default initializer expression was actually used.
 
SourceLocation getBeginLoc () const
 
SourceLocation getEndLoc () const
 
child_range children ()
 
const_child_range children () const
 
- Public Member Functions inherited from