class ASTStmtWriter
Declaration
class ASTStmtWriter : public StmtVisitor { /* full declaration omitted */ };
Description
StmtVisitor - This class implements a simple visitor for Stmt subclasses. Since Expr derives from Stmt, this also includes support for visiting Exprs. This class does not preserve constness of Stmt pointers (see also ConstStmtVisitor).
Declared at: clang/lib/Serialization/ASTWriterStmt.cpp:32
Inherits from: StmtVisitor
Member Variables
- private clang::ASTWriter& Writer
- private clang::ASTRecordWriter Record
- private serialization::StmtCode Code
- private unsigned int AbbrevToUse
Method Overview
- public ASTStmtWriter(clang::ASTWriter & Writer, ASTWriter::RecordData & Record)
- public ASTStmtWriter(const clang::ASTStmtWriter &)
- public void AddTemplateKWAndArgsInfo(const clang::ASTTemplateKWAndArgsInfo & ArgInfo, const clang::TemplateArgumentLoc * Args)
- public uint64_t Emit()
- public void VisitStmt(clang::Stmt * S)
Methods
¶ASTStmtWriter(clang::ASTWriter& Writer,
ASTWriter::RecordData& Record)
ASTStmtWriter(clang::ASTWriter& Writer,
ASTWriter::RecordData& Record)
Declared at: clang/lib/Serialization/ASTWriterStmt.cpp:40
Parameters
- clang::ASTWriter& Writer
- ASTWriter::RecordData& Record
¶ASTStmtWriter(const clang::ASTStmtWriter&)
ASTStmtWriter(const clang::ASTStmtWriter&)
Declared at: clang/lib/Serialization/ASTWriterStmt.cpp:44
Parameters
- const clang::ASTStmtWriter&
¶void AddTemplateKWAndArgsInfo(
const clang::ASTTemplateKWAndArgsInfo&
ArgInfo,
const clang::TemplateArgumentLoc* Args)
void AddTemplateKWAndArgsInfo(
const clang::ASTTemplateKWAndArgsInfo&
ArgInfo,
const clang::TemplateArgumentLoc* Args)
Declared at: clang/lib/Serialization/ASTWriterStmt.cpp:52
Parameters
- const clang::ASTTemplateKWAndArgsInfo& ArgInfo
- const clang::TemplateArgumentLoc* Args
¶uint64_t Emit()
uint64_t Emit()
Declared at: clang/lib/Serialization/ASTWriterStmt.cpp:46
¶void VisitStmt(clang::Stmt* S)
void VisitStmt(clang::Stmt* S)
Declared at: clang/lib/Serialization/ASTWriterStmt.cpp:55
Parameters
- clang::Stmt* S