clang  11.0.0git
Classes | Namespaces | Macros | Functions
ASTWriterStmt.cpp File Reference

Implements serialization for Statements and Expressions. More...

#include "clang/AST/ExprOpenMP.h"
#include "clang/Serialization/ASTRecordWriter.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/Lex/Token.h"
#include "llvm/Bitstream/BitstreamWriter.h"
#include "clang/AST/StmtNodes.inc"
Include dependency graph for ASTWriterStmt.cpp:

Go to the source code of this file.

Classes

class  clang::ASTStmtWriter
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

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 56 of file ASTWriterStmt.cpp.

Function Documentation

◆ addConstraintSatisfaction()

static void addConstraintSatisfaction ( ASTRecordWriter Record,
const ASTConstraintSatisfaction Satisfaction 
)
static

◆ addSubstitutionDiagnostic()

static void addSubstitutionDiagnostic ( ASTRecordWriter Record,
const concepts::Requirement::SubstitutionDiagnostic D 
)
static

Definition at line 415 of file ASTWriterStmt.cpp.

References clang::ASTRecordWriter::AddAPFloat(), clang::ASTRecordWriter::AddAPInt(), clang::ASTRecordWriter::AddAPValue(), clang::ASTRecordWriter::AddASTTemplateArgumentListInfo(), addConstraintSatisfaction(), clang::ASTRecordWriter::AddCXXBaseSpecifier(), clang::ASTRecordWriter::AddDeclarationNameInfo(), clang::ASTRecordWriter::AddDeclarationNameLoc(), clang::ASTRecordWriter::AddDeclRef(), clang::ASTRecordWriter::AddIdentifierRef(), clang::ASTRecordWriter::AddNestedNameSpecifierLoc(), clang::ASTRecordWriter::AddSourceLocation(), clang::ASTRecordWriter::AddSourceRange(), clang::ASTRecordWriter::AddStmt(), clang::ASTRecordWriter::AddString(), clang::ASTRecordWriter::AddTemplateArgument(), clang::ASTStmtWriter::AddTemplateKWAndArgsInfo(), clang::ASTRecordWriter::AddTemplateParameterList(), clang::ASTRecordWriter::AddTypeRef(), clang::ASTRecordWriter::AddTypeSourceInfo(), clang::CallExpr::arg_begin(), clang::CallExpr::arg_end(), clang::OffsetOfNode::Array, clang::OffsetOfNode::Base, clang::OMPIteratorExpr::IteratorRange::Begin, clang::UnaryOperator::canOverflow(), clang::CapturedStmt::capture_begin(), clang::CapturedStmt::capture_end(), clang::CapturedStmt::capture_inits(), clang::CapturedStmt::captures(), clang::RecoveryExpr::children(), clang::Stmt::ConstantExprBits, clang::Expr::containsErrors(), clang::Expr::containsUnexpandedParameterPack(), clang::OMPIteratorHelperData::CounterUpdate, clang::OMPIteratorHelperData::CounterVD, clang::concepts::Requirement::SubstitutionDiagnostic::DiagLoc, clang::concepts::Requirement::SubstitutionDiagnostic::DiagMessage, distance(), End, clang::OMPIteratorExpr::IteratorRange::End, clang::serialization::EXPR_ARRAY_SUBSCRIPT, clang::serialization::EXPR_CALL, clang::serialization::EXPR_CHARACTER_LITERAL, clang::serialization::EXPR_CONCEPT_SPECIALIZATION, clang::serialization::EXPR_CONSTANT, clang::serialization::EXPR_DECL_REF, clang::serialization::EXPR_FIXEDPOINT_LITERAL, clang::serialization::EXPR_FLOATING_LITERAL, clang::serialization::EXPR_IMAGINARY_LITERAL, clang::serialization::EXPR_INTEGER_LITERAL, clang::serialization::EXPR_OFFSETOF, clang::serialization::EXPR_OMP_ARRAY_SECTION, clang::serialization::EXPR_OMP_ARRAY_SHAPING, clang::serialization::EXPR_OMP_ITERATOR, clang::serialization::EXPR_PAREN, clang::serialization::EXPR_PAREN_LIST, clang::serialization::EXPR_PREDEFINED, clang::serialization::EXPR_RECOVERY, clang::serialization::EXPR_REQUIRES, clang::serialization::EXPR_SIZEOF_ALIGN_OF, clang::serialization::EXPR_STRING_LITERAL, clang::serialization::EXPR_UNARY_OPERATOR, clang::ParenListExpr::exprs(), clang::OffsetOfNode::Field, clang::DeclAccessPair::getAccess(), clang::Decl::getAccess(), clang::CallExpr::getADLCallKind(), clang::UnaryExprOrTypeTraitExpr::getArgumentExpr(), clang::UnaryExprOrTypeTraitExpr::getArgumentTypeInfo(), clang::OffsetOfNode::getArrayExprIndex(), clang::FPOptionsOverride::getAsOpaqueInt(), clang::OMPIteratorExpr::getAssignLoc(), clang::OMPArraySectionExpr::getBase(), clang::OMPArrayShapingExpr::getBase(), clang::OffsetOfNode::getBase(), clang::MatrixSubscriptExpr::getBase(), clang::MemberExpr::getBase(), clang::SourceRange::getBegin(), clang::RecoveryExpr::getBeginLoc(), clang::RequiresExpr::getBody(), clang::OMPArrayShapingExpr::getBracketsRanges(), clang::StringLiteral::getByteLength(), clang::StringLiteral::getBytes(), clang::CallExpr::getCallee(), clang::CapturedStmt::getCapturedDecl(), clang::CapturedStmt::getCapturedRecordDecl(), clang::CapturedStmt::getCapturedRegionKind(), clang::CapturedStmt::getCapturedStmt(), clang::ASTWriter::getCharacterLiteralAbbrev(), clang::StringLiteral::getCharByteWidth(), clang::OMPArraySectionExpr::getColonLoc(), clang::OMPIteratorExpr::getColonLoc(), clang::MatrixSubscriptExpr::getColumnIdx(), clang::OffsetOfExpr::getComponent(), clang::ConceptReference::getConceptNameInfo(), clang::DeclAccessPair::getDecl(), clang::DeclRefExpr::getDecl(), clang::NamedDecl::getDeclName(), clang::ASTWriter::getDeclRefExprAbbrev(), clang::OMPArrayShapingExpr::getDimensions(), clang::SourceRange::getEnd(), clang::RequiresExpr::getEndLoc(), clang::RecoveryExpr::getEndLoc(), clang::OffsetOfNode::getField(), clang::OffsetOfNode::getFieldName(), clang::ConceptReference::getFoundDecl(), clang::DeclRefExpr::getFoundDecl(), clang::MemberExpr::getFoundDecl(), clang::PredefinedExpr::getFunctionName(), clang::OMPIteratorExpr::getHelper(), clang::PredefinedExpr::getIdentKind(), clang::OffsetOfExpr::getIndexExpr(), clang::ASTWriter::getIntegerLiteralAbbrev(), clang::OMPIteratorExpr::getIteratorDecl(), clang::OMPIteratorExpr::getIteratorKwLoc(), clang::OMPIteratorExpr::getIteratorRange(), clang::CharacterLiteral::getKind(), clang::StringLiteral::getKind(), clang::OffsetOfNode::getKind(), clang::UnaryExprOrTypeTraitExpr::getKind(), clang::OMPArraySectionExpr::getLength(), clang::StringLiteral::getLength(), clang::ArraySubscriptExpr::getLHS(), clang::RequiresExpr::getLocalParameters(), clang::DeclRefExpr::getLocation(), clang::IntegerLiteral::getLocation(), clang::FixedPointLiteral::getLocation(), clang::CharacterLiteral::getLocation(), clang::FloatingLiteral::getLocation(), clang::PredefinedExpr::getLocation(), clang::OMPArraySectionExpr::getLowerBound(), clang::ParenExpr::getLParen(), clang::OMPArrayShapingExpr::getLParenLoc(), clang::OMPIteratorExpr::getLParenLoc(), clang::ParenListExpr::getLParenLoc(), clang::MemberExpr::getMemberDecl(), clang::MemberExpr::getMemberLoc(), clang::ConceptReference::getNamedConcept(), clang::DeclarationName::getNameKind(), clang::ConceptReference::getNestedNameSpecifierLoc(), clang::CallExpr::getNumArgs(), clang::OffsetOfExpr::getNumComponents(), clang::StringLiteral::getNumConcatenated(), clang::OffsetOfExpr::getNumExpressions(), clang::ParenListExpr::getNumExprs(), clang::DeclRefExpr::getNumTemplateArgs(), clang::MemberExpr::getNumTemplateArgs(), clang::Expr::getObjectKind(), clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOperatorLoc(), clang::OffsetOfExpr::getOperatorLoc(), clang::UnaryExprOrTypeTraitExpr::getOperatorLoc(), clang::MemberExpr::getOperatorLoc(), clang::DeclRefExpr::getQualifierLoc(), clang::FloatingLiteral::getRawSemantics(), clang::OMPArraySectionExpr::getRBracketLoc(), clang::ArraySubscriptExpr::getRBracketLoc(), clang::MatrixSubscriptExpr::getRBracketLoc(), clang::RequiresExpr::getRequirements(), clang::ArraySubscriptExpr::getRHS(), clang::MatrixSubscriptExpr::getRowIdx(), clang::ParenExpr::getRParen(), clang::OMPArrayShapingExpr::getRParenLoc(), clang::OMPIteratorExpr::getRParenLoc(), clang::OffsetOfExpr::getRParenLoc(), clang::UnaryExprOrTypeTraitExpr::getRParenLoc(), clang::CallExpr::getRParenLoc(), clang::ParenListExpr::getRParenLoc(), clang::ConceptSpecializationExpr::getSatisfaction(), clang::FixedPointLiteral::getScale(), clang::OMPIteratorExpr::getSecondColonLoc(), clang::OffsetOfNode::getSourceRange(), clang::UnaryOperator::getStoredFPFeatures(), clang::StringLiteral::getStrTokenLoc(), clang::FullExpr::getSubExpr(), clang::ImaginaryLiteral::getSubExpr(), clang::ParenExpr::getSubExpr(), clang::UnaryOperator::getSubExpr(), clang::ConceptReference::getTemplateArgsAsWritten(), clang::ConceptSpecializationExpr::getTemplateArguments(), clang::ConceptReference::getTemplateKWLoc(), clang::Expr::getType(), clang::OffsetOfExpr::getTypeSourceInfo(), clang::APIntStorage::getValue(), clang::CharacterLiteral::getValue(), clang::FloatingLiteral::getValue(), clang::Expr::getValueKind(), clang::DeclRefExpr::hadMultipleCandidates(), clang::MemberExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasQualifier(), clang::MemberExpr::hasQualifier(), clang::UnaryOperator::hasStoredFPFeatures(), clang::DeclRefExpr::hasTemplateKWAndArgsInfo(), clang::DeclarationName::Identifier, clang::OffsetOfNode::Identifier, clang::UnaryExprOrTypeTraitExpr::isArgumentType(), clang::MemberExpr::isArrow(), clang::FloatingLiteral::isExact(), clang::Expr::isInstantiationDependent(), clang::DeclRefExpr::isNonOdrUse(), clang::MemberExpr::isNonOdrUse(), clang::StringLiteral::isPascal(), clang::Expr::isTypeDependent(), clang::Expr::isValueDependent(), clang::OMPIteratorExpr::numOfIterators(), clang::StmtVisitorBase< std::add_pointer, ASTStmtWriter, void, ParamTys... >::P, clang::ASTRecordWriter::push_back(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), clang::Stmt::RequiresExprBits, clang::concepts::Requirement::RK_Compound, clang::concepts::Requirement::RK_Nested, clang::concepts::Requirement::RK_Type, clang::ConstantExpr::RSK_APValue, clang::ConstantExpr::RSK_Int64, clang::ConstantExpr::RSK_None, clang::concepts::ExprRequirement::SS_ConstraintsNotSatisfied, clang::concepts::TypeRequirement::SS_SubstitutionFailure, clang::OMPIteratorExpr::IteratorRange::Step, clang::serialization::STMT_CAPTURED, clang::concepts::Requirement::SubstitutionDiagnostic::SubstitutedEntity, clang::OMPIteratorHelperData::Update, clang::OMPIteratorHelperData::Upper, and clang::ASTStmtWriter::VisitStmt().