clang 22.0.0git
|
Helper class for initialization of a record with an InitListExpr. More...
#include "clang/Analysis/FlowSensitive/ASTOps.h"
Public Member Functions | |
RecordInitListHelper (const InitListExpr *InitList) | |
RecordInitListHelper (const CXXParenListInitExpr *ParenInitList) | |
ArrayRef< std::pair< const CXXBaseSpecifier *, Expr * > > | base_inits () const |
ArrayRef< std::pair< const FieldDecl *, Expr * > > | field_inits () const |
Helper class for initialization of a record with an InitListExpr.
InitListExpr::inits() contains the initializers for both the base classes and the fields of the record; this helper class separates these out into two different lists. In addition, it deals with special cases associated with unions.
clang::dataflow::RecordInitListHelper::RecordInitListHelper | ( | const InitListExpr * | InitList | ) |
Definition at line 118 of file ASTOps.cpp.
References clang::dataflow::getFieldsForInitListExpr(), getType(), and RecordInitListHelper().
Referenced by RecordInitListHelper(), and RecordInitListHelper().
clang::dataflow::RecordInitListHelper::RecordInitListHelper | ( | const CXXParenListInitExpr * | ParenInitList | ) |
Definition at line 123 of file ASTOps.cpp.
References clang::dataflow::getFieldsForInitListExpr(), getType(), and RecordInitListHelper().
|
inline |