clang
10.0.0git
|
An object for streaming information to a record. More...
#include "clang/Serialization/ASTRecordWriter.h"
Public Member Functions | |
ASTRecordWriter (ASTWriter &Writer, ASTWriter::RecordDataImpl &Record) | |
Construct a ASTRecordWriter that uses the default encoding scheme. More... | |
ASTRecordWriter (ASTRecordWriter &Parent, ASTWriter::RecordDataImpl &Record) | |
Construct a ASTRecordWriter that uses the same encoding scheme as another ASTRecordWriter. More... | |
ASTRecordWriter (const ASTRecordWriter &)=delete | |
Copying an ASTRecordWriter is almost certainly a bug. More... | |
ASTRecordWriter & | operator= (const ASTRecordWriter &)=delete |
ASTWriter::RecordDataImpl & | getRecordData () const |
Extract the underlying record storage. More... | |
uint64_t | Emit (unsigned Code, unsigned Abbrev=0) |
Emit the record to the stream, followed by its substatements, and return its offset. More... | |
uint64_t | EmitStmt (unsigned Code, unsigned Abbrev=0) |
Emit the record to the stream, preceded by its substatements. More... | |
void | AddOffset (uint64_t BitOffset) |
Add a bit offset into the record. More... | |
void | AddStmt (Stmt *S) |
Add the given statement or expression to the queue of statements to emit. More... | |
void | writeStmtRef (const Stmt *S) |
void | AddFunctionDefinition (const FunctionDecl *FD) |
Add a definition for the given function to the queue of statements to emit. More... | |
void | AddSourceLocation (SourceLocation Loc) |
Emit a source location. More... | |
void | writeSourceLocation (SourceLocation Loc) |
void | AddSourceRange (SourceRange Range) |
Emit a source range. More... | |
void | writeBool (bool Value) |
void | writeUInt32 (uint32_t Value) |
void | writeUInt64 (uint64_t Value) |
void | AddAPInt (const llvm::APInt &Value) |
Emit an integral value. More... | |
void | AddAPSInt (const llvm::APSInt &Value) |
Emit a signed integral value. More... | |
void | AddAPFloat (const llvm::APFloat &Value) |
Emit a floating-point value. More... | |
void | AddAPValue (const APValue &Value) |
Emit an APvalue. More... | |
void | AddIdentifierRef (const IdentifierInfo *II) |
Emit a reference to an identifier. More... | |
void | writeIdentifier (const IdentifierInfo *II) |
void | AddSelectorRef (Selector S) |
Emit a Selector (which is a smart pointer reference). More... | |
void | writeSelector (Selector sel) |
void | AddCXXTemporary (const CXXTemporary *Temp) |
Emit a CXXTemporary. More... | |
void | AddCXXBaseSpecifier (const CXXBaseSpecifier &Base) |
Emit a C++ base specifier. More... | |
void | AddCXXBaseSpecifiers (ArrayRef< CXXBaseSpecifier > Bases) |
Emit a set of C++ base specifiers. More... | |
void | AddTypeRef (QualType T) |
Emit a reference to a type. More... | |
void | writeQualType (QualType T) |
void | AddTypeSourceInfo (TypeSourceInfo *TInfo) |
Emits a reference to a declarator info. More... | |
void | AddTypeLoc (TypeLoc TL) |
Emits source location information for a type. Does not emit the type. More... | |
void | AddTemplateArgumentLocInfo (TemplateArgument::ArgKind Kind, const TemplateArgumentLocInfo &Arg) |
Emits a template argument location info. More... | |
void | AddTemplateArgumentLoc (const TemplateArgumentLoc &Arg) |
Emits a template argument location. More... | |
void | AddASTTemplateArgumentListInfo (const ASTTemplateArgumentListInfo *ASTTemplArgList) |
Emits an AST template argument list info. More... | |
void | AddDeclRef (const Decl *D) |
Emit a reference to a declaration. More... | |
void | writeDeclRef (const Decl *D) |
void | AddDeclarationName (DeclarationName Name) |
Emit a declaration name. More... | |
void | AddDeclarationNameLoc (const DeclarationNameLoc &DNLoc, DeclarationName Name) |
void | AddDeclarationNameInfo (const DeclarationNameInfo &NameInfo) |
void | AddQualifierInfo (const QualifierInfo &Info) |
void | AddNestedNameSpecifier (NestedNameSpecifier *NNS) |
Emit a nested name specifier. More... | |
void | AddNestedNameSpecifierLoc (NestedNameSpecifierLoc NNS) |
Emit a nested name specifier with source-location information. More... | |
void | AddTemplateName (TemplateName Name) |
Emit a template name. More... | |
void | AddTemplateArgument (const TemplateArgument &Arg) |
Emit a template argument. More... | |
void | AddTemplateParameterList (const TemplateParameterList *TemplateParams) |
Emit a template parameter list. More... | |
void | AddTemplateArgumentList (const TemplateArgumentList *TemplateArgs) |
Emit a template argument list. More... | |
void | AddUnresolvedSet (const ASTUnresolvedSet &Set) |
Emit a UnresolvedSet structure. More... | |
void | AddCXXCtorInitializers (ArrayRef< CXXCtorInitializer *> CtorInits) |
Emit a CXXCtorInitializer array. More... | |
void | AddCXXDefinitionData (const CXXRecordDecl *D) |
void | writeOMPClause (OMPClause *C) |
void | AddString (StringRef Str) |
Emit a string. More... | |
void | AddPath (StringRef Path) |
Emit a path. More... | |
void | AddVersionTuple (const VersionTuple &Version) |
Emit a version tuple. More... | |
void | AddAttr (const Attr *A) |
void | AddAttributes (ArrayRef< const Attr *> Attrs) |
Emit a list of attributes. More... | |
void | push_back (uint64_t N) |
Minimal vector-like interface. More... | |
template<typename InputIterator > | |
void | append (InputIterator begin, InputIterator end) |
bool | empty () const |
size_t | size () const |
uint64_t & | operator[] (size_t N) |
![]() | |
ASTRecordWriter & | find (const char *propertyName) |
Implement property-find by ignoring it. More... | |
ASTRecordWriter & | writeObject () |
void | writeEnum (T value) |
void | writeArray (llvm::ArrayRef< T > array) |
void | writeOptional (llvm::Optional< T > value) |
void | writeAPSInt (const llvm::APSInt &value) |
void | writeAPInt (const llvm::APInt &value) |
void | writeQualifiers (Qualifiers value) |
void | writeExceptionSpecInfo (const FunctionProtoType::ExceptionSpecInfo &esi) |
void | writeExtParameterInfo (FunctionProtoType::ExtParameterInfo epi) |
void | writeNestedNameSpecifier (NestedNameSpecifier *NNS) |
An object for streaming information to a record.
Definition at line 26 of file ASTRecordWriter.h.
|
inline |
Construct a ASTRecordWriter that uses the default encoding scheme.
Definition at line 58 of file ASTRecordWriter.h.
Referenced by ASTRecordWriter().
|
inline |
Construct a ASTRecordWriter that uses the same encoding scheme as another ASTRecordWriter.
Definition at line 63 of file ASTRecordWriter.h.
References ASTRecordWriter(), and operator=().
|
delete |
Copying an ASTRecordWriter is almost certainly a bug.
void ASTRecordWriter::AddAPFloat | ( | const llvm::APFloat & | Value | ) |
Emit a floating-point value.
Definition at line 5035 of file ASTWriter.cpp.
Referenced by AddAPSInt(), and addSubstitutionDiagnostic().
|
inline |
Emit an integral value.
Definition at line 155 of file ASTRecordWriter.h.
References clang::serialization::DataStreamBasicWriter< ASTRecordWriter >::writeAPInt().
Referenced by addSubstitutionDiagnostic().
|
inline |
Emit a signed integral value.
Definition at line 160 of file ASTRecordWriter.h.
References AddAPFloat(), AddAPValue(), and clang::serialization::DataStreamBasicWriter< ASTRecordWriter >::writeAPSInt().
void ASTRecordWriter::AddAPValue | ( | const APValue & | Value | ) |
Emit an APvalue.
Definition at line 5047 of file ASTWriter.cpp.
References clang::APValue::AddrLabelDiff, clang::APValue::Array, clang::APValue::ComplexFloat, clang::APValue::ComplexInt, clang::APValue::FixedPoint, clang::APValue::Float, clang::APValue::getComplexFloatImag(), clang::APValue::getComplexFloatReal(), clang::APValue::getComplexIntImag(), clang::APValue::getComplexIntReal(), clang::APValue::getFixedPoint(), clang::APValue::getFloat(), clang::APValue::getInt(), clang::APValue::getKind(), clang::APFixedPoint::getSemantics(), clang::APFixedPoint::getValue(), clang::APValue::Indeterminate, clang::APValue::Int, clang::APValue::LValue, clang::APValue::MemberPointer, clang::APValue::None, clang::APValue::Struct, clang::APValue::Union, clang::APValue::Vector, and WriteFixedPointSemantics().
Referenced by AddAPSInt(), and addSubstitutionDiagnostic().
void ASTRecordWriter::AddASTTemplateArgumentListInfo | ( | const ASTTemplateArgumentListInfo * | ASTTemplArgList | ) |
Emits an AST template argument list info.
Definition at line 5499 of file ASTWriter.cpp.
References clang::ASTWriter::AddSourceLocation(), clang::ASTTemplateArgumentListInfo::getTemplateArgs(), clang::ASTTemplateArgumentListInfo::LAngleLoc, clang::ASTTemplateArgumentListInfo::NumTemplateArgs, and clang::ASTTemplateArgumentListInfo::RAngleLoc.
Referenced by addSubstitutionDiagnostic(), and writeQualType().
void ASTRecordWriter::AddAttr | ( | const Attr * | A | ) |
Definition at line 4156 of file ASTWriter.cpp.
References clang::AttributeCommonInfo::getAttrName(), clang::Attr::getKind(), clang::AttributeCommonInfo::getParsedKind(), clang::AttributeCommonInfo::getRange(), clang::AttributeCommonInfo::getScopeLoc(), clang::AttributeCommonInfo::getScopeName(), and clang::AttributeCommonInfo::getSyntax().
Referenced by AddVersionTuple().
Emit a list of attributes.
Emit the list of attributes to the specified record.
Definition at line 4174 of file ASTWriter.cpp.
Referenced by AddVersionTuple().
void ASTRecordWriter::AddCXXBaseSpecifier | ( | const CXXBaseSpecifier & | Base | ) |
Emit a C++ base specifier.
Definition at line 5520 of file ASTWriter.cpp.
References clang::ASTWriter::AddSourceLocation(), clang::ASTWriter::AddSourceRange(), clang::CXXBaseSpecifier::getAccessSpecifierAsWritten(), clang::CXXBaseSpecifier::getEllipsisLoc(), clang::CXXBaseSpecifier::getInheritConstructors(), clang::CXXBaseSpecifier::getSourceRange(), clang::CXXBaseSpecifier::getTypeSourceInfo(), clang::CXXBaseSpecifier::isBaseOfClass(), clang::CXXBaseSpecifier::isPackExpansion(), and clang::CXXBaseSpecifier::isVirtual().
Referenced by addSubstitutionDiagnostic(), EmitCXXBaseSpecifiers(), and writeSelector().
void ASTRecordWriter::AddCXXBaseSpecifiers | ( | ArrayRef< CXXBaseSpecifier > | Bases | ) |
Emit a set of C++ base specifiers.
Definition at line 5544 of file ASTWriter.cpp.
References clang::interp::AddOffset(), and EmitCXXBaseSpecifiers().
Referenced by writeSelector().
void ASTRecordWriter::AddCXXCtorInitializers | ( | ArrayRef< CXXCtorInitializer *> | CtorInits | ) |
Emit a CXXCtorInitializer array.
Definition at line 5584 of file ASTWriter.cpp.
References clang::interp::AddOffset(), and EmitCXXCtorInitializers().
Referenced by AddTemplateArgument().
void ASTRecordWriter::AddCXXDefinitionData | ( | const CXXRecordDecl * | D | ) |
Definition at line 5589 of file ASTWriter.cpp.
References clang::ASTWriter::AddDeclRef(), clang::ASTWriter::AddSourceLocation(), clang::LambdaCapture::capturesVariable(), clang::LambdaCapture::getCapturedVar(), clang::LambdaCapture::getCaptureKind(), clang::LambdaCapture::getEllipsisLoc(), clang::serialization::TypeIdx::getIndex(), clang::CXXRecordDecl::getLambdaContextDecl(), clang::LambdaCapture::getLocation(), clang::CXXRecordDecl::getODRHash(), clang::TagDecl::isDependentType(), clang::LambdaCapture::isImplicit(), clang::LambdaCapture::isPackExpansion(), clang::LCK_ByCopy, clang::LCK_ByRef, clang::LCK_StarThis, clang::LCK_This, clang::LCK_VLAType, clang::serialization::NUM_PREDEF_DECL_IDS, clang::serialization::NUM_PREDEF_IDENT_IDS, clang::serialization::NUM_PREDEF_MACRO_IDS, clang::serialization::NUM_PREDEF_SELECTOR_IDS, clang::serialization::NUM_PREDEF_SUBMODULE_IDS, and clang::serialization::NUM_PREDEF_TYPE_IDS.
Referenced by AddTemplateArgument().
void ASTRecordWriter::AddCXXTemporary | ( | const CXXTemporary * | Temp | ) |
Emit a CXXTemporary.
Definition at line 5159 of file ASTWriter.cpp.
References clang::ASTWriter::AddDeclRef(), and clang::CXXTemporary::getDestructor().
Referenced by writeSelector().
|
inline |
Emit a declaration name.
Definition at line 227 of file ASTRecordWriter.h.
void ASTRecordWriter::AddDeclarationNameInfo | ( | const DeclarationNameInfo & | NameInfo | ) |
Definition at line 5404 of file ASTWriter.cpp.
References clang::ASTWriter::AddSourceLocation(), clang::DeclarationNameInfo::getInfo(), clang::DeclarationNameInfo::getLoc(), and clang::DeclarationNameInfo::getName().
Referenced by addSubstitutionDiagnostic().
void ASTRecordWriter::AddDeclarationNameLoc | ( | const DeclarationNameLoc & | DNLoc, |
DeclarationName | Name | ||
) |
Definition at line 5373 of file ASTWriter.cpp.
Referenced by addSubstitutionDiagnostic().
|
inline |
Emit a reference to a declaration.
Definition at line 219 of file ASTRecordWriter.h.
References clang::ASTWriter::AddDeclRef().
Referenced by clang::ASTDeclWriter::AddFirstDeclFromEachModule(), clang::ASTDeclWriter::AddObjCTypeParamList(), addSubstitutionDiagnostic(), EmitCXXCtorInitializers(), clang::ASTDeclWriter::VisitRedeclarable(), and writeDeclRef().
void ASTRecordWriter::AddFunctionDefinition | ( | const FunctionDecl * | FD | ) |
Add a definition for the given function to the queue of statements to emit.
Definition at line 2446 of file ASTWriterDecl.cpp.
References clang::FunctionDecl::doesThisDeclarationHaveABody(), clang::FunctionDecl::getBody(), clang::GVA_AvailableExternally, clang::GVA_Internal, clang::GVA_StrongExternal, clang::Decl::hasAttr(), clang::DeclContext::isDependentContext(), and clang::Module::ModuleInterfaceUnit.
|
inline |
Emit a reference to an identifier.
Definition at line 171 of file ASTRecordWriter.h.
References clang::ASTWriter::AddIdentifierRef().
Referenced by addSubstitutionDiagnostic(), and writeIdentifier().
|
inline |
Emit a nested name specifier.
Definition at line 238 of file ASTRecordWriter.h.
References AddNestedNameSpecifierLoc(), and clang::serialization::DataStreamBasicWriter< ASTRecordWriter >::writeNestedNameSpecifier().
void ASTRecordWriter::AddNestedNameSpecifierLoc | ( | NestedNameSpecifierLoc | NNS | ) |
Emit a nested name specifier with source-location information.
Definition at line 5418 of file ASTWriter.cpp.
References clang::ASTWriter::AddDeclRef(), clang::ASTWriter::AddIdentifierRef(), clang::ASTWriter::AddSourceLocation(), clang::ASTWriter::AddSourceRange(), clang::ASTWriter::AddTypeRef(), clang::NestedNameSpecifier::getAsIdentifier(), clang::NestedNameSpecifier::getAsNamespace(), clang::NestedNameSpecifier::getAsNamespaceAlias(), clang::NestedNameSpecifier::getAsRecordDecl(), clang::SourceRange::getEnd(), clang::NestedNameSpecifier::getKind(), clang::NestedNameSpecifierLoc::getLocalSourceRange(), clang::NestedNameSpecifierLoc::getNestedNameSpecifier(), clang::NestedNameSpecifierLoc::getPrefix(), clang::TypeLoc::getType(), clang::NestedNameSpecifierLoc::getTypeLoc(), clang::NestedNameSpecifier::Global, clang::NestedNameSpecifier::Identifier, clang::NestedNameSpecifier::Namespace, clang::NestedNameSpecifier::NamespaceAlias, clang::NestedNameSpecifier::Super, clang::NestedNameSpecifier::TypeSpec, and clang::NestedNameSpecifier::TypeSpecWithTemplate.
Referenced by AddNestedNameSpecifier(), and addSubstitutionDiagnostic().
|
inline |
Add a bit offset into the record.
This will be converted into an offset relative to the current record when emitted.
Definition at line 106 of file ASTRecordWriter.h.
|
inline |
Emit a path.
Definition at line 277 of file ASTRecordWriter.h.
References clang::ASTWriter::AddPath().
void ASTRecordWriter::AddQualifierInfo | ( | const QualifierInfo & | Info | ) |
Definition at line 5411 of file ASTWriter.cpp.
References clang::QualifierInfo::NumTemplParamLists, clang::QualifierInfo::QualifierLoc, and clang::QualifierInfo::TemplParamLists.
void ASTRecordWriter::AddSelectorRef | ( | Selector | S | ) |
Emit a Selector (which is a smart pointer reference).
Definition at line 5136 of file ASTWriter.cpp.
Referenced by writeIdentifier(), and writeSelector().
|
inline |
Emit a source location.
Definition at line 130 of file ASTRecordWriter.h.
References clang::ASTWriter::AddSourceLocation().
Referenced by addConstraintSatisfaction(), clang::ASTDeclWriter::AddObjCTypeParamList(), addSubstitutionDiagnostic(), clang::ASTStmtWriter::AddTemplateKWAndArgsInfo(), EmitCXXCtorInitializers(), and writeSourceLocation().
|
inline |
Emit a source range.
Definition at line 138 of file ASTRecordWriter.h.
References clang::ASTWriter::AddSourceRange().
|
inline |
Add the given statement or expression to the queue of statements to emit.
This routine should be used when emitting types and declarations that have expressions as part of their formulation. Once the type or declaration has been written, Emit() will write the corresponding statements just after the record.
Definition at line 118 of file ASTRecordWriter.h.
Referenced by addConstraintSatisfaction(), addExplicitSpecifier(), addSubstitutionDiagnostic(), and EmitCXXCtorInitializers().
|
inline |
Emit a string.
Definition at line 272 of file ASTRecordWriter.h.
References clang::ASTWriter::AddString().
Referenced by addConstraintSatisfaction(), and addSubstitutionDiagnostic().
|
inline |
Emit a template argument.
Definition at line 251 of file ASTRecordWriter.h.
References AddCXXCtorInitializers(), AddCXXDefinitionData(), AddTemplateArgumentList(), AddTemplateParameterList(), AddUnresolvedSet(), clang::C, and writeOMPClause().
Referenced by addSubstitutionDiagnostic().
void ASTRecordWriter::AddTemplateArgumentList | ( | const TemplateArgumentList * | TemplateArgs | ) |
Emit a template argument list.
Definition at line 5491 of file ASTWriter.cpp.
References clang::TemplateArgumentList::get(), and clang::TemplateArgumentList::size().
Referenced by AddTemplateArgument().
void ASTRecordWriter::AddTemplateArgumentLoc | ( | const TemplateArgumentLoc & | Arg | ) |
Emits a template argument location.
Definition at line 5191 of file ASTWriter.cpp.
References clang::TemplateArgument::Expression, clang::TemplateArgumentLoc::getArgument(), clang::TemplateArgument::getAsExpr(), clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgument::getKind(), and clang::TemplateArgumentLoc::getLocInfo().
Referenced by clang::ASTStmtWriter::AddTemplateKWAndArgsInfo(), and writeQualType().
void ASTRecordWriter::AddTemplateArgumentLocInfo | ( | TemplateArgument::ArgKind | Kind, |
const TemplateArgumentLocInfo & | Arg | ||
) |
Emits a template argument location info.
Definition at line 5163 of file ASTWriter.cpp.
References clang::ASTWriter::AddSourceLocation(), clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgumentLocInfo::getTemplateQualifierLoc(), clang::TemplateArgument::Integral, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.
Referenced by writeQualType().
|
inline |
Emit a template name.
Definition at line 246 of file ASTRecordWriter.h.
void ASTRecordWriter::AddTemplateParameterList | ( | const TemplateParameterList * | TemplateParams | ) |
Emit a template parameter list.
Definition at line 5472 of file ASTWriter.cpp.
References clang::ASTWriter::AddDeclRef(), clang::ASTWriter::AddSourceLocation(), clang::TemplateParameterList::getLAngleLoc(), clang::TemplateParameterList::getRAngleLoc(), clang::TemplateParameterList::getTemplateLoc(), P, and clang::TemplateParameterList::size().
Referenced by addSubstitutionDiagnostic(), and AddTemplateArgument().
void ASTRecordWriter::AddTypeLoc | ( | TypeLoc | TL | ) |
Emits source location information for a type. Does not emit the type.
Definition at line 5214 of file ASTWriter.cpp.
References clang::TypeLoc::getNextTypeLoc(), and clang::TypeLoc::isNull().
Referenced by writeQualType().
|
inline |
Emit a reference to a type.
Definition at line 194 of file ASTRecordWriter.h.
References clang::ASTWriter::AddTypeRef().
Referenced by addSubstitutionDiagnostic(), and writeQualType().
void ASTRecordWriter::AddTypeSourceInfo | ( | TypeSourceInfo * | TInfo | ) |
Emits a reference to a declarator info.
Definition at line 5204 of file ASTWriter.cpp.
References clang::ASTWriter::AddTypeRef(), clang::TypeSourceInfo::getType(), and clang::TypeSourceInfo::getTypeLoc().
Referenced by addSubstitutionDiagnostic(), EmitCXXCtorInitializers(), and writeQualType().
void ASTRecordWriter::AddUnresolvedSet | ( | const ASTUnresolvedSet & | Set | ) |
Emit a UnresolvedSet structure.
Definition at line 5510 of file ASTWriter.cpp.
References clang::ASTWriter::AddDeclRef(), clang::ASTUnresolvedSet::begin(), clang::ASTUnresolvedSet::end(), and clang::ASTUnresolvedSet::size().
Referenced by AddTemplateArgument().
|
inline |
Emit a version tuple.
Definition at line 282 of file ASTRecordWriter.h.
References AddAttr(), AddAttributes(), and clang::ASTWriter::AddVersionTuple().
|
inline |
Definition at line 77 of file ASTRecordWriter.h.
Referenced by clang::ASTDeclWriter::AddTemplateSpecializations().
|
inline |
Emit the record to the stream, followed by its substatements, and return its offset.
Definition at line 88 of file ASTRecordWriter.h.
References Offset.
Referenced by clang::ASTDeclWriter::Emit(), EmitCXXBaseSpecifiers(), EmitCXXCtorInitializers(), getTypeCodeForTypeClass(), and clang::ASTDeclWriter::VisitRedeclarable().
|
inline |
Emit the record to the stream, preceded by its substatements.
Definition at line 97 of file ASTRecordWriter.h.
Referenced by clang::ASTStmtWriter::Emit().
|
inline |
Definition at line 80 of file ASTRecordWriter.h.
|
inline |
Extract the underlying record storage.
Definition at line 71 of file ASTRecordWriter.h.
|
delete |
Referenced by ASTRecordWriter().
|
inline |
Definition at line 82 of file ASTRecordWriter.h.
|
inline |
Minimal vector-like interface.
Definition at line 75 of file ASTRecordWriter.h.
Referenced by addConstraintSatisfaction(), addExplicitSpecifier(), clang::ASTDeclWriter::AddObjCTypeParamList(), addSubstitutionDiagnostic(), clang::ASTDeclWriter::AddTemplateSpecializations(), EmitCXXBaseSpecifiers(), EmitCXXCtorInitializers(), and WriteFixedPointSemantics().
|
inline |
Definition at line 81 of file ASTRecordWriter.h.
Referenced by clang::ASTDeclWriter::AddTemplateSpecializations().
|
inline |
Definition at line 142 of file ASTRecordWriter.h.
|
inline |
Definition at line 222 of file ASTRecordWriter.h.
References AddDeclRef().
|
inline |
Definition at line 174 of file ASTRecordWriter.h.
References AddIdentifierRef(), and AddSelectorRef().
void ASTRecordWriter::writeOMPClause | ( | OMPClause * | C | ) |
Definition at line 6037 of file ASTWriter.cpp.
References OMPMappableExprListClause< T >::all_components(), OMPMappableExprListClause< T >::all_decls(), OMPMappableExprListClause< T >::all_lists_sizes(), OMPMappableExprListClause< T >::all_num_lists(), clang::OMPLastprivateClause::assignment_ops(), OMPCopyinClause::assignment_ops(), OMPCopyprivateClause::assignment_ops(), clang::C, clang::OMPLastprivateClause::destination_exprs(), OMPCopyinClause::destination_exprs(), OMPCopyprivateClause::destination_exprs(), OMPAlignedClause::getAlignment(), clang::OMPAllocatorClause::getAllocator(), clang::OMPAllocateClause::getAllocator(), clang::OMPAtomicDefaultMemOrderClause::getAtomicDefaultMemOrderKind(), clang::OMPAtomicDefaultMemOrderClause::getAtomicDefaultMemOrderKindKwLoc(), clang::OMPClause::getBeginLoc(), clang::OMPClauseWithPreInit::getCaptureRegion(), clang::OMPScheduleClause::getChunkSize(), OMPDistScheduleClause::getChunkSize(), clang::OMPClause::getClauseKind(), clang::OMPAllocateClause::getColonLoc(), clang::OMPIfClause::getColonLoc(), clang::OMPLastprivateClause::getColonLoc(), clang::OMPReductionClause::getColonLoc(), clang::OMPTaskReductionClause::getColonLoc(), clang::OMPInReductionClause::getColonLoc(), OMPAlignedClause::getColonLoc(), OMPDependClause::getColonLoc(), OMPMapClause::getColonLoc(), clang::OMPScheduleClause::getCommaLoc(), OMPDistScheduleClause::getCommaLoc(), clang::OMPIfClause::getCondition(), clang::OMPFinalClause::getCondition(), clang::OMPDefaultClause::getDefaultKind(), clang::OMPDefaultClause::getDefaultKindKwLoc(), OMPDefaultmapClause::getDefaultmapKind(), OMPDefaultmapClause::getDefaultmapKindLoc(), OMPDefaultmapClause::getDefaultmapModifier(), OMPDefaultmapClause::getDefaultmapModifierLoc(), OMPDependClause::getDependencyKind(), OMPDependClause::getDependencyLoc(), OMPDeviceClause::getDevice(), OMPDistScheduleClause::getDistScheduleKind(), OMPDistScheduleClause::getDistScheduleKindLoc(), clang::OMPClause::getEndLoc(), clang::OMPScheduleClause::getFirstScheduleModifier(), clang::OMPScheduleClause::getFirstScheduleModifierLoc(), OMPGrainsizeClause::getGrainsize(), OMPHintClause::getHint(), clang::OMPLastprivateClause::getKind(), clang::OMPLastprivateClause::getKindLoc(), clang::OMPOrderedClause::getLoopCounter(), OMPDependClause::getLoopData(), clang::OMPOrderedClause::getLoopNumIterations(), clang::OMPVarListClause< T >::getLParenLoc(), clang::OMPAllocatorClause::getLParenLoc(), clang::OMPIfClause::getLParenLoc(), clang::OMPFinalClause::getLParenLoc(), clang::OMPNumThreadsClause::getLParenLoc(), clang::OMPSafelenClause::getLParenLoc(), clang::OMPSimdlenClause::getLParenLoc(), clang::OMPCollapseClause::getLParenLoc(), clang::OMPDefaultClause::getLParenLoc(), clang::OMPProcBindClause::getLParenLoc(), clang::OMPAtomicDefaultMemOrderClause::getLParenLoc(), clang::OMPScheduleClause::getLParenLoc(), clang::OMPOrderedClause::getLParenLoc(), OMPDeviceClause::getLParenLoc(), OMPNumTeamsClause::getLParenLoc(), OMPThreadLimitClause::getLParenLoc(), OMPPriorityClause::getLParenLoc(), OMPGrainsizeClause::getLParenLoc(), OMPNumTasksClause::getLParenLoc(), OMPHintClause::getLParenLoc(), OMPDistScheduleClause::getLParenLoc(), OMPDefaultmapClause::getLParenLoc(), OMPMapClause::getMapLoc(), OMPMappableExprListClause< T >::getMapperIdInfo(), OMPMappableExprListClause< T >::getMapperQualifierLoc(), OMPMapClause::getMapType(), OMPMapClause::getMapTypeModifier(), OMPMapClause::getMapTypeModifierLoc(), clang::OMPReductionClause::getNameInfo(), clang::OMPTaskReductionClause::getNameInfo(), clang::OMPInReductionClause::getNameInfo(), clang::OMPIfClause::getNameModifier(), clang::OMPIfClause::getNameModifierLoc(), clang::OMPCollapseClause::getNumForLoops(), clang::OMPOrderedClause::getNumForLoops(), OMPDependClause::getNumLoops(), OMPNumTasksClause::getNumTasks(), OMPNumTeamsClause::getNumTeams(), clang::OMPNumThreadsClause::getNumThreads(), clang::OMPClauseWithPostUpdate::getPostUpdateExpr(), clang::OMPClauseWithPreInit::getPreInitStmt(), OMPPriorityClause::getPriority(), clang::OMPProcBindClause::getProcBindKind(), clang::OMPProcBindClause::getProcBindKindKwLoc(), clang::OMPReductionClause::getQualifierLoc(), clang::OMPTaskReductionClause::getQualifierLoc(), clang::OMPInReductionClause::getQualifierLoc(), clang::OMPSafelenClause::getSafelen(), clang::OMPScheduleClause::getScheduleKind(), clang::OMPScheduleClause::getScheduleKindLoc(), clang::OMPScheduleClause::getSecondScheduleModifier(), clang::OMPScheduleClause::getSecondScheduleModifierLoc(), clang::OMPSimdlenClause::getSimdlen(), OMPThreadLimitClause::getThreadLimit(), OMPMappableExprListClause< T >::getTotalComponentListNum(), OMPMappableExprListClause< T >::getTotalComponentsNum(), OMPMappableExprListClause< T >::getUniqueDeclarationsNum(), clang::OMPFirstprivateClause::inits(), OMPUseDevicePtrClause::inits(), clang::OMPReductionClause::lhs_exprs(), clang::OMPTaskReductionClause::lhs_exprs(), clang::OMPInReductionClause::lhs_exprs(), OMPMappableExprListClause< T >::mapperlists(), OMPMapClause::NumberOfModifiers, clang::OMPPrivateClause::private_copies(), clang::OMPFirstprivateClause::private_copies(), clang::OMPLastprivateClause::private_copies(), OMPUseDevicePtrClause::private_copies(), OMPNontemporalClause::private_refs(), clang::OMPReductionClause::privates(), clang::OMPTaskReductionClause::privates(), clang::OMPInReductionClause::privates(), clang::OMPReductionClause::reduction_ops(), clang::OMPTaskReductionClause::reduction_ops(), clang::OMPInReductionClause::reduction_ops(), clang::OMPReductionClause::rhs_exprs(), clang::OMPTaskReductionClause::rhs_exprs(), clang::OMPInReductionClause::rhs_exprs(), clang::OMPLastprivateClause::source_exprs(), OMPCopyinClause::source_exprs(), OMPCopyprivateClause::source_exprs(), clang::OMPInReductionClause::taskgroup_descriptors(), clang::OMPVarListClause< T >::varlist_size(), and clang::OMPVarListClause< T >::varlists().
Referenced by AddTemplateArgument().
|
inline |
Definition at line 197 of file ASTRecordWriter.h.
References AddASTTemplateArgumentListInfo(), AddTemplateArgumentLoc(), AddTemplateArgumentLocInfo(), AddTypeLoc(), AddTypeRef(), and AddTypeSourceInfo().
Referenced by getTypeCodeForTypeClass().
|
inline |
Definition at line 180 of file ASTRecordWriter.h.
References AddCXXBaseSpecifier(), AddCXXBaseSpecifiers(), AddCXXTemporary(), and AddSelectorRef().
|
inline |
Definition at line 133 of file ASTRecordWriter.h.
References AddSourceLocation().
|
inline |
Definition at line 121 of file ASTRecordWriter.h.
|
inline |
Definition at line 146 of file ASTRecordWriter.h.
|
inline |
Definition at line 150 of file ASTRecordWriter.h.