clang: lib/Serialization/ASTWriterStmt.cpp File Reference (original) (raw)
Implements serialization for Statements and Expressions. More...
#include "[clang/AST/ASTConcept.h](ASTConcept%5F8h%5Fsource.html)"
#include "[clang/AST/ASTContext.h](ASTContext%5F8h%5Fsource.html)"
#include "[clang/AST/DeclCXX.h](DeclCXX%5F8h%5Fsource.html)"
#include "[clang/AST/DeclObjC.h](DeclObjC%5F8h%5Fsource.html)"
#include "[clang/AST/DeclTemplate.h](DeclTemplate%5F8h%5Fsource.html)"
#include "[clang/AST/ExprOpenMP.h](ExprOpenMP%5F8h%5Fsource.html)"
#include "[clang/AST/StmtVisitor.h](StmtVisitor%5F8h%5Fsource.html)"
#include "[clang/Lex/Token.h](Token%5F8h%5Fsource.html)"
#include "[clang/Serialization/ASTReader.h](ASTReader%5F8h%5Fsource.html)"
#include "[clang/Serialization/ASTRecordWriter.h](ASTRecordWriter%5F8h%5Fsource.html)"
#include "llvm/Bitstream/BitstreamWriter.h"
#include "clang/AST/StmtNodes.inc"
Go to the source code of this file.
Classes | |
---|---|
class | clang::ASTStmtWriter |
Namespaces | |
---|---|
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
Macros | |
---|---|
#define | STMT(Type, Base) void Visit##Type(Type *); |
Functions | |
---|---|
static void | addConstraintSatisfaction (ASTRecordWriter &Record, const ASTConstraintSatisfaction &Satisfaction) |
static void | addSubstitutionDiagnostic (ASTRecordWriter &Record, const concepts::Requirement::SubstitutionDiagnostic *D) |
Detailed Description
Implements serialization for Statements and Expressions.
Definition in file ASTWriterStmt.cpp.
Macro Definition Documentation
◆ STMT
| #define STMT | ( | | Type, | | ------------------------- | ---------------------------------------------------------------------------------------- | | ------------------------------------ | | | Base | | | | | ) | void Visit##Type(Type *); | | |
Definition at line 114 of file ASTWriterStmt.cpp.
Function Documentation
◆ addConstraintSatisfaction()
static void addConstraintSatisfaction ( ASTRecordWriter & Record, const ASTConstraintSatisfaction & Satisfaction ) | static |
---|
Definition at line 471 of file ASTWriterStmt.cpp.
References clang::StreamingDiagnostic::AddString(), clang::ASTConstraintSatisfaction::ContainsErrors, Diag(), E, clang::ASTConstraintSatisfaction::IsSatisfied, and clang::ASTConstraintSatisfaction::NumRecords.
◆ addSubstitutionDiagnostic()
static void addSubstitutionDiagnostic ( ASTRecordWriter & Record, const concepts::Requirement::SubstitutionDiagnostic * D ) | static |
---|
Definition at line 492 of file ASTWriterStmt.cpp.
References D.