clang  11.0.0git
Public Member Functions | List of all members
clang::ASTRecordWriter Class Reference

An object for streaming information to a record. More...

#include "clang/Serialization/ASTRecordWriter.h"

Inheritance diagram for clang::ASTRecordWriter:
Inheritance graph
[legend]
Collaboration diagram for clang::ASTRecordWriter:
Collaboration graph
[legend]

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...
 
ASTRecordWriteroperator= (const ASTRecordWriter &)=delete
 
ASTWriter::RecordDataImplgetRecordData () 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 writeOMPTraitInfo (const OMPTraitInfo *TI)
 Write an OMPTraitInfo object. More...
 
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)
 
- Public Member Functions inherited from clang::serialization::DataStreamBasicWriter< ASTRecordWriter >
ASTRecordWriterfind (const char *propertyName)
 Implement property-find by ignoring it. More...
 
ASTRecordWriterwriteObject ()
 
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)
 

Detailed Description

An object for streaming information to a record.

Definition at line 26 of file ASTRecordWriter.h.

Constructor & Destructor Documentation

◆ ASTRecordWriter() [1/3]

clang::ASTRecordWriter::ASTRecordWriter ( ASTWriter Writer,
ASTWriter::RecordDataImpl Record 
)
inline

Construct a ASTRecordWriter that uses the default encoding scheme.

Definition at line 58 of file ASTRecordWriter.h.

Referenced by ASTRecordWriter().

◆ ASTRecordWriter() [2/3]

clang::ASTRecordWriter::ASTRecordWriter ( ASTRecordWriter Parent,
ASTWriter::RecordDataImpl Record 
)
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=().

◆ ASTRecordWriter() [3/3]

clang::ASTRecordWriter::ASTRecordWriter ( const ASTRecordWriter )
delete

Copying an ASTRecordWriter is almost certainly a bug.

Member Function Documentation

◆ AddAPFloat()

void ASTRecordWriter::AddAPFloat ( const llvm::APFloat &  Value)

Emit a floating-point value.

Definition at line 5127 of file ASTWriter.cpp.

Referenced by AddAPSInt(), and addSubstitutionDiagnostic().

◆ AddAPInt()

void clang::ASTRecordWriter::AddAPInt ( const llvm::APInt &  Value)
inline

Emit an integral value.

Definition at line 155 of file ASTRecordWriter.h.

References clang::serialization::DataStreamBasicWriter< ASTRecordWriter >::writeAPInt().

Referenced by addSubstitutionDiagnostic().

◆ AddAPSInt()

void clang::ASTRecordWriter::AddAPSInt ( const llvm::APSInt Value)
inline

Emit a signed integral value.

Definition at line 160 of file ASTRecordWriter.h.

References AddAPFloat(), AddAPValue(), and clang::serialization::DataStreamBasicWriter< ASTRecordWriter >::writeAPSInt().

◆ AddAPValue()

void ASTRecordWriter::AddAPValue ( const APValue Value)

◆ AddASTTemplateArgumentListInfo()

void ASTRecordWriter::AddASTTemplateArgumentListInfo ( const ASTTemplateArgumentListInfo ASTTemplArgList)

◆ AddAttr()

void ASTRecordWriter::AddAttr ( const Attr A)

◆ AddAttributes()

void ASTRecordWriter::AddAttributes ( ArrayRef< const Attr *>  Attrs)

Emit a list of attributes.

Emit the list of attributes to the specified record.

Definition at line 4252 of file ASTWriter.cpp.

Referenced by AddVersionTuple().

◆ AddCXXBaseSpecifier()

void ASTRecordWriter::AddCXXBaseSpecifier ( const CXXBaseSpecifier Base)

◆ AddCXXBaseSpecifiers()

void ASTRecordWriter::AddCXXBaseSpecifiers ( ArrayRef< CXXBaseSpecifier Bases)

Emit a set of C++ base specifiers.

Definition at line 5636 of file ASTWriter.cpp.

References clang::interp::AddOffset(), and EmitCXXBaseSpecifiers().

Referenced by writeSelector().

◆ AddCXXCtorInitializers()

void ASTRecordWriter::AddCXXCtorInitializers ( ArrayRef< CXXCtorInitializer *>  CtorInits)

Emit a CXXCtorInitializer array.

Definition at line 5676 of file ASTWriter.cpp.

References clang::interp::AddOffset(), and EmitCXXCtorInitializers().

Referenced by AddTemplateArgument().

◆ AddCXXDefinitionData()

void ASTRecordWriter::AddCXXDefinitionData ( const CXXRecordDecl D)

