clang 23.0.0git
clang::ASTStmtReader Class Reference
Inheritance diagram for clang::ASTStmtReader:
[legend]

Public Member Functions

 ASTStmtReader (ASTRecordReader &Record, llvm::BitstreamCursor &Cursor)
void ReadTemplateKWAndArgsInfo (ASTTemplateKWAndArgsInfo &Args, TemplateArgumentLoc *ArgsLocArray, unsigned NumTemplateArgs)
 Read and initialize a ExplicitTemplateArgumentList structure.
void VisitStmt (Stmt *S)
Public Member Functions inherited from clang::StmtVisitorBase< std::add_pointer, ASTStmtReader, void, ParamTys... >
void Visit (PTR(Stmt) S, ParamTys... P)
 BINOP_FALLBACK (PtrMemD) BINOP_FALLBACK(PtrMemI) BINOP_FALLBACK(Mul) BINOP_FALLBACK(Div) BINOP_FALLBACK(Rem) BINOP_FALLBACK(Add) BINOP_FALLBACK(Sub) BINOP_FALLBACK(Shl) BINOP_FALLBACK(LT) BINOP_FALLBACK(GT) BINOP_FALLBACK(LE) BINOP_FALLBACK(GE) BINOP_FALLBACK(EQ) BINOP_FALLBACK(NE) BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or) BINOP_FALLBACK(LAnd) BINOP_FALLBACK(LOr) CAO_FALLBACK(MulAssign) CAO_FALLBACK(DivAssign) CAO_FALLBACK(RemAssign) CAO_FALLBACK(AddAssign) CAO_FALLBACK(SubAssign) CAO_FALLBACK(ShlAssign) CAO_FALLBACK(ShrAssign) CAO_FALLBACK(AndAssign) CAO_FALLBACK(OrAssign) UNARYOP_FALLBACK(PostInc) UNARYOP_FALLBACK(PostDec) UNARYOP_FALLBACK(PreInc) UNARYOP_FALLBACK(PreDec) UNARYOP_FALLBACK(AddrOf) UNARYOP_FALLBACK(Deref) UNARYOP_FALLBACK(Plus) UNARYOP_FALLBACK(Minus) UNARYOP_FALLBACK(Not) UNARYOP_FALLBACK(LNot) UNARYOP_FALLBACK(Real) UNARYOP_FALLBACK(Imag) UNARYOP_FALLBACK(Extension) UNARYOP_FALLBACK(Coawait) void VisitStmt(PTR(Stmt) Node

Static Public Attributes

static const unsigned NumStmtFields = 0
 The number of record fields required for the Stmt class itself.
static const unsigned NumExprFields = NumStmtFields + 2
 The number of record fields required for the Expr class itself.
static const unsigned NumObjCObjectLiteralFields = NumExprFields + 1
 The number of record fields required for the ObjCObjectLiteral class itself (Expr fields + isExpressibleAsConstantInitializer).
static const unsigned NumExprBits = 10
 The number of bits required for the packing bits for the Expr class.

Additional Inherited Members

Public Attributes inherited from clang::StmtVisitorBase< std::add_pointer, ASTStmtReader, void, ParamTys... >
ParamTys P

Detailed Description

Definition at line 68 of file ASTReaderStmt.cpp.

Constructor & Destructor Documentation

◆ ASTStmtReader()

clang::ASTStmtReader::ASTStmtReader ( ASTRecordReader & Record,
llvm::BitstreamCursor & Cursor )
inline

Definition at line 100 of file ASTReaderStmt.cpp.

Member Function Documentation

◆ ReadTemplateKWAndArgsInfo()

void ASTStmtReader::ReadTemplateKWAndArgsInfo ( ASTTemplateKWAndArgsInfo & Args,
TemplateArgumentLoc * ArgsLocArray,
unsigned NumTemplateArgs )

◆ VisitStmt()

void ASTStmtReader::VisitStmt ( Stmt * S)

Definition at line 143 of file ASTReaderStmt.cpp.

References NumStmtFields.

Member Data Documentation

◆ NumExprBits

const unsigned clang::ASTStmtReader::NumExprBits = 10
static

The number of bits required for the packing bits for the Expr class.

Definition at line 116 of file ASTReaderStmt.cpp.

◆ NumExprFields

const unsigned clang::ASTStmtReader::NumExprFields = NumStmtFields + 2
static

The number of record fields required for the Expr class itself.

Definition at line 109 of file ASTReaderStmt.cpp.

◆ NumObjCObjectLiteralFields

const unsigned clang::ASTStmtReader::NumObjCObjectLiteralFields = NumExprFields + 1
static

The number of record fields required for the ObjCObjectLiteral class itself (Expr fields + isExpressibleAsConstantInitializer).

Definition at line 113 of file ASTReaderStmt.cpp.

◆ NumStmtFields

const unsigned clang::ASTStmtReader::NumStmtFields = 0
static

The number of record fields required for the Stmt class itself.

Definition at line 105 of file ASTReaderStmt.cpp.

Referenced by VisitStmt().


The documentation for this class was generated from the following file: