! A helper type to have a container for ArrayRef More...
#include "ASTHelpers.h"
Public Member Functions | |
StmtsContainer ()=default | |
StmtsContainer (std::initializer_list< const Stmt * > stmts) | |
void | clear () |
void | Add (const Stmt *stmt) |
void | AddBodyStmts (Stmt *body) |
operator ArrayRef< Stmt * > () | |
Public Attributes | |
SmallVector< Stmt *, 64 > | mStmts {} |
! A helper type to have a container for ArrayRef
Definition at line 63 of file ASTHelpers.h.
|
default |
|
inline |
Definition at line 68 of file ASTHelpers.h.
References Add().
|
inline |
Definition at line 77 of file ASTHelpers.h.
References mStmts.
Referenced by clang::insights::CoroutinesCodeGenerator::InsertArg(), clang::insights::CfrontCodeGenerator::InsertArg(), and StmtsContainer().
void clang::insights::asthelpers::StmtsContainer::AddBodyStmts | ( | Stmt * | body | ) |
Definition at line 723 of file ASTHelpers.cpp.
Referenced by clang::insights::EmitGlobalVariableCtors(), clang::insights::CodeGenerator::HandleLocalStaticNonTrivialClass(), and clang::insights::InsertVtblPtr().
|
inline |
Definition at line 75 of file ASTHelpers.h.
References mStmts.
|
inline |
Definition at line 86 of file ASTHelpers.h.
References mStmts.
SmallVector<Stmt*, 64> clang::insights::asthelpers::StmtsContainer::mStmts {} |
Definition at line 65 of file ASTHelpers.h.
Referenced by Add(), clear(), and operator ArrayRef< Stmt * >().