◆ AddCXXTemporary()

void ASTRecordWriter::AddCXXTemporary ( const CXXTemporary Temp)

Emit a CXXTemporary.

Definition at line 5251 of file ASTWriter.cpp.

References clang::ASTWriter::AddDeclRef(), and clang::CXXTemporary::getDestructor().

Referenced by writeSelector().

◆ AddDeclarationName()

void clang::ASTRecordWriter::AddDeclarationName ( DeclarationName  Name)
inline

Emit a declaration name.

Definition at line 227 of file ASTRecordWriter.h.

◆ AddDeclarationNameInfo()

void ASTRecordWriter::AddDeclarationNameInfo ( const DeclarationNameInfo NameInfo)

◆ AddDeclarationNameLoc()

void ASTRecordWriter::AddDeclarationNameLoc ( const DeclarationNameLoc DNLoc,
DeclarationName  Name 
)

Definition at line 5465 of file ASTWriter.cpp.

Referenced by addSubstitutionDiagnostic().

◆ AddDeclRef()

void clang::ASTRecordWriter::AddDeclRef ( const Decl D)
inline

◆ AddFunctionDefinition()

void ASTRecordWriter::AddFunctionDefinition ( const FunctionDecl FD)

◆ AddIdentifierRef()

void clang::ASTRecordWriter::AddIdentifierRef ( const IdentifierInfo II)
inline

Emit a reference to an identifier.

Definition at line 171 of file ASTRecordWriter.h.

References clang::ASTWriter::AddIdentifierRef().

Referenced by addSubstitutionDiagnostic(), and writeIdentifier().

◆ AddNestedNameSpecifier()

void clang::ASTRecordWriter::AddNestedNameSpecifier ( NestedNameSpecifier NNS)
inline

◆ AddNestedNameSpecifierLoc()

void ASTRecordWriter::AddNestedNameSpecifierLoc ( NestedNameSpecifierLoc  NNS)

◆ AddOffset()

void clang::ASTRecordWriter::AddOffset ( uint64_t  BitOffset)
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.

◆ AddPath()

void clang::ASTRecordWriter::AddPath ( StringRef  Path)
inline

Emit a path.

Definition at line 280 of file ASTRecordWriter.h.

References clang::ASTWriter::AddPath().

◆ AddQualifierInfo()

void ASTRecordWriter::AddQualifierInfo ( const QualifierInfo Info)

◆ AddSelectorRef()

void ASTRecordWriter::AddSelectorRef ( Selector  S)

Emit a Selector (which is a smart pointer reference).

Definition at line 5228 of file ASTWriter.cpp.

Referenced by writeIdentifier(), and writeSelector().

◆ AddSourceLocation()

void clang::ASTRecordWriter::AddSourceLocation ( SourceLocation  Loc)
inline

◆ AddSourceRange()

void clang::ASTRecordWriter::AddSourceRange ( SourceRange  Range)
inline

Emit a source range.

Definition at line 138 of file ASTRecordWriter.h.

References clang::ASTWriter::AddSourceRange().

Referenced by addSubstitutionDiagnostic().

◆ AddStmt()

void clang::ASTRecordWriter::AddStmt ( Stmt S)
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().

◆ AddString()

void clang::ASTRecordWriter::AddString ( StringRef  Str)
inline

Emit a string.

Definition at line 275 of file ASTRecordWriter.h.

References clang::ASTWriter::AddString().

Referenced by addConstraintSatisfaction(), and addSubstitutionDiagnostic().

◆ AddTemplateArgument()

void clang::ASTRecordWriter::AddTemplateArgument ( const TemplateArgument Arg)
inline

◆ AddTemplateArgumentList()

void ASTRecordWriter::AddTemplateArgumentList ( const TemplateArgumentList TemplateArgs)

Emit a template argument list.

Definition at line 5583 of file ASTWriter.cpp.

References clang::TemplateArgumentList::get(), and clang::TemplateArgumentList::size().

Referenced by AddTemplateArgument().

◆ AddTemplateArgumentLoc()

void ASTRecordWriter::AddTemplateArgumentLoc ( const TemplateArgumentLoc Arg)

◆ AddTemplateArgumentLocInfo()

void ASTRecordWriter::AddTemplateArgumentLocInfo ( TemplateArgument::ArgKind  Kind,
const TemplateArgumentLocInfo Arg 
)

◆ AddTemplateName()

void clang::ASTRecordWriter::AddTemplateName ( TemplateName  Name)
inline

Emit a template name.

Definition at line 246 of file ASTRecordWriter.h.

◆ AddTemplateParameterList()

void ASTRecordWriter::AddTemplateParameterList ( const TemplateParameterList TemplateParams)

◆ AddTypeLoc()

void ASTRecordWriter::AddTypeLoc ( TypeLoc  TL)

Emits source location information for a type. Does not emit the type.

Definition at line 5306 of file ASTWriter.cpp.

References clang::TypeLoc::getNextTypeLoc(), and clang::TypeLoc::isNull().

Referenced by writeQualType().

◆ AddTypeRef()

void clang::ASTRecordWriter::AddTypeRef ( QualType  T)
inline

Emit a reference to a type.

Definition at line 194 of file ASTRecordWriter.h.

References clang::ASTWriter::AddTypeRef().

Referenced by addSubstitutionDiagnostic(), and writeQualType().

◆ AddTypeSourceInfo()

void ASTRecordWriter::AddTypeSourceInfo ( TypeSourceInfo TInfo)

◆ AddUnresolvedSet()

void ASTRecordWriter::AddUnresolvedSet ( const ASTUnresolvedSet Set)

◆ AddVersionTuple()

void clang::ASTRecordWriter::AddVersionTuple ( const VersionTuple &  Version)
inline

Emit a version tuple.

Definition at line 285 of file ASTRecordWriter.h.

References AddAttr(), AddAttributes(), and clang::ASTWriter::AddVersionTuple().

◆ append()

template<typename InputIterator >
void clang::ASTRecordWriter::append ( InputIterator  begin,
InputIterator  end 
)
inline

Definition at line 77 of file ASTRecordWriter.h.

Referenced by clang::ASTDeclWriter::AddTemplateSpecializations().

◆ Emit()

uint64_t clang::ASTRecordWriter::Emit ( unsigned  Code,
unsigned  Abbrev = 0 
)
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().

◆ EmitStmt()

uint64_t clang::ASTRecordWriter::EmitStmt ( unsigned  Code,
unsigned  Abbrev = 0 
)
inline

Emit the record to the stream, preceded by its substatements.

Definition at line 97 of file ASTRecordWriter.h.

Referenced by clang::ASTStmtWriter::Emit().

◆ empty()

bool clang::ASTRecordWriter::empty ( ) const
inline

Definition at line 80 of file ASTRecordWriter.h.

◆ getRecordData()

ASTWriter::RecordDataImpl& clang::ASTRecordWriter::getRecordData ( ) const
inline

Extract the underlying record storage.

Definition at line 71 of file ASTRecordWriter.h.

◆ operator=()

ASTRecordWriter& clang::ASTRecordWriter::operator= ( const ASTRecordWriter )
delete

Referenced by ASTRecordWriter().

◆ operator[]()

uint64_t& clang::ASTRecordWriter::operator[] ( size_t  N)
inline

Definition at line 82 of file ASTRecordWriter.h.

◆ push_back()

void clang::ASTRecordWriter::push_back ( uint64_t  N)
inline

◆ size()

size_t clang::ASTRecordWriter::size ( ) const
inline

Definition at line 81 of file ASTRecordWriter.h.

Referenced by clang::ASTDeclWriter::AddTemplateSpecializations().

◆ writeBool()

void clang::ASTRecordWriter::writeBool ( bool  Value)
inline

Definition at line 142 of file ASTRecordWriter.h.

◆ writeDeclRef()

void clang::ASTRecordWriter::writeDeclRef ( const Decl D)
inline

Definition at line 222 of file ASTRecordWriter.h.

References AddDeclRef().

◆ writeIdentifier()

void clang::ASTRecordWriter::writeIdentifier ( const IdentifierInfo II)
inline

Definition at line 174 of file ASTRecordWriter.h.

References AddIdentifierRef(), and AddSelectorRef().

◆ writeOMPClause()

void ASTRecordWriter::writeOMPClause ( OMPClause C)

Definition at line 6129 of file ASTWriter.cpp.

References OMPMappableExprListClause< T >::all_components(), OMPMappableExprListClause< T >::all_decls(), OMPMappableExprListClause< T >::all_lists_sizes(), OMPMappableExprListClause< T >::all_num_lists(), OMPUsesAllocatorsClause::Data::Allocator, OMPUsesAllocatorsClause::Data::AllocatorTraits, clang::OMPLastprivateClause::assignment_ops(), OMPCopyinClause::assignment_ops(), OMPCopyprivateClause::assignment_ops(), clang::C, clang::OMPReductionClause::copy_array_elems(), clang::OMPReductionClause::copy_array_temps(), clang::OMPReductionClause::copy_ops(), clang::OMPLastprivateClause::destination_exprs(), OMPCopyinClause::destination_exprs(), OMPCopyprivateClause::destination_exprs(), OMPAlignedClause::getAlignment(), clang::OMPAllocatorClause::getAllocator(), clang::OMPAllocateClause::getAllocator(), OMPUsesAllocatorsClause::getAllocatorData(), clang::OMPUpdateClause::getArgumentLoc(), 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(), OMPAffinityClause::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(), clang::OMPUpdateClause::getDependencyKind(), OMPDependClause::getDependencyKind(), OMPDependClause::getDependencyLoc(), OMPDepobjClause::getDepobj(), OMPDeviceClause::getDevice(), OMPDistScheduleClause::getDistScheduleKind(), OMPDistScheduleClause::getDistScheduleKindLoc(), clang::OMPClause::getEndLoc(), OMPDetachClause::getEventHandler(), clang::OMPScheduleClause::getFirstScheduleModifier(), clang::OMPScheduleClause::getFirstScheduleModifierLoc(), OMPGrainsizeClause::getGrainsize(), OMPHintClause::getHint(), clang::OMPLastprivateClause::getKind(), OMPOrderClause::getKind(), OMPOrderClause::getKindKwLoc(), 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(), clang::OMPUpdateClause::getLParenLoc(), OMPDepobjClause::getLParenLoc(), OMPDeviceClause::getLParenLoc(), OMPNumTeamsClause::getLParenLoc(), OMPThreadLimitClause::getLParenLoc(), OMPPriorityClause::getLParenLoc(), OMPGrainsizeClause::getLParenLoc(), OMPNumTasksClause::getLParenLoc(), OMPHintClause::getLParenLoc(), OMPDistScheduleClause::getLParenLoc(), OMPDefaultmapClause::getLParenLoc(), OMPOrderClause::getLParenLoc(), OMPDetachClause::getLParenLoc(), OMPUsesAllocatorsClause::getLParenLoc(), OMPMapClause::getMapLoc(), OMPMappableExprListClause< T >::getMapperIdInfo(), OMPMappableExprListClause< T >::getMapperQualifierLoc(), OMPMapClause::getMapType(), OMPMapClause::getMapTypeModifier(), OMPMapClause::getMapTypeModifierLoc(), clang::OMPReductionClause::getModifier(), OMPDependClause::getModifier(), OMPDeviceClause::getModifier(), OMPAffinityClause::getModifier(), clang::OMPReductionClause::getModifierLoc(), OMPDeviceClause::getModifierLoc(), clang::OMPReductionClause::getNameInfo(), clang::OMPTaskReductionClause::getNameInfo(), clang::OMPInReductionClause::getNameInfo(), clang::OMPIfClause::getNameModifier(), clang::OMPIfClause::getNameModifierLoc(), OMPUsesAllocatorsClause::getNumberOfAllocators(), 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::OMPUpdateClause::isExtended(), clang::OMPReductionClause::lhs_exprs(), clang::OMPTaskReductionClause::lhs_exprs(), clang::OMPInReductionClause::lhs_exprs(), OMPUsesAllocatorsClause::Data::LParenLoc, OMPMappableExprListClause< T >::mapperlists(), clang::NumberOfOMPMapClauseModifiers, 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(), OMPUsesAllocatorsClause::Data::RParenLoc, 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().

◆ writeOMPTraitInfo()

void ASTRecordWriter::writeOMPTraitInfo ( const OMPTraitInfo TI)

Write an OMPTraitInfo object.

Definition at line 6760 of file ASTWriter.cpp.

References clang::Property, and OMPTraitInfo::Sets.

Referenced by AddTemplateArgument().

◆ writeQualType()

void clang::ASTRecordWriter::writeQualType ( QualType  T)
inline

◆ writeSelector()

void clang::ASTRecordWriter::writeSelector ( Selector  sel)
inline

◆ writeSourceLocation()

void clang::ASTRecordWriter::writeSourceLocation ( SourceLocation  Loc)
inline

Definition at line 133 of file ASTRecordWriter.h.

References AddSourceLocation().

◆ writeStmtRef()

void clang::ASTRecordWriter::writeStmtRef ( const Stmt S)
inline

Definition at line 121 of file ASTRecordWriter.h.

◆ writeUInt32()

void clang::ASTRecordWriter::writeUInt32 ( uint32_t  Value)
inline

Definition at line 146 of file ASTRecordWriter.h.

◆ writeUInt64()

void clang::ASTRecordWriter::writeUInt64 ( uint64_t  Value)
inline

Definition at line 150 of file ASTRecordWriter.h.


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