clang  19.0.0git
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
clang Namespace Reference

The JSON file list parser is used to communicate input to InstallAPI. More...

Namespaces

 AArch64
 AArch64 builtins.
 
 AMDGPU
 AMDGPU builtins.
 
 analyze_format_string
 Common components of both fprintf and fscanf format strings.
 
 analyze_os_log
 
 analyze_printf
 Pieces specific to fprintf format strings.
 
 analyze_scanf
 Pieces specific to fscanf format strings.
 
 api_notes
 
 arcmt
 
 ARM
 ARM builtins.
 
 ast_matchers
 
 attr
 
 attrvisitor
 
 BPF
 BPF builtins.
 
 Builtin
 
 charinfo
 
 CodeGen
 
 comments
 
 concepts
 
 consumed
 
 cross_tu
 
 data_collection
 
 dataflow
 Dataflow Directional Tag Classes.
 
 declvisitor
 
 dependency_directives_scan
 
 detail
 
 diag
 
 diff
 
 driver
 
 edit
 
 ento
 
 extractapi
 
 FileMgr
 
 format
 
 frontend
 
 Hexagon
 Hexagon builtins.
 
 hlsl
 
 html
 
 index
 
 installapi
 Representations of a library's headers for InstallAPI.
 
 internal
 
 interp
 
 LoongArch
 LoongArch builtins.
 
 markup
 
 Mips
 MIPS builtins.
 
 NEON
 
 NVPTX
 NVPTX builtins.
 
 ObjCPropertyAttribute
 ObjCPropertyAttribute::Kind - list of property attributes.
 
 optional_detail
 
 PPC
 PPC builtins.
 
 prec
 PrecedenceLevels - These are precedences for the binary/ternary operators in the C99 grammar.
 
 randstruct
 
 reachable_code
 
 RISCV
 RISCV builtins.
 
 RISCVVector
 
 sema
 
 serialization
 
 serialized_diags
 
 SME
 
 SrcMgr
 Public enums and private classes that are part of the SourceManager implementation.
 
 SVE
 
 syntax
 
 SystemZ
 SystemZ builtins.
 
 targets
 
 templateargumentvisitor
 
 threadSafety
 
 tok
 
 tooling
 
 transformer
 
 TypeName
 
 VE
 VE builtins.
 
 WebAssembly
 WebAssembly builtins.
 
 X86
 X86 builtins.
 
 XCore
 XCore builtins.
 
 XRayInstrKind
 

Classes

class  CalledOnceCheckHandler
 
class  CFGReverseBlockReachabilityAnalysis
 
class  CFGDominatorTreeImpl
 Dominator tree builder for Clang's CFG based on llvm::DominatorTreeBase. More...
 
class  ControlDependencyCalculator
 
class  ExprMutationAnalyzer
 Analyzes whether any mutative operations are applied to an expression within a given statement. More...
 
class  FunctionParmMutationAnalyzer
 
struct  WTOCompare
 
class  LiveVariables
 
class  RelaxedLiveVariables
 
class  PostOrderCFGView
 
class  UninitUse
 A use of a variable, which might be uninitialized. More...
 
class  UninitVariablesHandler
 
struct  UninitVariablesAnalysisStats
 
class  VariableGroupsManager
 
class  FixitStrategy
 
class  UnsafeBufferUsageHandler
 The interface that lets the caller handle unsafe buffer usage analysis results by overriding this class's handle... More...
 
class  ManagedAnalysis
 The base class of a hierarchy of objects representing analyses tied to AnalysisDeclContext. More...
 
class  AnalysisDeclContext
 AnalysisDeclContext contains the context data for the function, method or block under analysis. More...
 
class  LocationContext
 It wraps the AnalysisDeclContext to represent both the call stack with the help of StackFrameContext and inside the function calls the BlockInvocationContext. More...
 
class  StackFrameContext
 It represents a stack frame of the call stack (based on CallEvent). More...
 
class  BlockInvocationContext
 It represents a block invocation (based on BlockCall). More...
 
class  LocationContextManager
 
class  AnalysisDeclContextManager
 
class  AnyCall
 An instance of this class corresponds to a call. More...
 
class  BodyFarm
 
class  CallGraph
 The AST-based call graph. More...
 
class  CallGraphNode
 
class  CFGElement
 Represents a top-level expression in a basic block. More...
 
class  CFGStmt
 
class  CFGConstructor
 Represents C++ constructor call. More...
 
class  CFGCXXRecordTypedCall
 Represents a function call that returns a C++ object by value. More...
 
class  CFGInitializer
 Represents C++ base or member initializer from constructor's initialization list. More...
 
class  CFGNewAllocator
 Represents C++ allocator call. More...
 
class  CFGLoopExit
 Represents the point where a loop ends. More...
 
class  CFGLifetimeEnds
 Represents the point where the lifetime of an automatic object ends. More...
 
class  CFGScopeBegin
 Represents beginning of a scope implicitly generated by the compiler on encountering a CompoundStmt. More...
 
class  CFGScopeEnd
 Represents end of a scope implicitly generated by the compiler after the last Stmt in a CompoundStmt's body. More...
 
class  CFGImplicitDtor
 Represents C++ object destructor implicitly generated by compiler on various occasions. More...
 
class  CFGCleanupFunction
 
class  CFGAutomaticObjDtor
 Represents C++ object destructor implicitly generated for automatic object or temporary bound to const reference at the point of leaving its local scope. More...
 
class  CFGDeleteDtor
 Represents C++ object destructor generated from a call to delete. More...
 
class  CFGBaseDtor
 Represents C++ object destructor implicitly generated for base object in destructor. More...
 
class  CFGMemberDtor
 Represents C++ object destructor implicitly generated for member object in destructor. More...
 
class  CFGTemporaryDtor
 Represents C++ object destructor implicitly generated at the end of full expression for temporary object. More...
 
class  CFGTerminator
 Represents CFGBlock terminator statement. More...
 
class  CFGBlock
 Represents a single basic block in a source-level CFG. More...
 
class  CFGCallback
 CFGCallback defines methods that should be called when a logical operator error is found when building the CFG. More...
 
class  CFG
 Represents a source-level, intra-procedural CFG that represents the control-flow of a Stmt. More...
 
class  CFGStmtMap
 
class  StmtSequence
 Identifies a list of statements. More...
 
class  CloneDetector
 Searches for similar subtrees in the AST. More...
 
class  CloneConstraint
 This class is a utility class that contains utility functions for building custom constraints. More...
 
class  RecursiveCloneTypeIIHashConstraint
 This constraint moves clones into clone groups of type II via hashing. More...
 
class  RecursiveCloneTypeIIVerifyConstraint
 This constraint moves clones into clone groups of type II by comparing them. More...
 
class  MinComplexityConstraint
 Ensures that every clone has at least the given complexity. More...
 
class  MinGroupSizeConstraint
 Ensures that all clone groups contain at least the given amount of clones. More...
 
struct  OnlyLargestCloneConstraint
 Ensures that no clone group fully contains another clone group. More...
 
struct  FilenamePatternConstraint
 
class  VariablePattern
 Analyzes the pattern of the referenced variables in a statement. More...
 
struct  MatchingVariablePatternConstraint
 Ensures that all clones reference variables in the same pattern. More...
 
class  CodeInjector
 CodeInjector is an interface which is responsible for injecting AST of function definitions that may not be available in the original source. More...
 
class  ConstructionContextItem
 Represents a single point (AST node) in the program that requires attention during construction of an object. More...
 
class  ConstructionContextLayer
 Construction context can be seen as a linked list of multiple layers. More...
 
class  ConstructionContext
 ConstructionContext's subclasses describe different ways of constructing an object in C++. More...
 
class  VariableConstructionContext
 An abstract base class for local variable constructors. More...
 
class  SimpleVariableConstructionContext
 Represents construction into a simple local variable, eg. More...
 
class  CXX17ElidedCopyVariableConstructionContext
 Represents construction into a simple variable with an initializer syntax, with a single constructor, eg. More...
 
class  ConstructorInitializerConstructionContext
 
class  SimpleConstructorInitializerConstructionContext
 Represents construction into a field or a base class within a bigger object via a constructor initializer, eg. More...
 
class  CXX17ElidedCopyConstructorInitializerConstructionContext
 Represents construction into a field or a base class within a bigger object via a constructor initializer, with a single constructor, eg. More...
 
class  NewAllocatedObjectConstructionContext
 Represents immediate initialization of memory allocated by operator new, eg. More...
 
class  TemporaryObjectConstructionContext
 Represents a temporary object, eg. More...
 
class  SimpleTemporaryObjectConstructionContext
 Represents a temporary object that is not constructed for the purpose of being immediately copied/moved by an elidable copy/move-constructor. More...
 
class  ElidedTemporaryObjectConstructionContext
 Represents a temporary object that is constructed for the sole purpose of being immediately copied by an elidable copy/move constructor. More...
 
class  ReturnedValueConstructionContext
 
class  SimpleReturnedValueConstructionContext
 Represents a temporary object that is being immediately returned from a function by value, eg. More...
 
class  CXX17ElidedCopyReturnedValueConstructionContext
 Represents a temporary object that is being immediately returned from a function by value, eg. More...
 
class  ArgumentConstructionContext
 
class  LambdaCaptureConstructionContext
 
class  ObjCNoReturn
 
class  DataflowValues
 DataflowValues. Container class to store dataflow values for a CFG. More...
 
class  DataflowWorklistBase
 A worklist implementation where the enqueued blocks will be dequeued based on the order defined by 'Comp'. More...
 
struct  ReversePostOrderCompare
 
struct  ForwardDataflowWorklist
 A worklist implementation for forward dataflow analysis. More...
 
struct  WTODataflowWorklist
 A worklist implementation for forward dataflow analysis based on a weak topological ordering of the nodes. More...
 
struct  BackwardDataflowWorklist
 A worklist implementation for backward dataflow analysis. More...
 
class  MacroExpansionContext
 MacroExpansionContext tracks the macro expansions processed by the Preprocessor. More...
 
class  ProgramPointTag
 ProgramPoints can be "tagged" as representing points specific to a given analysis entity. More...
 
class  SimpleProgramPointTag
 
class  ProgramPoint
 
class  BlockEntrance
 
class  BlockExit
 
class  StmtPoint
 
class  PreStmt
 
class  PostStmt
 
class  FunctionExitPoint
 
class  PostCondition
 
class  LocationCheck
 
class  PreLoad
 
class  PreStore
 
class  PostLoad
 
class  PostStore
 Represents a program point after a store evaluation. More...
 
class  PostLValue
 
class  PreStmtPurgeDeadSymbols
 Represents a point after we ran remove dead bindings BEFORE processing the given statement. More...
 
class  PostStmtPurgeDeadSymbols
 Represents a point after we ran remove dead bindings AFTER processing the given statement. More...
 
class  BlockEdge
 
class  PostInitializer
 
class  ImplicitCallPoint
 Represents an implicit call event. More...
 
class  PreImplicitCall
 Represents a program point just before an implicit call event. More...
 
class  PostImplicitCall
 Represents a program point just after an implicit call event. More...
 
class  PostAllocatorCall
 
class  CallEnter
 Represents a point when we begin processing an inlined call. More...
 
class  CallExitBegin
 Represents a point when we start the call exit sequence (for inlined call). More...
 
class  CallExitEnd
 Represents a point when we finish the call exit sequence (for inlined call). More...
 
class  LoopExit
 Represents a point when we exit a loop. More...
 
class  EpsilonPoint
 This is a meta program point, which should be skipped by all the diagnostic reasoning etc. More...
 
class  BumpVectorContext
 
class  BumpVector
 
class  APINotesOptions
 Tracks various options which control how API notes are found and handled. More...
 
class  APNumericStorage
 Used by IntegerLiteral/FloatingLiteral/EnumConstantDecl to store the numeric without leaking memory. More...
 
class  APIntStorage
 
class  APFloatStorage
 
class  TypeInfoLValue
 Symbolic representation of typeid(T) for some type T. More...
 
class  DynamicAllocLValue
 Symbolic representation of a dynamic allocation. More...
 
class  APValue
 APValue - This class implements a discriminated union of [uninitialized] [APSInt] [APFloat], [Complex APSInt] [Complex APFloat], [Expr + Offset], [Vector: N * APValue], [Array: N * APValue]. More...
 
class  ConstraintSatisfaction
 The result of a constraint satisfaction check, containing the necessary information to diagnose an unsatisfied constraint. More...
 
struct  ASTConstraintSatisfaction
 The result of a constraint satisfaction check, containing the necessary information to diagnose an unsatisfied constraint. More...
 
class  ConceptReference
 A reference to a concept and its template args, as it appears in the code. More...
 
class  TypeConstraint
 Models the abbreviated syntax to constrain a template type parameter: template <convertible_to<string> T> void print(T object); ~~~~~~~~~~~~~~~~~~~~~~ Semantically, this adds an "immediately-declared constraint" with extra arg: requires convertible_to<T, string> More...
 
class  ASTConsumer
 ASTConsumer - This is an abstract interface that should be implemented by clients that read ASTs. More...
 
struct  TypeInfo
 
struct  TypeInfoChars
 
class  ASTContext
 Holds long-lived AST nodes (such as types and decls) that can be referred to throughout the semantic analysis of a file. More...
 
class  ASTDumper
 
struct  TerminalColor
 
class  ColorScope
 
class  ASTImporter
 Imports selected nodes from one AST context into another context, merging AST nodes where appropriate. More...
 
class  ASTImporterLookupTable
 
class  ASTImportError
 
class  ASTImporterSharedState
 Importer specific state, which may be shared amongst several ASTImporter objects. More...
 
class  ASTMutationListener
 An abstract interface that should be implemented by listeners that want to be notified when an AST entity gets modified after its initial creation. More...
 
class  ASTNodeTraverser
 ASTNodeTraverser traverses the Clang AST for dumping purposes. More...
 
struct  StructuralEquivalenceContext
 
class  ASTNodeKind
 Kind identifier. More...
 
class  DynTypedNode
 A dynamically typed AST node container. More...
 
class  ASTUnresolvedSet
 An UnresolvedSet-like class which uses the ASTContext's allocator. More...
 
class  LazyASTUnresolvedSet
 An UnresolvedSet-like class that might not have been loaded from the external AST source yet. More...
 
class  ASTVector
 
class  Attr
 Attr - This represents one attribute. More...
 
class  TypeAttr
 
class  StmtAttr
 
class  InheritableAttr
 
class  DeclOrStmtAttr
 
class  InheritableParamAttr
 
class  HLSLAnnotationAttr
 
class  ParameterABIAttr
 A parameter attribute which changes the argument-passing ABI rule for the parameter. More...
 
class  ParamIdx
 A single parameter index whose accessors require each use to make explicit the parameter index encoding needed. More...
 
class  specific_attr_iterator
 specific_attr_iterator - Iterates over a subrange of an AttrVec, only providing attributes that are of a specific type. More...
 
class  AttrVisitor
 A simple visitor class that helps create attribute visitors. More...
 
class  ConstAttrVisitor
 A simple visitor class that helps create attribute visitors. More...
 
class  AvailabilitySpec
 One specifier in an @available expression. More...
 
struct  AvailabilityInfo
 Storage of availability attributes for a declaration. More...
 
class  BaseSubobject
 
class  CanProxy
 Canonical proxy type returned when retrieving the members of a canonical type or as the result of the CanQual<T>::getAs member function. More...
 
struct  CanProxyAdaptor
 Replaceable canonical proxy adaptor class that provides the link between a canonical type and the accessors of the type. More...
 
class  CanQual
 Represents a canonical, potentially-qualified type. More...
 
class  CanProxyBase
 Base class of all canonical proxy types, which is responsible for storing the underlying canonical type and providing basic conversions. More...
 
struct  CanTypeIterator
 Iterator adaptor that turns an iterator over canonical QualTypes into an iterator over CanQualTypes. More...
 
struct  CanProxyAdaptor< ComplexType >
 
struct  CanProxyAdaptor< PointerType >
 
struct  CanProxyAdaptor< BlockPointerType >
 
struct  CanProxyAdaptor< ReferenceType >
 
struct  CanProxyAdaptor< LValueReferenceType >
 
struct  CanProxyAdaptor< RValueReferenceType >
 
struct  CanProxyAdaptor< MemberPointerType >
 
struct  CanProxyAdaptor< DependentSizedExtVectorType >
 
struct  CanProxyAdaptor< VectorType >
 
struct  CanProxyAdaptor< ExtVectorType >
 
struct  CanProxyAdaptor< FunctionType >
 
struct  CanProxyAdaptor< FunctionNoProtoType >
 
struct  CanProxyAdaptor< FunctionProtoType >
 
struct  CanProxyAdaptor< TypeOfType >
 
struct  CanProxyAdaptor< DecltypeType >
 
struct  CanProxyAdaptor< UnaryTransformType >
 
struct  CanProxyAdaptor< TagType >
 
struct  CanProxyAdaptor< RecordType >
 
struct  CanProxyAdaptor< EnumType >
 
struct  CanProxyAdaptor< TemplateTypeParmType >
 
struct  CanProxyAdaptor< ObjCObjectType >
 
struct  CanProxyAdaptor< ObjCObjectPointerType >
 
class  CharUnits
 CharUnits - This is an opaque type for sizes expressed in character units. More...
 
class  ComparisonCategoryInfo
 
class  ComparisonCategories
 
class  CurrentSourceLocExprScope
 Represents the current source location and context used to determine the value of the source location builtins (ex. More...
 
struct  CXXBasePathElement
 Represents an element in a path from a derived class to a base class. More...
 
class  CXXBasePath
 Represents a path from a specific derived class (which is not represented as part of the path) to a particular (direct or indirect) base class subobject. More...
 
class  CXXBasePaths
 BasePaths - Represents the set of paths from a derived class to one of its (direct or indirect) bases. More...
 
struct  UniqueVirtualMethod
 Uniquely identifies a virtual method within a class hierarchy by the method itself and a class subobject number. More...
 
class  OverridingMethods
 The set of methods that override a given virtual method in each subobject where it occurs. More...
 
class  CXXFinalOverriderMap
 A mapping from each virtual member function to its set of final overriders. More...
 
class  CXXIndirectPrimaryBaseSet
 A set of all the primary bases for a class. More...
 
class  TranslationUnitDecl
 The top declaration context. More...
 
class  PragmaCommentDecl
 Represents a #pragma comment line. More...
 
class  PragmaDetectMismatchDecl
 Represents a #pragma detect_mismatch line. More...
 
class  ExternCContextDecl
 Declaration context for names declared as extern "C" in C++. More...
 
class  NamedDecl
 This represents a decl that may have a name. More...
 
class  LabelDecl
 Represents the declaration of a label. More...
 
class  NamespaceDecl
 Represent a C++ namespace. More...
 
class  ValueDecl
 Represent the declaration of a variable (in which case it is an lvalue) a function (in which case it is a function designator) or an enum constant. More...
 
struct  QualifierInfo
 A struct with extended info about a syntactic name qualifier, to be used for the case of out-of-line declarations. More...
 
class  DeclaratorDecl
 Represents a ValueDecl that came out of a declarator. More...
 
struct  EvaluatedStmt
 Structure used to store a statement, the constant value to which it was evaluated (if any), and whether or not the statement is an integral constant expression (if known). More...
 
class  VarDecl
 Represents a variable declaration or definition. More...
 
class  ImplicitParamDecl
 
class  ParmVarDecl
 Represents a parameter to a function. More...
 
class  FunctionDecl
 Represents a function declaration or definition. More...
 
class  FieldDecl
 Represents a member of a struct/union/class. More...
 
class  EnumConstantDecl
 An instance of this object exists for each enum constant that is defined. More...
 
class  IndirectFieldDecl
 Represents a field injected from an anonymous union/struct into the parent scope. More...
 
class  TypeDecl
 Represents a declaration of a type. More...
 
class  TypedefNameDecl
 Base class for declarations which introduce a typedef-name. More...
 
class  TypedefDecl
 Represents the declaration of a typedef-name via the 'typedef' type specifier. More...
 
class  TypeAliasDecl
 Represents the declaration of a typedef-name via a C++11 alias-declaration. More...
 
class  TagDecl
 Represents the declaration of a struct/union/class/enum. More...
 
class  EnumDecl
 Represents an enum. More...
 
class  RecordDecl
 Represents a struct/union/class. More...
 
class  FileScopeAsmDecl
 
class  TopLevelStmtDecl
 A declaration that models statements at global scope. More...
 
class  BlockDecl
 Represents a block literal declaration, which is like an unnamed FunctionDecl. More...
 
class  CapturedDecl
 Represents the body of a CapturedStmt, and serves as its DeclContext. More...
 
class  ImportDecl
 Describes a module import declaration, which makes the contents of the named module visible in the current translation unit. More...
 
class  ExportDecl
 Represents a standard C++ module export declaration. More...
 
class  EmptyDecl
 Represents an empty-declaration. More...
 
class  HLSLBufferDecl
 HLSLBufferDecl - Represent a cbuffer or tbuffer declaration. More...
 
class  DeclAccessPair
 A POD class for pairing a NamedDecl* with an access specifier. More...
 
class  DeclarationName
 The name of a declaration. More...
 
class  DeclarationNameTable
 DeclarationNameTable is used to store and retrieve DeclarationName instances for the various kinds of declaration names, e.g., normal identifiers, C++ constructor names, etc. More...
 
class  DeclarationNameLoc
 DeclarationNameLoc - Additional source/type location info for a declaration name. More...
 
struct  DeclarationNameInfo
 DeclarationNameInfo - A collector data type for bundling together a DeclarationName and the corresponding source/type location info. More...
 
class  AssumedTemplateStorage
 A structure for storing the information associated with a name that has been assumed to be a template name (despite finding no TemplateDecls). More...
 
class  Decl
 Decl - This represents one declaration (or definition), e.g. More...
 
class  PrettyStackTraceDecl
 PrettyStackTraceDecl - If a crash occurs, indicate that it happened when doing something to a specific decl. More...
 
class  DeclListNode
 A list storing NamedDecls in the lookup tables. More...
 
class  DeclContextLookupResult
 The results of name lookup within a DeclContext. More...
 
class  DeclContext
 DeclContext - This is used only as base class of specific decl types that can act as declaration contexts. More...
 
struct  cast_convert_decl_context
 
struct  cast_convert_decl_context< ToTy, true >
 
class  StoredDeclsList
 An array of decls optimized for the common case of only containing one entry. More...
 
class  StoredDeclsMap
 
class  DependentStoredDeclsMap
 
class  AccessSpecDecl
 Represents an access specifier followed by colon ':'. More...
 
class  CXXBaseSpecifier
 Represents a base class of a C++ class. More...
 
class  CXXRecordDecl
 Represents a C++ struct/union/class. More...
 
class  ExplicitSpecifier
 Store information needed for an explicit specifier. More...
 
class  CXXDeductionGuideDecl
 Represents a C++ deduction guide declaration. More...
 
class  RequiresExprBodyDecl
 Represents the body of a requires-expression. More...
 
class  CXXMethodDecl
 Represents a static or instance method of a struct/union/class. More...
 
class  CXXCtorInitializer
 Represents a C++ base or member initializer. More...
 
class  InheritedConstructor
 Description of a constructor that was inherited from a base class. More...
 
class  CXXConstructorDecl
 Represents a C++ constructor within a class. More...
 
class  CXXDestructorDecl
 Represents a C++ destructor within a class. More...
 
class  CXXConversionDecl
 Represents a C++ conversion function within a class. More...
 
class  LinkageSpecDecl
 Represents a linkage specification. More...
 
class  UsingDirectiveDecl
 Represents C++ using-directive. More...
 
class  NamespaceAliasDecl
 Represents a C++ namespace alias. More...
 
class  LifetimeExtendedTemporaryDecl
 Implicit declaration of a temporary that was materialized by a MaterializeTemporaryExpr and lifetime-extended by a declaration. More...
 
class  UsingShadowDecl
 Represents a shadow declaration implicitly introduced into a scope by a (resolved) using-declaration or using-enum-declaration to achieve the desired lookup semantics. More...
 
class  BaseUsingDecl
 Represents a C++ declaration that introduces decls from somewhere else. More...
 
class  UsingDecl
 Represents a C++ using-declaration. More...
 
class  ConstructorUsingShadowDecl
 Represents a shadow constructor declaration introduced into a class by a C++11 using-declaration that names a constructor. More...
 
class  UsingEnumDecl
 Represents a C++ using-enum-declaration. More...
 
class  UsingPackDecl
 Represents a pack of using declarations that a single using-declarator pack-expanded into. More...
 
class  UnresolvedUsingValueDecl
 Represents a dependent using declaration which was not marked with typename. More...
 
class  UnresolvedUsingTypenameDecl
 Represents a dependent using declaration which was marked with typename. More...
 
class  UnresolvedUsingIfExistsDecl
 This node is generated when a using-declaration that was annotated with attribute((using_if_exists)) failed to resolve to a known declaration. More...
 
class  StaticAssertDecl
 Represents a C++11 static_assert declaration. More...
 
class  BindingDecl
 A binding in a decomposition declaration. More...
 
class  DecompositionDecl
 A decomposition declaration. More...
 
class  MSPropertyDecl
 An instance of this class represents the declaration of a property member. More...
 
struct  MSGuidDeclParts
 Parts of a decomposed MSGuidDecl. More...
 
class  MSGuidDecl
 A global _GUID constant. More...
 
class  UnnamedGlobalConstantDecl
 An artificial decl, representing a global anonymous constant value which is uniquified by value within a translation unit. More...
 
class  FriendDecl
 FriendDecl - Represents the declaration of a friend entity, which can be a function, a type, or a templated function or type. More...
 
class  DeclGroup
 
class  DeclGroupRef
 
class  DeclIDBase
 GlobalDeclID means DeclID in the current ASTContext and LocalDeclID means DeclID specific to a certain ModuleFile. More...
 
class  LocalDeclID
 
class  GlobalDeclID
 
class  DeclIDIterator
 A helper iterator adaptor to convert the iterators to SmallVector<SomeDeclID> to the iterators to SmallVector<OtherDeclID>. More...
 
class  ObjCListBase
 
class  ObjCList
 ObjCList - This is a simple template class used to hold various lists of decls etc, which is heavily used by the ObjC front-end. More...
 
class  ObjCProtocolList
 A list of Objective-C protocols, along with the source locations at which they were referenced. More...
 
class  ObjCMethodDecl
 ObjCMethodDecl - Represents an instance or class method declaration. More...
 
class  ObjCTypeParamDecl
 Represents the declaration of an Objective-C type parameter. More...
 
class  ObjCTypeParamList
 Stores a list of Objective-C type parameters for a parameterized class or a category/extension thereof. More...
 
class  ObjCPropertyDecl
 Represents one property declaration in an Objective-C interface. More...
 
class  ObjCContainerDecl
 ObjCContainerDecl - Represents a container for method declarations. More...
 
class  ObjCInterfaceDecl
 Represents an ObjC class declaration. More...
 
class  ObjCIvarDecl
 ObjCIvarDecl - Represents an ObjC instance variable. More...
 
class  ObjCAtDefsFieldDecl
 Represents a field declaration created by an @defs(...). More...
 
class  ObjCProtocolDecl
 Represents an Objective-C protocol declaration. More...
 
class  ObjCCategoryDecl
 ObjCCategoryDecl - Represents a category declaration. More...
 
class  ObjCImplDecl
 
class  ObjCCategoryImplDecl
 ObjCCategoryImplDecl - An object of this class encapsulates a category @implementation declaration. More...
 
class  ObjCImplementationDecl
 ObjCImplementationDecl - Represents a class definition - this is where method definitions are specified. More...
 
class  ObjCCompatibleAliasDecl
 ObjCCompatibleAliasDecl - Represents alias of a class. More...
 
class  ObjCPropertyImplDecl
 ObjCPropertyImplDecl - Represents implementation declaration of a property in a class or category implementation block. More...
 
class  OMPDeclarativeDirective
 This is a basic class for representing single OpenMP declarative directive. More...
 
class  OMPThreadPrivateDecl
 This represents '#pragma omp threadprivate ...' directive. More...
 
class  OMPDeclareReductionDecl
 This represents '#pragma omp declare reduction ...' directive. More...
 
class  OMPDeclareMapperDecl
 This represents '#pragma omp declare mapper ...' directive. More...
 
class  OMPCapturedExprDecl
 Pseudo declaration for capturing expressions. More...
 
class  OMPRequiresDecl
 This represents '#pragma omp requires...' directive. More...
 
class  OMPAllocateDecl
 This represents '#pragma omp allocate ...' directive. More...
 
class  TemplateParameterList
 Stores a list of template parameters for a TemplateDecl and its derived classes. More...
 
class  FixedSizeTemplateParameterListStorage
 Stores a list of template parameters and the associated requires-clause (if any) for a TemplateDecl and its derived classes. More...
 
class  TemplateArgumentList
 A template argument list. More...
 
class  DefaultArgStorage
 Storage for a default argument. More...
 
class  TemplateDecl
 The base class of all kinds of template declarations (e.g., class, function, etc.). More...
 
class  FunctionTemplateSpecializationInfo
 Provides information about a function template specialization, which is a FunctionDecl that has been explicitly specialization or instantiated from a function template. More...
 
class  MemberSpecializationInfo
 Provides information a specialization of a member of a class template, which may be a member function, static data member, member class or member enumeration. More...
 
class  DependentFunctionTemplateSpecializationInfo
 Provides information about a dependent function-template specialization declaration. More...
 
class  RedeclarableTemplateDecl
 Declaration of a redeclarable template. More...
 
class  FunctionTemplateDecl
 Declaration of a template function. More...
 
class  TemplateParmPosition
 Defines the position of a template parameter within a template parameter list. More...
 
class  TemplateTypeParmDecl
 Declaration of a template type parameter. More...
 
class  NonTypeTemplateParmDecl
 NonTypeTemplateParmDecl - Declares a non-type template parameter, e.g., "Size" in. More...
 
class  TemplateTemplateParmDecl
 TemplateTemplateParmDecl - Declares a template template parameter, e.g., "T" in. More...
 
class  BuiltinTemplateDecl
 Represents the builtin template declaration which is used to implement __make_integer_seq and other builtin templates. More...
 
struct  ExplicitInstantiationInfo
 Provides information about an explicit instantiation of a variable or class template. More...
 
class  ClassTemplateSpecializationDecl
 Represents a class template specialization, which refers to a class template with a given set of template arguments. More...
 
class  ClassTemplatePartialSpecializationDecl
 
class  ClassTemplateDecl
 Declaration of a class template. More...
 
class  FriendTemplateDecl
 Declaration of a friend template. More...
 
class  TypeAliasTemplateDecl
 Declaration of an alias template. More...
 
class  VarTemplateSpecializationDecl
 Represents a variable template specialization, which refers to a variable template with a given set of template arguments. More...
 
class  VarTemplatePartialSpecializationDecl
 
class  VarTemplateDecl
 Declaration of a variable template. More...
 
class  ConceptDecl
 Declaration of a C++20 concept. More...
 
class  ImplicitConceptSpecializationDecl
 
class  TemplateParamObjectDecl
 A template parameter object. More...
 
class  DeclVisitor
 A simple visitor class that helps create declaration visitors. More...
 
class  ConstDeclVisitor
 A simple visitor class that helps create declaration visitors. More...
 
struct  ExprDependenceScope
 
struct  TypeDependenceScope
 
class  Dependence
 
class  DependentDiagnostic
 A dependently-generated diagnostic. More...
 
class  EvaluatedExprVisitorBase
 Given a potentially-evaluated expression, this visitor visits all of its potentially-evaluated subexpressions, recursively. More...
 
class  EvaluatedExprVisitor
 EvaluatedExprVisitor - This class visits 'Expr *'s. More...
 
class  ConstEvaluatedExprVisitor
 ConstEvaluatedExprVisitor - This class visits 'const Expr *'s. More...
 
struct  SubobjectAdjustment
 An adjustment to be made to the temporary created when emitting a reference binding, which accesses a particular subobject of that temporary. More...
 
class  Expr
 This represents one expression. More...
 
class  FullExpr
 FullExpr - Represents a "full-expression" node. More...
 
class  ConstantExpr
 ConstantExpr - An expression that occurs in a constant context and optionally the result of evaluating the expression. More...
 
class  OpaqueValueExpr
 OpaqueValueExpr - An expression referring to an opaque object of a fixed type and value class. More...
 
class  DeclRefExpr
 A reference to a declared variable, function, enum, etc. More...
 
class  IntegerLiteral
 
class  FixedPointLiteral
 
class  CharacterLiteral
 
class  FloatingLiteral
 
class  ImaginaryLiteral
 ImaginaryLiteral - We support imaginary integer and floating point literals, like "1.0i". More...
 
class  StringLiteral
 StringLiteral - This represents a string literal expression, e.g. More...
 
class  PredefinedExpr
 [C99 6.4.2.2] - A predefined identifier such as func. More...
 
class  SYCLUniqueStableNameExpr
 
class  SYCLUniqueStableIdExpr
 
class  ParenExpr
 ParenExpr - This represents a parethesized expression, e.g. More...
 
class  UnaryOperator
 UnaryOperator - This represents the unary-expression's (except sizeof and alignof), the postinc/postdec operators from postfix-expression, and various extensions. More...
 
class  OffsetOfNode
 Helper class for OffsetOfExpr. More...
 
class  OffsetOfExpr
 OffsetOfExpr - [C99 7.17] - This represents an expression of the form offsetof(record-type, member-designator). More...
 
class  UnaryExprOrTypeTraitExpr
 UnaryExprOrTypeTraitExpr - expression with either a type or (unevaluated) expression operand. More...
 
class  ArraySubscriptExpr
 ArraySubscriptExpr - [C99 6.5.2.1] Array Subscripting. More...
 
class  MatrixSubscriptExpr
 MatrixSubscriptExpr - Matrix subscript expression for the MatrixType extension. More...
 
class  CallExpr
 CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]). More...
 
class  MemberExpr
 MemberExpr - [C99 6.5.2.3] Structure and Union Members. More...
 
class  CompoundLiteralExpr
 CompoundLiteralExpr - [C99 6.5.2.5]. More...
 
class  CastExpr
 CastExpr - Base class for type casts, including both implicit casts (ImplicitCastExpr) and explicit casts that have some representation in the source code (ExplicitCastExpr's derived classes). More...
 
class  ImplicitCastExpr
 ImplicitCastExpr - Allows us to explicitly represent implicit type conversions, which have no direct representation in the original source code. More...
 
class  ExplicitCastExpr
 ExplicitCastExpr - An explicit cast written in the source code. More...
 
class  CStyleCastExpr
 CStyleCastExpr - An explicit cast in C (C99 6.5.4) or a C-style cast in C++ (C++ [expr.cast]), which uses the syntax (Type)expr. More...
 
class  BinaryOperator
 A builtin binary operation expression such as "x + y" or "x <= y". More...
 
class  CompoundAssignOperator
 CompoundAssignOperator - For compound assignments (e.g. More...
 
class  AbstractConditionalOperator
 AbstractConditionalOperator - An abstract base class for ConditionalOperator and BinaryConditionalOperator. More...
 
class  ConditionalOperator
 ConditionalOperator - The ?: ternary operator. More...
 
class  BinaryConditionalOperator
 BinaryConditionalOperator - The GNU extension to the conditional operator which allows the middle operand to be omitted. More...
 
class  AddrLabelExpr
 AddrLabelExpr - The GNU address of label extension, representing &&label. More...
 
class  StmtExpr
 StmtExpr - This is the GNU Statement Expression extension: ({int X=4; X;}). More...
 
class  ShuffleVectorExpr
 ShuffleVectorExpr - clang-specific builtin-in function __builtin_shufflevector. More...
 
class  ConvertVectorExpr
 ConvertVectorExpr - Clang builtin function __builtin_convertvector This AST node provides support for converting a vector type to another vector type of the same arity. More...
 
class  ChooseExpr
 ChooseExpr - GNU builtin-in function __builtin_choose_expr. More...
 
class  GNUNullExpr
 GNUNullExpr - Implements the GNU __null extension, which is a name for a null pointer constant that has integral type (e.g., int or long) and is the same size and alignment as a pointer. More...
 
class  VAArgExpr
 Represents a call to the builtin function __builtin_va_arg. More...
 
class  SourceLocExpr
 Represents a function call to one of __builtin_LINE(), __builtin_COLUMN(), __builtin_FUNCTION(), __builtin_FUNCSIG(), __builtin_FILE(), __builtin_FILE_NAME() or __builtin_source_location(). More...
 
class  InitListExpr
 Describes an C or C++ initializer list. More...
 
class  DesignatedInitExpr
 Represents a C99 designated initializer expression. More...
 
class  NoInitExpr
 Represents a place-holder for an object not to be initialized by anything. More...
 
class  DesignatedInitUpdateExpr
 
class  ArrayInitLoopExpr
 Represents a loop initializing the elements of an array. More...
 
class  ArrayInitIndexExpr
 Represents the index of the current element of an array being initialized by an ArrayInitLoopExpr. More...
 
class  ImplicitValueInitExpr
 Represents an implicitly-generated value initialization of an object of a given type. More...
 
class  ParenListExpr
 
class  GenericSelectionExpr
 Represents a C11 generic selection. More...
 
class  ExtVectorElementExpr
 ExtVectorElementExpr - This represents access to specific elements of a vector, and may occur on the left hand side or right hand side. More...
 
class  BlockExpr
 BlockExpr - Adaptor class for mixing a BlockDecl with expressions. More...
 
struct  BlockVarCopyInit
 Copy initialization expr of a __block variable and a boolean flag that indicates whether the expression can throw. More...
 
class  AsTypeExpr
 AsTypeExpr - Clang builtin function __builtin_astype [OpenCL 6.2.4.2] This AST node provides support for reinterpreting a type to another type of the same size. More...
 
class  PseudoObjectExpr
 PseudoObjectExpr - An expression which accesses a pseudo-object l-value. More...
 
class  AtomicExpr
 AtomicExpr - Variadic atomic builtins: __atomic_exchange, __atomic_fetch_*, __atomic_load, __atomic_store, and __atomic_compare_exchange_*, for the similarly-named C++11 instructions, and __c11 variants for <stdatomic.h>, and corresponding __opencl_atomic_* for OpenCL 2.0. More...
 
class  TypoExpr
 TypoExpr - Internal placeholder for expressions where typo correction still needs to be performed and/or an error diagnostic emitted. More...
 
class  ArraySectionExpr
 This class represents BOTH the OpenMP Array Section and OpenACC 'subarray', with a boolean differentiator. More...
 
class  RecoveryExpr
 Frontend produces RecoveryExprs on semantic errors that prevent creating other well-formed expressions. More...
 
class  ConceptSpecializationExpr
 Represents the specialization of a concept - evaluates to a prvalue of type bool. More...
 
class  RequiresExpr
 C++2a [expr.prim.req]: A requires-expression provides a concise way to express requirements on template arguments. More...
 
class  CXXOperatorCallExpr
 A call to an overloaded operator written using operator syntax. More...
 
class  CXXMemberCallExpr
 Represents a call to a member function that may be written either with member call syntax (e.g., "obj.func()" or "objptr->func()") or with normal function-call syntax ("func()") within a member function that ends up calling a member function. More...
 
class  CUDAKernelCallExpr
 Represents a call to a CUDA kernel function. More...
 
class  CXXRewrittenBinaryOperator
 A rewritten comparison expression that was originally written using operator syntax. More...
 
class  CXXNamedCastExpr
 Abstract class common to all of the C++ "named"/"keyword" casts. More...
 
class  CXXStaticCastExpr
 A C++ static_cast expression (C++ [expr.static.cast]). More...
 
class  CXXDynamicCastExpr
 A C++ dynamic_cast expression (C++ [expr.dynamic.cast]). More...
 
class  CXXReinterpretCastExpr
 A C++ reinterpret_cast expression (C++ [expr.reinterpret.cast]). More...
 
class  CXXConstCastExpr
 A C++ const_cast expression (C++ [expr.const.cast]). More...
 
class  CXXAddrspaceCastExpr
 A C++ addrspace_cast expression (currently only enabled for OpenCL). More...
 
class  UserDefinedLiteral
 A call to a literal operator (C++11 [over.literal]) written as a user-defined literal (C++11 [lit.ext]). More...
 
class  CXXBoolLiteralExpr
 A boolean literal, per ([C++ lex.bool] Boolean literals). More...
 
class  CXXNullPtrLiteralExpr
 The null pointer literal (C++11 [lex.nullptr]) More...
 
class  CXXStdInitializerListExpr
 Implicit construction of a std::initializer_list<T> object from an array temporary within list-initialization (C++11 [dcl.init.list]p5). More...
 
class  CXXTypeidExpr
 A C++ typeid expression (C++ [expr.typeid]), which gets the type_info that corresponds to the supplied type, or the (possibly dynamic) type of the supplied expression. More...
 
class  MSPropertyRefExpr
 A member reference to an MSPropertyDecl. More...
 
class  MSPropertySubscriptExpr
 MS property subscript expression. More...
 
class  CXXUuidofExpr
 A Microsoft C++ __uuidof expression, which gets the _GUID that corresponds to the supplied type or expression. More...
 
class  CXXThisExpr
 Represents the this expression in C++. More...
 
class  CXXThrowExpr
 A C++ throw-expression (C++ [except.throw]). More...
 
class  CXXDefaultArgExpr
 A default argument (C++ [dcl.fct.default]). More...
 
class  CXXDefaultInitExpr
 A use of a default initializer in a constructor or in aggregate initialization. More...
 
class  CXXTemporary
 Represents a C++ temporary. More...
 
class  CXXBindTemporaryExpr
 Represents binding an expression to a temporary. More...
 
class  CXXConstructExpr
 Represents a call to a C++ constructor. More...
 
class  CXXInheritedCtorInitExpr
 Represents a call to an inherited base class constructor from an inheriting constructor. More...
 
class  CXXFunctionalCastExpr
 Represents an explicit C++ type conversion that uses "functional" notation (C++ [expr.type.conv]). More...
 
class  CXXTemporaryObjectExpr
 Represents a C++ functional cast expression that builds a temporary object. More...
 
class  LambdaExpr
 A C++ lambda expression, which produces a function object (of unspecified type) that can be invoked later. More...
 
class  CXXScalarValueInitExpr
 An expression "T()" which creates a value-initialized rvalue of type T, which is a non-class type. More...
 
class  CXXNewExpr
 Represents a new-expression for memory allocation and constructor calls, e.g: "new CXXNewExpr(foo)". More...
 
class  CXXDeleteExpr
 Represents a delete expression for memory deallocation and destructor calls, e.g. More...
 
class  PseudoDestructorTypeStorage
 Stores the type being destroyed by a pseudo-destructor expression. More...
 
class  CXXPseudoDestructorExpr
 Represents a C++ pseudo-destructor (C++ [expr.pseudo]). More...
 
class  TypeTraitExpr
 A type trait used in the implementation of various C++11 and Library TR1 trait templates. More...
 
class  ArrayTypeTraitExpr
 An Embarcadero array type trait, as used in the implementation of __array_rank and __array_extent. More...
 
class  ExpressionTraitExpr
 An expression trait intrinsic. More...
 
class  OverloadExpr
 A reference to an overloaded function set, either an UnresolvedLookupExpr or an UnresolvedMemberExpr. More...
 
class  UnresolvedLookupExpr
 A reference to a name which we were able to look up during parsing but could not resolve to a specific declaration. More...
 
class  DependentScopeDeclRefExpr
 A qualified reference to a name whose declaration cannot yet be resolved. More...
 
class  ExprWithCleanups
 Represents an expression – generally a full-expression – that introduces cleanups to be run at the end of the sub-expression's evaluation. More...
 
class  CXXUnresolvedConstructExpr
 Describes an explicit type conversion that uses functional notion but could not be resolved because one or more arguments are type-dependent. More...
 
class  CXXDependentScopeMemberExpr
 Represents a C++ member access expression where the actual member referenced could not be resolved because the base expression or the member name was dependent. More...
 
class  UnresolvedMemberExpr
 Represents a C++ member access expression for which lookup produced a set of overloaded functions. More...
 
class  CXXNoexceptExpr
 Represents a C++11 noexcept expression (C++ [expr.unary.noexcept]). More...
 
class  PackExpansionExpr
 Represents a C++11 pack expansion that produces a sequence of expressions. More...
 
class  SizeOfPackExpr
 Represents an expression that computes the length of a parameter pack. More...
 
class  PackIndexingExpr
 
class  SubstNonTypeTemplateParmExpr
 Represents a reference to a non-type template parameter that has been substituted with a template argument. More...
 
class  SubstNonTypeTemplateParmPackExpr
 Represents a reference to a non-type template parameter pack that has been substituted with a non-template argument pack. More...
 
class  FunctionParmPackExpr
 Represents a reference to a function parameter pack or init-capture pack that has been substituted but not yet expanded. More...
 
class  MaterializeTemporaryExpr
 Represents a prvalue temporary that is written into memory so that a reference can bind to it. More...
 
class  CXXFoldExpr
 Represents a folding of a pack over an operator. More...
 
class  CXXParenListInitExpr
 Represents a list-initialization with parenthesis. More...
 
class  CoroutineSuspendExpr
 Represents an expression that might suspend coroutine execution; either a co_await or co_yield expression. More...
 
class  CoawaitExpr
 Represents a 'co_await' expression. More...
 
class  DependentCoawaitExpr
 Represents a 'co_await' expression while the type of the promise is dependent. More...
 
class  CoyieldExpr
 Represents a 'co_yield' expression. More...
 
class  BuiltinBitCastExpr
 Represents a C++2a __builtin_bit_cast(T, v) expression. More...
 
class  SYCLBuiltinNumFieldsExpr
 Represents a __builtin_num_fields expression. More...
 
class  SYCLBuiltinFieldTypeExpr
 Represents a __builtin_field_type expression. More...
 
class  SYCLBuiltinNumBasesExpr
 Represents a __builtin_num_bases expression. More...
 
class  SYCLBuiltinBaseTypeExpr
 Represents a __builtin_base_type expression. More...
 
class  ObjCStringLiteral
 ObjCStringLiteral, used for Objective-C string literals i.e. More...
 
class  ObjCBoolLiteralExpr
 ObjCBoolLiteralExpr - Objective-C Boolean Literal. More...
 
class  ObjCBoxedExpr
 ObjCBoxedExpr - used for generalized expression boxing. More...
 
class  ObjCArrayLiteral
 ObjCArrayLiteral - used for objective-c array containers; as in: @["Hello", NSApp, [NSNumber numberWithInt:42]];. More...
 
struct  ObjCDictionaryElement
 An element in an Objective-C dictionary literal. More...
 
struct  ObjCDictionaryLiteral_KeyValuePair
 Internal struct for storing Key/value pair. More...
 
struct  ObjCDictionaryLiteral_ExpansionData
 Internal struct to describes an element that is a pack expansion, used if any of the elements in the dictionary literal are pack expansions. More...
 
class  ObjCDictionaryLiteral
 ObjCDictionaryLiteral - AST node to represent objective-c dictionary literals; as in:"name" : NSUserName(), @"date" : [NSDate date] };. More...
 
class  ObjCEncodeExpr
 ObjCEncodeExpr, used for @encode in Objective-C. More...
 
class  ObjCSelectorExpr
 ObjCSelectorExpr used for @selector in Objective-C. More...
 
class  ObjCProtocolExpr
 ObjCProtocolExpr used for protocol expression in Objective-C. More...
 
class  ObjCIvarRefExpr
 ObjCIvarRefExpr - A reference to an ObjC instance variable. More...
 
class  ObjCPropertyRefExpr
 ObjCPropertyRefExpr - A dot-syntax expression to access an ObjC property. More...
 
class  ObjCSubscriptRefExpr
 ObjCSubscriptRefExpr - used for array and dictionary subscripting. More...
 
class  ObjCMessageExpr
 An expression that sends a message to the given Objective-C object or class. More...
 
class  ObjCIsaExpr
 ObjCIsaExpr - Represent X->isa and X.isa when X is an ObjC 'id' type. More...
 
class  ObjCIndirectCopyRestoreExpr
 ObjCIndirectCopyRestoreExpr - Represents the passing of a function argument by indirect copy-restore in ARC. More...
 
class  ObjCBridgedCastExpr
 An Objective-C "bridged" cast expression, which casts between Objective-C pointers and C pointers, transferring ownership in the process. More...
 
class  ObjCAvailabilityCheckExpr
 A runtime availability query. More...
 
class  OMPArrayShapingExpr
 An explicit cast in C or a C-style cast in C++, which uses the syntax ([s1][s2]...[sn])expr. More...
 
struct  OMPIteratorHelperData
 Helper expressions and declaration for OMPIteratorExpr class for each iteration space. More...
 
class  OMPIteratorExpr
 OpenMP 5.0 [2.1.6 Iterators] Iterators are identifiers that expand to multiple values in the clause on which they appear. More...
 
class  ExternalASTMerger
 ExternalASTSource implementation that merges information from several ASTContexts. More...
 
class  ExternalASTSource
 Abstract interface for external sources of AST nodes. More...
 
struct  LazyOffsetPtr
 A lazy pointer to an AST node (of base type T) that resides within an external AST source. More...
 
struct  LazyGenerationalUpdatePtr
 A lazy value (of type T) that is within an AST node of type Owner, where the value might change in later generations of the external AST source. More...
 
class  LazyVector
 Represents a lazily-loaded vector of data. More...
 
class  GlobalDecl
 GlobalDecl - represents a global declaration. More...
 
class  NodeStreamer
 
class  JSONNodeDumper
 
class  JSONDumper
 
class  LambdaCapture
 Describes the capture of a variable or of this, or of a C++1y init-capture. More...
 
class  LexicallyOrderedRecursiveASTVisitor
 A RecursiveASTVisitor subclass that guarantees that AST traversal is performed in a lexical order (i.e. More...
 
class  LocInfoType
 Holds a QualType and a TypeSourceInfo* that came out of a declarator parsing. More...
 
class  MangleContext
 MangleContext - Context for tracking state which persists across multiple calls to the C++ name mangler. More...
 
class  ItaniumMangleContext
 
class  MicrosoftMangleContext
 
class  ASTNameGenerator
 
class  MangleNumberingContext
 Keeps track of the mangled names of lambda expressions and block literals within a particular context. More...
 
class  NestedNameSpecifier
 Represents a C++ nested name specifier, such as "\::std::vector<int>::". More...
 
class  NestedNameSpecifierLoc
 A C++ nested-name-specifier augmented with source location information. More...
 
class  NestedNameSpecifierLocBuilder
 Class that aids in the construction of nested-name-specifiers along with source-location information for all of the components of the nested-name-specifier. More...
 
struct  DestructedTypeVisitor
 
struct  DefaultInitializedTypeVisitor
 
struct  CopiedTypeVisitor
 
class  NSAPI
 
class  ODRDiagsEmitter
 
class  ODRHash
 
class  OpenACCClause
 This is the base type for all OpenACC Clauses. More...
 
class  OpenACCClauseWithParams
 Represents a clause that has a list of parameters. More...
 
class  OpenACCDeviceTypeClause
 A 'device_type' or 'dtype' clause, takes a list of either an 'asterisk' or an identifier. More...
 
class  OpenACCDefaultClause
 A 'default' clause, has the optional 'none' or 'present' argument. More...
 
class  OpenACCClauseWithCondition
 Represents one of the handful of classes that has an optional/required 'condition' expression as an argument. More...
 
class  OpenACCIfClause
 An 'if' clause, which has a required condition expression. More...
 
class  OpenACCSelfClause
 A 'self' clause, which has an optional condition expression. More...
 
class  OpenACCClauseWithExprs
 Represents a clause that has one or more expressions associated with it. More...
 
class  OpenACCWaitClause
 
class  OpenACCNumGangsClause
 
class  OpenACCClauseWithSingleIntExpr
 Represents one of a handful of clauses that have a single integer expression. More...
 
class  OpenACCNumWorkersClause
 
class  OpenACCVectorLengthClause
 
class  OpenACCAsyncClause
 
class  OpenACCClauseWithVarList
 Represents a clause with one or more 'var' objects, represented as an expr, as its arguments. More...
 
class  OpenACCPrivateClause
 
class  OpenACCFirstPrivateClause
 
class  OpenACCDevicePtrClause
 
class  OpenACCAttachClause
 
class  OpenACCNoCreateClause
 
class  OpenACCPresentClause
 
class  OpenACCCopyClause
 
class  OpenACCCopyInClause
 
class  OpenACCCopyOutClause
 
class  OpenACCCreateClause
 
class  OpenACCReductionClause
 
class  OpenACCClauseVisitor
 
class  OpenACCClausePrinter
 
class  OMPClause
 This is a basic class for representing single OpenMP clause. More...
 
struct  OMPNoChildClause
 
class  OMPOneStmtClause
 
class  OMPClauseWithPreInit
 Class that handles pre-initialization statement for some clauses, like 'shedule', 'firstprivate' etc. More...
 
class  OMPClauseWithPostUpdate
 Class that handles post-update expression for some clauses, like 'lastprivate', 'reduction' etc. More...
 
struct  OMPVarListLocTy
 This structure contains most locations needed for by an OMPVarListClause. More...
 
class  OMPVarListClause
 This represents clauses with the list of variables like 'private', 'firstprivate', 'copyin', 'shared', or 'reduction' clauses in the '#pragma omp ...' directives. More...
 
class  OMPAllocatorClause
 This represents 'allocator' clause in the '#pragma omp ...' directive. More...
 
class  OMPAlignClause
 This represents the 'align' clause in the '#pragma omp allocate' directive. More...
 
class  OMPAllocateClause
 This represents clause 'allocate' in the '#pragma omp ...' directives. More...
 
class  OMPIfClause
 This represents 'if' clause in the '#pragma omp ...' directive. More...
 
class  OMPFinalClause
 This represents 'final' clause in the '#pragma omp ...' directive. More...
 
class  OMPNumThreadsClause
 This represents 'num_threads' clause in the '#pragma omp ...' directive. More...
 
class  OMPSafelenClause
 This represents 'safelen' clause in the '#pragma omp ...' directive. More...
 
class  OMPSimdlenClause
 This represents 'simdlen' clause in the '#pragma omp ...' directive. More...
 
class  OMPSizesClause
 This represents the 'sizes' clause in the '#pragma omp tile' directive. More...
 
class  OMPFullClause
 Representation of the 'full' clause of the '#pragma omp unroll' directive. More...
 
class  OMPPartialClause
 Representation of the 'partial' clause of the '#pragma omp unroll' directive. More...
 
class  OMPCollapseClause
 This represents 'collapse' clause in the '#pragma omp ...' directive. More...
 
class  OMPDefaultClause
 This represents 'default' clause in the '#pragma omp ...' directive. More...
 
class  OMPProcBindClause
 This represents 'proc_bind' clause in the '#pragma omp ...' directive. More...
 
class  OMPUnifiedAddressClause
 This represents 'unified_address' clause in the '#pragma omp requires' directive. More...
 
class  OMPUnifiedSharedMemoryClause
 This represents 'unified_shared_memory' clause in the '#pragma omp requires' directive. More...
 
class  OMPReverseOffloadClause
 This represents 'reverse_offload' clause in the '#pragma omp requires' directive. More...
 
class  OMPDynamicAllocatorsClause
 This represents 'dynamic_allocators' clause in the '#pragma omp requires' directive. More...
 
class  OMPAtomicDefaultMemOrderClause
 This represents 'atomic_default_mem_order' clause in the '#pragma omp requires' directive. More...
 
class  OMPAtClause
 This represents 'at' clause in the '#pragma omp error' directive. More...
 
class  OMPSeverityClause
 This represents 'severity' clause in the '#pragma omp error' directive. More...
 
class  OMPMessageClause
 This represents 'message' clause in the '#pragma omp error' directive. More...
 
class  OMPScheduleClause
 This represents 'schedule' clause in the '#pragma omp ...' directive. More...
 
class  OMPOrderedClause
 This represents 'ordered' clause in the '#pragma omp ...' directive. More...
 
class  OMPNowaitClause
 This represents 'nowait' clause in the '#pragma omp ...' directive. More...
 
class  OMPUntiedClause
 This represents 'untied' clause in the '#pragma omp ...' directive. More...
 
class  OMPMergeableClause
 This represents 'mergeable' clause in the '#pragma omp ...' directive. More...
 
class  OMPReadClause
 This represents 'read' clause in the '#pragma omp atomic' directive. More...
 
class  OMPWriteClause
 This represents 'write' clause in the '#pragma omp atomic' directive. More...
 
class  OMPUpdateClause
 This represents 'update' clause in the '#pragma omp atomic' directive. More...
 
class  OMPCaptureClause
 This represents 'capture' clause in the '#pragma omp atomic' directive. More...
 
class  OMPCompareClause
 This represents 'compare' clause in the '#pragma omp atomic' directive. More...
 
class  OMPSeqCstClause
 This represents 'seq_cst' clause in the '#pragma omp atomic' directive. More...
 
class  OMPAcqRelClause
 This represents 'acq_rel' clause in the '#pragma omp atomic|flush' directives. More...
 
class  OMPAcquireClause
 This represents 'acquire' clause in the '#pragma omp atomic|flush' directives. More...
 
class  OMPReleaseClause
 This represents 'release' clause in the '#pragma omp atomic|flush' directives. More...
 
class  OMPRelaxedClause
 This represents 'relaxed' clause in the '#pragma omp atomic' directives. More...
 
class  OMPWeakClause
 This represents 'weak' clause in the '#pragma omp atomic' directives. More...
 
class  OMPFailClause
 This represents 'fail' clause in the '#pragma omp atomic' directive. More...
 
class  OMPPrivateClause
 This represents clause 'private' in the '#pragma omp ...' directives. More...
 
class  OMPFirstprivateClause
 This represents clause 'firstprivate' in the '#pragma omp ...' directives. More...
 
class  OMPLastprivateClause
 This represents clause 'lastprivate' in the '#pragma omp ...' directives. More...
 
class  OMPSharedClause
 This represents clause 'shared' in the '#pragma omp ...' directives. More...
 
class  OMPReductionClause
 This represents clause 'reduction' in the '#pragma omp ...' directives. More...
 
class  OMPTaskReductionClause
 This represents clause 'task_reduction' in the '#pragma omp taskgroup' directives. More...
 
class  OMPInReductionClause
 This represents clause 'in_reduction' in the '#pragma omp task' directives. More...
 
class  OMPLinearClause
 This represents clause 'linear' in the '#pragma omp ...' directives. More...
 
class  OMPAlignedClause
 This represents clause 'aligned' in the '#pragma omp ...' directives. More...
 
class  OMPCopyinClause
 This represents clause 'copyin' in the '#pragma omp ...' directives. More...
 
class  OMPCopyprivateClause
 This represents clause 'copyprivate' in the '#pragma omp ...' directives. More...
 
class  OMPFlushClause
 This represents implicit clause 'flush' for the '#pragma omp flush' directive. More...
 
class  OMPDepobjClause
 This represents implicit clause 'depobj' for the '#pragma omp depobj' directive. More...
 
class  OMPDependClause
 This represents implicit clause 'depend' for the '#pragma omp task' directive. More...
 
class  OMPDeviceClause
 This represents 'device' clause in the '#pragma omp ...' directive. More...
 
class  OMPThreadsClause
 This represents 'threads' clause in the '#pragma omp ...' directive. More...
 
class  OMPSIMDClause
 This represents 'simd' clause in the '#pragma omp ...' directive. More...
 
class  OMPClauseMappableExprCommon
 Struct that defines common infrastructure to handle mappable expressions used in OpenMP clauses. More...
 
struct  OMPMappableExprListSizeTy
 This structure contains all sizes needed for by an OMPMappableExprListClause. More...
 
class  OMPMappableExprListClause
 This represents clauses with a list of expressions that are mappable. More...
 
class  OMPMapClause
 This represents clause 'map' in the '#pragma omp ...' directives. More...
 
class  OMPNumTeamsClause
 This represents 'num_teams' clause in the '#pragma omp ...' directive. More...
 
class  OMPThreadLimitClause
 This represents 'thread_limit' clause in the '#pragma omp ...' directive. More...
 
class  OMPPriorityClause
 This represents 'priority' clause in the '#pragma omp ...' directive. More...
 
class  OMPGrainsizeClause
 This represents 'grainsize' clause in the '#pragma omp ...' directive. More...
 
class  OMPNogroupClause
 This represents 'nogroup' clause in the '#pragma omp ...' directive. More...
 
class  OMPNumTasksClause
 This represents 'num_tasks' clause in the '#pragma omp ...' directive. More...
 
class  OMPHintClause
 This represents 'hint' clause in the '#pragma omp ...' directive. More...
 
class  OMPDistScheduleClause
 This represents 'dist_schedule' clause in the '#pragma omp ...' directive. More...
 
class  OMPDefaultmapClause
 This represents 'defaultmap' clause in the '#pragma omp ...' directive. More...
 
class  OMPToClause
 This represents clause 'to' in the '#pragma omp ...' directives. More...
 
class  OMPFromClause
 This represents clause 'from' in the '#pragma omp ...' directives. More...
 
class  OMPUseDevicePtrClause
 This represents clause 'use_device_ptr' in the '#pragma omp ...' directives. More...
 
class  OMPUseDeviceAddrClause
 This represents clause 'use_device_addr' in the '#pragma omp ...' directives. More...
 
class  OMPIsDevicePtrClause
 This represents clause 'is_device_ptr' in the '#pragma omp ...' directives. More...
 
class  OMPHasDeviceAddrClause
 This represents clause 'has_device_ptr' in the '#pragma omp ...' directives. More...
 
class  OMPNontemporalClause
 This represents clause 'nontemporal' in the '#pragma omp ...' directives. More...
 
class  OMPOrderClause
 This represents 'order' clause in the '#pragma omp ...' directive. More...
 
class  OMPInitClause
 This represents the 'init' clause in '#pragma omp ...' directives. More...
 
class  OMPUseClause
 This represents the 'use' clause in '#pragma omp ...' directives. More...
 
class  OMPDestroyClause
 This represents 'destroy' clause in the '#pragma omp depobj' directive or the '#pragma omp interop' directive. More...
 
class  OMPNovariantsClause
 This represents 'novariants' clause in the '#pragma omp ...' directive. More...
 
class  OMPNocontextClause
 This represents 'nocontext' clause in the '#pragma omp ...' directive. More...
 
class  OMPDetachClause
 This represents 'detach' clause in the '#pragma omp task' directive. More...
 
class  OMPInclusiveClause
 This represents clause 'inclusive' in the '#pragma omp scan' directive. More...
 
class  OMPExclusiveClause
 This represents clause 'exclusive' in the '#pragma omp scan' directive. More...
 
class  OMPUsesAllocatorsClause
 This represents clause 'uses_allocators' in the '#pragma omp target'-based directives. More...
 
class  OMPAffinityClause
 This represents clause 'affinity' in the '#pragma omp task'-based directives. More...
 
class  OMPFilterClause
 This represents 'filter' clause in the '#pragma omp ...' directive. More...
 
class  OMPBindClause
 This represents 'bind' clause in the '#pragma omp ...' directives. More...
 
class  OMPClauseVisitorBase
 This class implements a simple visitor for OMPClause subclasses. More...
 
class  OMPClauseVisitor
 
class  ConstOMPClauseVisitor
 
class  OMPClausePrinter
 
struct  OMPTraitProperty
 
struct  OMPTraitSelector
 
struct  OMPTraitSet
 
class  OMPTraitInfo
 Helper data structure representing the traits in a match clause of an declare variant or metadirective. More...
 
struct  TargetOMPContext
 Clang specific specialization of the OMPContext to lookup target features. More...
 
class  OMPChildren
 Contains data for OpenMP directives: clauses, children expressions/statements (helpers for codegen) and associated statement, if any. More...
 
class  OMPXDynCGroupMemClause
 This represents 'ompx_dyn_cgroup_mem' clause in the '#pragma omp target ...' directive. More...
 
class  OMPDoacrossClause
 This represents the 'doacross' clause for the '#pragma omp ordered' directive. More...
 
class  OMPXAttributeClause
 This represents 'ompx_attribute' clause in a directive that might generate an outlined function. More...
 
class  OMPXBareClause
 This represents 'ompx_bare' clause in the '#pragma omp target teams ...' directive. More...
 
class  OptionalDiagnostic
 A partial diagnostic which we might know in advance that we are not going to emit. More...
 
class  ParentMap
 
class  ParentMapContext
 
class  TraversalKindScope
 
class  DynTypedNodeList
 Container for either a single DynTypedNode or for an ArrayRef to DynTypedNode. More...
 
class  PrettyDeclStackTraceEntry
 PrettyDeclStackTraceEntry - If a crash occurs in the parser while parsing something related to a declaration, include that declaration in the stack trace. More...
 
class  PrinterHelper
 
class  PrintingCallbacks
 Callbacks to use to customize the behavior of the pretty-printer. More...
 
struct  PrintingPolicy
 Describes how types, statements, expressions, and declarations should be printed. More...
 
class  RawComment
 
class  RawCommentList
 This class represents all comments included in the translation unit, sorted in order of appearance in the translation unit. More...
 
class  ASTRecordLayout
 ASTRecordLayout - This class contains layout information for one RecordDecl, which is a struct/union/class. More...
 
class  RecursiveASTVisitor
 A class that does preorder or postorder depth-first traversal on the entire Clang AST and visits each node. More...
 
class  Redeclarable
 Provides common interface for the Decls that can be redeclared. More...
 
class  Mergeable
 Provides common interface for the Decls that cannot be redeclared, but can be merged if the same declaration is brought in from multiple modules. More...
 
class  CanonicalDeclPtr
 A wrapper class around a pointer that always points to its canonical declaration. More...
 
class  Stmt
 Stmt - This represents one statement. More...
 
class  DeclStmt
 DeclStmt - Adaptor class for mixing declarations with statements and expressions. More...
 
class  NullStmt
 NullStmt - This is the null statement ";": C99 6.8.3p3. More...
 
class  CompoundStmt
 CompoundStmt - This represents a group of statements like { stmt stmt }. More...
 
class  SwitchCase
 
class  CaseStmt
 CaseStmt - Represent a case statement. More...
 
class  DefaultStmt
 
class  ValueStmt
 Represents a statement that could possibly have a value and type. More...
 
class  LabelStmt
 LabelStmt - Represents a label, which has a substatement. More...
 
class  AttributedStmt
 Represents an attribute applied to a statement. More...
 
class  IfStmt
 IfStmt - This represents an if/then/else. More...
 
class  SwitchStmt
 SwitchStmt - This represents a 'switch' stmt. More...
 
class  WhileStmt
 WhileStmt - This represents a 'while' stmt. More...
 
class  DoStmt
 DoStmt - This represents a 'do/while' stmt. More...
 
class  ForStmt
 ForStmt - This represents a 'for (init;cond;inc)' stmt. More...
 
class  GotoStmt
 GotoStmt - This represents a direct goto. More...
 
class  IndirectGotoStmt
 IndirectGotoStmt - This represents an indirect goto. More...
 
class  ContinueStmt
 ContinueStmt - This represents a continue. More...
 
class  BreakStmt
 BreakStmt - This represents a break. More...
 
class  ReturnStmt
 ReturnStmt - This represents a return, optionally of an expression: return; return 4;. More...
 
class  AsmStmt
 AsmStmt is the base class for GCCAsmStmt and MSAsmStmt. More...
 
class  GCCAsmStmt
 This represents a GCC inline-assembly statement extension. More...
 
class  MSAsmStmt
 This represents a Microsoft inline-assembly statement extension. More...
 
class  SEHExceptStmt
 
class  SEHFinallyStmt
 
class  SEHTryStmt
 
class  SEHLeaveStmt
 Represents a __leave statement. More...
 
class  CapturedStmt
 This captures a statement into a function. More...
 
class  CXXCatchStmt
 CXXCatchStmt - This represents a C++ catch block. More...
 
class  CXXTryStmt
 CXXTryStmt - A C++ try block, including all handlers. More...
 
class  CXXForRangeStmt
 CXXForRangeStmt - This represents C++0x [stmt.ranged]'s ranged for statement, represented as 'for (range-declarator : range-expression)' or 'for (init-statement range-declarator : range-expression)'. More...
 
class  MSDependentExistsStmt
 Representation of a Microsoft __if_exists or __if_not_exists statement with a dependent name. More...
 
class  CoroutineBodyStmt
 Represents the body of a coroutine. More...
 
class  CoreturnStmt
 Represents a 'co_return' statement in the C++ Coroutines TS. More...
 
class  StmtIteratorBase
 
class  StmtIteratorImpl
 
struct  StmtIterator
 
struct  ConstStmtIterator
 
class  ObjCForCollectionStmt
 Represents Objective-C's collection statement. More...
 
class  ObjCAtCatchStmt
 Represents Objective-C's @catch statement. More...
 
class  ObjCAtFinallyStmt
 Represents Objective-C's @finally statement. More...
 
class  ObjCAtTryStmt
 Represents Objective-C's @try ... @catch ... @finally statement. More...
 
class  ObjCAtSynchronizedStmt
 Represents Objective-C's @synchronized statement. More...
 
class  ObjCAtThrowStmt
 Represents Objective-C's @throw statement. More...
 
class  ObjCAutoreleasePoolStmt
 Represents Objective-C's @autoreleasepool Statement. More...
 
class  OpenACCConstructStmt
 This is the base class for an OpenACC statement-level construct, other construct types are expected to inherit from this. More...
 
class  OpenACCAssociatedStmtConstruct
 This is a base class for any OpenACC statement-level constructs that have an associated statement. More...
 
class  OpenACCComputeConstruct
 This class represents a compute construct, representing a 'Kind' of ‘parallel’, 'serial', or 'kernel'. More...
 
class  OMPCanonicalLoop
 Representation of an OpenMP canonical loop. More...
 
class  OMPExecutableDirective
 This is a basic class for representing single OpenMP executable directive. More...
 
class  OMPParallelDirective
 This represents '#pragma omp parallel' directive. More...
 
class  OMPLoopBasedDirective
 The base class for all loop-based directives, including loop transformation directives. More...
 
class  OMPLoopTransformationDirective
 The base class for all loop transformation directives. More...
 
class  OMPLoopDirective
 This is a common base class for loop directives ('omp simd', 'omp for', 'omp for simd' etc.). More...
 
class  OMPSimdDirective
 This represents '#pragma omp simd' directive. More...
 
class  OMPForDirective
 This represents '#pragma omp for' directive. More...
 
class  OMPForSimdDirective
 This represents '#pragma omp for simd' directive. More...
 
class  OMPSectionsDirective
 This represents '#pragma omp sections' directive. More...
 
class  OMPSectionDirective
 This represents '#pragma omp section' directive. More...
 
class  OMPScopeDirective
 This represents '#pragma omp scope' directive. More...
 
class  OMPSingleDirective
 This represents '#pragma omp single' directive. More...
 
class  OMPMasterDirective
 This represents '#pragma omp master' directive. More...
 
class  OMPCriticalDirective
 This represents '#pragma omp critical' directive. More...
 
class  OMPParallelForDirective
 This represents '#pragma omp parallel for' directive. More...
 
class  OMPParallelForSimdDirective
 This represents '#pragma omp parallel for simd' directive. More...
 
class  OMPParallelMasterDirective
 This represents '#pragma omp parallel master' directive. More...
 
class  OMPParallelMaskedDirective
 This represents '#pragma omp parallel masked' directive. More...
 
class  OMPParallelSectionsDirective
 This represents '#pragma omp parallel sections' directive. More...
 
class  OMPTaskDirective
 This represents '#pragma omp task' directive. More...
 
class  OMPTaskyieldDirective
 This represents '#pragma omp taskyield' directive. More...
 
class  OMPBarrierDirective
 This represents '#pragma omp barrier' directive. More...
 
class  OMPTaskwaitDirective
 This represents '#pragma omp taskwait' directive. More...
 
class  OMPTaskgroupDirective
 This represents '#pragma omp taskgroup' directive. More...
 
class  OMPFlushDirective
 This represents '#pragma omp flush' directive. More...
 
class  OMPDepobjDirective
 This represents '#pragma omp depobj' directive. More...
 
class  OMPOrderedDirective
 This represents '#pragma omp ordered' directive. More...
 
class  OMPAtomicDirective
 This represents '#pragma omp atomic' directive. More...
 
class  OMPTargetDirective
 This represents '#pragma omp target' directive. More...
 
class  OMPTargetDataDirective
 This represents '#pragma omp target data' directive. More...
 
class  OMPTargetEnterDataDirective
 This represents '#pragma omp target enter data' directive. More...
 
class  OMPTargetExitDataDirective
 This represents '#pragma omp target exit data' directive. More...
 
class  OMPTargetParallelDirective
 This represents '#pragma omp target parallel' directive. More...
 
class  OMPTargetParallelForDirective
 This represents '#pragma omp target parallel for' directive. More...
 
class  OMPTeamsDirective
 This represents '#pragma omp teams' directive. More...
 
class  OMPCancellationPointDirective
 This represents '#pragma omp cancellation point' directive. More...
 
class  OMPCancelDirective
 This represents '#pragma omp cancel' directive. More...
 
class  OMPTaskLoopDirective
 This represents '#pragma omp taskloop' directive. More...
 
class  OMPTaskLoopSimdDirective
 This represents '#pragma omp taskloop simd' directive. More...
 
class  OMPMasterTaskLoopDirective
 This represents '#pragma omp master taskloop' directive. More...
 
class  OMPMaskedTaskLoopDirective
 This represents '#pragma omp masked taskloop' directive. More...
 
class  OMPMasterTaskLoopSimdDirective
 This represents '#pragma omp master taskloop simd' directive. More...
 
class  OMPMaskedTaskLoopSimdDirective
 This represents '#pragma omp masked taskloop simd' directive. More...
 
class  OMPParallelMasterTaskLoopDirective
 This represents '#pragma omp parallel master taskloop' directive. More...
 
class  OMPParallelMaskedTaskLoopDirective
 This represents '#pragma omp parallel masked taskloop' directive. More...
 
class  OMPParallelMasterTaskLoopSimdDirective
 This represents '#pragma omp parallel master taskloop simd' directive. More...
 
class  OMPParallelMaskedTaskLoopSimdDirective
 This represents '#pragma omp parallel masked taskloop simd' directive. More...
 
class  OMPDistributeDirective
 This represents '#pragma omp distribute' directive. More...
 
class  OMPTargetUpdateDirective
 This represents '#pragma omp target update' directive. More...
 
class  OMPDistributeParallelForDirective
 This represents '#pragma omp distribute parallel for' composite directive. More...
 
class  OMPDistributeParallelForSimdDirective
 This represents '#pragma omp distribute parallel for simd' composite directive. More...
 
class  OMPDistributeSimdDirective
 This represents '#pragma omp distribute simd' composite directive. More...
 
class  OMPTargetParallelForSimdDirective
 This represents '#pragma omp target parallel for simd' directive. More...
 
class  OMPTargetSimdDirective
 This represents '#pragma omp target simd' directive. More...
 
class  OMPTeamsDistributeDirective
 This represents '#pragma omp teams distribute' directive. More...
 
class  OMPTeamsDistributeSimdDirective
 This represents '#pragma omp teams distribute simd' combined directive. More...
 
class  OMPTeamsDistributeParallelForSimdDirective
 This represents '#pragma omp teams distribute parallel for simd' composite directive. More...
 
class  OMPTeamsDistributeParallelForDirective
 This represents '#pragma omp teams distribute parallel for' composite directive. More...
 
class  OMPTargetTeamsDirective
 This represents '#pragma omp target teams' directive. More...
 
class  OMPTargetTeamsDistributeDirective
 This represents '#pragma omp target teams distribute' combined directive. More...
 
class  OMPTargetTeamsDistributeParallelForDirective
 This represents '#pragma omp target teams distribute parallel for' combined directive. More...
 
class  OMPTargetTeamsDistributeParallelForSimdDirective
 This represents '#pragma omp target teams distribute parallel for simd' combined directive. More...
 
class  OMPTargetTeamsDistributeSimdDirective
 This represents '#pragma omp target teams distribute simd' combined directive. More...
 
class  OMPTileDirective
 This represents the '#pragma omp tile' loop transformation directive. More...
 
class  OMPUnrollDirective
 This represents the '#pragma omp unroll' loop transformation directive. More...
 
class  OMPScanDirective
 This represents '#pragma omp scan' directive. More...
 
class  OMPInteropDirective
 This represents '#pragma omp interop' directive. More...
 
class  OMPDispatchDirective
 This represents '#pragma omp dispatch' directive. More...
 
class  OMPMaskedDirective
 This represents '#pragma omp masked' directive. More...
 
class  OMPMetaDirective
 This represents '#pragma omp metadirective' directive. More...
 
class  OMPGenericLoopDirective
 This represents '#pragma omp loop' directive. More...
 
class  OMPTeamsGenericLoopDirective
 This represents '#pragma omp teams loop' directive. More...
 
class  OMPTargetTeamsGenericLoopDirective
 This represents '#pragma omp target teams loop' directive. More...
 
class  OMPParallelGenericLoopDirective
 This represents '#pragma omp parallel loop' directive. More...
 
class  OMPTargetParallelGenericLoopDirective
 This represents '#pragma omp target parallel loop' directive. More...
 
class  OMPErrorDirective
 This represents '#pragma omp error' directive. More...
 
class  StmtVisitorBase
 StmtVisitorBase - This class implements a simple visitor for Stmt subclasses. More...
 
class  StmtVisitor
 StmtVisitor - This class implements a simple visitor for Stmt subclasses. More...
 
class  ConstStmtVisitor
 ConstStmtVisitor - This class implements a simple visitor for Stmt subclasses. More...
 
class  TemplateArgumentVisitor
 A simple visitor class that helps create template argument visitors. More...
 
class  ConstTemplateArgumentVisitor
 A simple visitor class that helps create template argument visitors. More...
 
class  TemplateArgument
 Represents a template argument. More...
 
struct  TemplateArgumentLocInfo
 Location information for a TemplateArgument. More...
 
class  TemplateArgumentLoc
 Location wrapper for a TemplateArgument. More...
 
class  TemplateArgumentListInfo
 A convenient class for passing around template argument information. More...
 
struct  ASTTemplateArgumentListInfo
 Represents an explicit template argument list in C++, e.g., the "<int>" in "sort<int>". More...
 
struct  ASTTemplateKWAndArgsInfo
 Represents an explicit template argument list in C++, e.g., the "<int>" in "sort<int>". More...
 
class  UncommonTemplateNameStorage
 Implementation class used to describe either a set of overloaded template names or an already-substituted template template parameter pack. More...
 
class  OverloadedTemplateStorage
 A structure for storing the information associated with an overloaded template name. More...
 
class  SubstTemplateTemplateParmPackStorage
 A structure for storing an already-substituted template template parameter pack. More...
 
class  TemplateName
 Represents a C++ template name within the type system. More...
 
class  SubstTemplateTemplateParmStorage
 A structure for storing the information associated with a substituted template template parameter. More...
 
class  QualifiedTemplateName
 Represents a template name that was expressed as a qualified name. More...
 
class  DependentTemplateName
 Represents a dependent template name that cannot be resolved prior to template instantiation. More...
 
class  TextTreeStructure
 
class  TextNodeDumper
 
class  PointerAuthQualifier
 Pointer-authentication qualifiers. More...
 
class  Qualifiers
 The collection of all-type qualifiers we support. More...
 
class  QualifiersAndAtomic
 
struct  SplitQualType
 A std::pair-like structure for storing a qualified type split into its local qualifiers and its locally-unqualified type. More...
 
class  QualType
 A (possibly-)qualified type. More...
 
class  ExtQualsTypeCommonBase
 Base class that is common to both the ExtQuals and Type classes, which allows QualType to access the common fields between the two. More...
 
class  ExtQuals
 We can encode up to four bits in the low bits of a type pointer, but there are many more type qualifiers that we want to be able to apply to an arbitrary type. More...
 
class  Type
 The base class of the type hierarchy. More...
 
class  BuiltinType
 This class is used for builtin types like 'int'. More...
 
class  ComplexType
 Complex values, per C99 6.2.5p11. More...
 
class  ParenType
 Sugar for parentheses used when specifying types. More...
 
class  PointerType
 PointerType - C99 6.7.5.1 - Pointer Declarators. More...
 
class  TypeCoupledDeclRefInfo
 [BoundsSafety] Represents information of declarations referenced by the arguments of the counted_by attribute and the likes. More...
 
class  BoundsAttributedType
 [BoundsSafety] Represents a parent type class for CountAttributedType and similar sugar types that will be introduced to represent a type with a bounds attribute. More...
 
class  CountAttributedType
 Represents a sugar type with __counted_by or __sized_by annotations, including their _or_null variants. More...
 
class  AdjustedType
 Represents a type which was implicitly adjusted by the semantic engine for arbitrary reasons. More...
 
class  DecayedType
 Represents a pointer type decayed from an array or function type. More...
 
class  BlockPointerType
 Pointer to a block type. More...
 
class  ReferenceType
 Base for LValueReferenceType and RValueReferenceType. More...
 
class  LValueReferenceType
 An lvalue reference type, per C++11 [dcl.ref]. More...
 
class  RValueReferenceType
 An rvalue reference type, per C++11 [dcl.ref]. More...
 
class  MemberPointerType
 A pointer to member type per C++ 8.3.3 - Pointers to members. More...
 
class  ArrayType
 Represents an array type, per C99 6.7.5.2 - Array Declarators. More...
 
class  ConstantArrayType
 Represents the canonical version of C arrays with a specified constant size. More...
 
class  ArrayParameterType
 Represents a constant array type that does not decay to a pointer when used as a function parameter. More...
 
class  IncompleteArrayType
 Represents a C array with an unspecified size. More...
 
class  VariableArrayType
 Represents a C array with a specified size that is not an integer-constant-expression. More...
 
class  DependentSizedArrayType
 Represents an array type in C++ whose size is a value-dependent expression. More...
 
class  DependentAddressSpaceType
 Represents an extended address space qualifier where the input address space value is dependent. More...
 
class  DependentSizedExtVectorType
 Represents an extended vector type where either the type or size is dependent. More...
 
class  VectorType
 Represents a GCC generic vector type. More...
 
class  DependentVectorType
 Represents a vector type where either the type or size is dependent. More...
 
class  ExtVectorType
 ExtVectorType - Extended vector type. More...
 
class  MatrixType
 Represents a matrix type, as defined in the Matrix Types clang extensions. More...
 
class  ConstantMatrixType
 Represents a concrete matrix type with constant number of rows and columns. More...
 
class  DependentSizedMatrixType
 Represents a matrix type where the type and the number of rows and columns is dependent on a template. More...
 
class  FunctionType
 FunctionType - C99 6.7.5.3 - Function Declarators. More...
 
class  FunctionNoProtoType
 Represents a K&R-style 'int foo()' function, which has no information available about its arguments. More...
 
class  FunctionProtoType
 Represents a prototype with parameter type info, e.g. More...
 
class  UnresolvedUsingType
 Represents the dependent type named by a dependently-scoped typename using declaration, e.g. More...
 
class  UsingType
 
class  TypedefType
 
class  MacroQualifiedType
 Sugar type that represents a type that was qualified by a qualifier written as a macro invocation. More...
 
class  TypeOfExprType
 Represents a typeof (or typeof) expression (a C23 feature and GCC extension) or a typeof_unqual expression (a C23 feature). More...
 
class  DependentTypeOfExprType
 Internal representation of canonical, dependent typeof(expr) types. More...
 
class  TypeOfType
 Represents typeof(type), a C23 feature and GCC extension, or `typeof_unqual(type), a C23 feature. More...
 
class  DecltypeType
 Represents the type decltype(expr) (C++11). More...
 
class  DependentDecltypeType
 Internal representation of canonical, dependent decltype(expr) types. More...
 
class  PackIndexingType
 
class  UnaryTransformType
 A unary type transform, which is a type constructed from another. More...
 
class  DependentUnaryTransformType
 Internal representation of canonical, dependent __underlying_type(type) types. More...
 
class  TagType
 
class  RecordType
 A helper class that allows the use of isa/cast/dyncast to detect TagType objects of structs/unions/classes. More...
 
class  EnumType
 A helper class that allows the use of isa/cast/dyncast to detect TagType objects of enums. More...
 
class  AttributedType
 An attributed type is a type to which a type attribute has been applied. More...
 
class  BTFTagAttributedType
 
class  TemplateTypeParmType
 
class  SubstTemplateTypeParmType
 Represents the result of substituting a type for a template type parameter. More...
 
class  SubstTemplateTypeParmPackType
 Represents the result of substituting a set of types for a template type parameter pack. More...
 
class  DeducedType
 Common base class for placeholders for types that get replaced by placeholder type deduction: C++11 auto, C++14 decltype(auto), C++17 deduced class template types, and constrained type names. More...
 
class  AutoType
 Represents a C++11 auto or C++14 decltype(auto) type, possibly constrained by a type-constraint. More...
 
class  DeducedTemplateSpecializationType
 Represents a C++17 deduced template specialization type. More...
 
class  TemplateSpecializationType
 Represents a type template specialization; the template must be a class template, a type alias template, or a template template parameter. More...
 
class  InjectedClassNameType
 The injected class name of a C++ class template or class template partial specialization. More...
 
class  TypeWithKeyword
 A helper class for Type nodes having an ElaboratedTypeKeyword. More...
 
class  ElaboratedType
 Represents a type that was referred to using an elaborated type keyword, e.g., struct S, or via a qualified name, e.g., N::M::type, or both. More...
 
class  DependentNameType
 Represents a qualified type name for which the type name is dependent. More...
 
class  DependentTemplateSpecializationType
 Represents a template specialization type whose template cannot be resolved, e.g. More...
 
class  PackExpansionType
 Represents a pack expansion of types. More...
 
class  ObjCProtocolQualifiers
 This class wraps the list of protocol qualifiers. More...
 
class  ObjCTypeParamType
 Represents a type parameter type in Objective C. More...
 
class  ObjCObjectType
 Represents a class type in Objective C. More...
 
class  ObjCObjectTypeImpl
 A class providing a concrete implementation of ObjCObjectType, so as to not increase the footprint of ObjCInterfaceType. More...
 
class  ObjCInterfaceType
 Interfaces are the core concept in Objective-C for object oriented design. More...
 
class  ObjCObjectPointerType
 Represents a pointer to an Objective C object. More...
 
class  AtomicType
 
class  PipeType
 PipeType - OpenCL20. More...
 
class  BitIntType
 A fixed int type of a specified bitwidth. More...
 
class  DependentBitIntType
 
class  QualifierCollector
 A qualifier set is used to build a set of qualifiers. More...
 
class  TypeSourceInfo
 A container of type source information. More...
 
class  TypeLoc
 Base wrapper for a particular "section" of type source info. More...
 
class  UnqualTypeLoc
 Wrapper of type source information for a type with no direct qualifiers. More...
 
class  QualifiedTypeLoc
 Wrapper of type source information for a type with non-trivial direct qualifiers. More...
 
class  ConcreteTypeLoc
 A metaprogramming base class for TypeLoc classes which correspond to a particular Type subclass. More...
 
class  InheritingConcreteTypeLoc
 A metaprogramming class designed for concrete subtypes of abstract types where all subtypes share equivalently-structured source information. More...
 
struct  TypeSpecLocInfo
 
class  TypeSpecTypeLoc
 A reasonable base class for TypeLocs that correspond to types that are written as a type-specifier. More...
 
struct  BuiltinLocInfo
 
class  BuiltinTypeLoc
 Wrapper for source info for builtin types. More...
 
class  UsingTypeLoc
 Wrapper for source info for types used via transparent aliases. More...
 
class  TypedefTypeLoc
 Wrapper for source info for typedefs. More...
 
class  InjectedClassNameTypeLoc
 Wrapper for source info for injected class names of class templates. More...
 
class  UnresolvedUsingTypeLoc
 Wrapper for source info for unresolved typename using decls. More...
 
class  TagTypeLoc
 Wrapper for source info for tag types. More...
 
class  RecordTypeLoc
 Wrapper for source info for record types. More...
 
class  EnumTypeLoc
 Wrapper for source info for enum types. More...
 
class  TemplateTypeParmTypeLoc
 Wrapper for template type parameters. More...
 
struct  ObjCTypeParamTypeLocInfo
 
class  ObjCTypeParamTypeLoc
 ProtocolLAngleLoc, ProtocolRAngleLoc, and the source locations for protocol qualifiers are stored after Info. More...
 
class  SubstTemplateTypeParmTypeLoc
 Wrapper for substituted template type parameters. More...
 
class  SubstTemplateTypeParmPackTypeLoc
 Wrapper for substituted template type parameters. More...
 
struct  AttributedLocInfo
 
class  AttributedTypeLoc
 Type source information for an attributed type. More...
 
struct  BTFTagAttributedLocInfo
 
class  BTFTagAttributedTypeLoc
 Type source information for an btf_tag attributed type. More...
 
struct  ObjCObjectTypeLocInfo
 
class  ObjCObjectTypeLoc
 
struct  ObjCInterfaceLocInfo
 
class  ObjCInterfaceTypeLoc
 Wrapper for source info for ObjC interfaces. More...
 
struct  BoundsAttributedLocInfo
 
class  BoundsAttributedTypeLoc
 
class  CountAttributedTypeLoc
 
struct  MacroQualifiedLocInfo
 
class  MacroQualifiedTypeLoc
 
struct  ParenLocInfo
 
class  ParenTypeLoc
 
struct  AdjustedLocInfo
 
class  AdjustedTypeLoc
 
class  DecayedTypeLoc
 Wrapper for source info for pointers decayed from arrays and functions. More...
 
struct  PointerLikeLocInfo
 
class  PointerLikeTypeLoc
 A base class for. More...
 
class  PointerTypeLoc
 Wrapper for source info for pointers. More...
 
class  BlockPointerTypeLoc
 Wrapper for source info for block pointers. More...
 
struct  MemberPointerLocInfo
 
class  MemberPointerTypeLoc
 Wrapper for source info for member pointers. More...
 
class  ObjCObjectPointerTypeLoc
 Wraps an ObjCPointerType with source location information. More...
 
class  ReferenceTypeLoc
 
class  LValueReferenceTypeLoc
 
class  RValueReferenceTypeLoc
 
struct  FunctionLocInfo
 
class  FunctionTypeLoc
 Wrapper for source info for functions. More...
 
class  FunctionProtoTypeLoc
 
class  FunctionNoProtoTypeLoc
 
struct  ArrayLocInfo
 
class  ArrayTypeLoc
 Wrapper for source info for arrays. More...
 
class  ConstantArrayTypeLoc
 
class  ArrayParameterTypeLoc
 Wrapper for source info for array parameter types. More...
 
class  IncompleteArrayTypeLoc
 
class  DependentSizedArrayTypeLoc
 
class  VariableArrayTypeLoc
 
struct  TemplateNameLocInfo
 
struct  TemplateSpecializationLocInfo
 
class  TemplateSpecializationTypeLoc
 
struct  DependentAddressSpaceLocInfo
 
class  DependentAddressSpaceTypeLoc
 
struct  VectorTypeLocInfo
 
class  VectorTypeLoc
 
class  DependentVectorTypeLoc
 
class  ExtVectorTypeLoc
 
class  DependentSizedExtVectorTypeLoc
 
struct  MatrixTypeLocInfo
 
class  MatrixTypeLoc
 
class  ConstantMatrixTypeLoc
 
class  DependentSizedMatrixTypeLoc
 
class  ComplexTypeLoc
 
struct  TypeofLocInfo
 
struct  TypeOfExprTypeLocInfo
 
struct  TypeOfTypeLocInfo
 
class  TypeofLikeTypeLoc
 
class  TypeOfExprTypeLoc
 
class  TypeOfTypeLoc
 
struct  DecltypeTypeLocInfo
 
class  DecltypeTypeLoc
 
struct  PackIndexingTypeLocInfo
 
class  PackIndexingTypeLoc
 
struct  UnaryTransformTypeLocInfo
 
class  UnaryTransformTypeLoc
 
class  DeducedTypeLoc
 
struct  AutoTypeLocInfo
 
class  AutoTypeLoc
 
class  DeducedTemplateSpecializationTypeLoc
 
struct  ElaboratedLocInfo
 
class  ElaboratedTypeLoc
 
struct  DependentNameLocInfo
 
class  DependentNameTypeLoc
 
struct  DependentTemplateSpecializationLocInfo
 
class  DependentTemplateSpecializationTypeLoc
 
struct  PackExpansionTypeLocInfo
 
class  PackExpansionTypeLoc
 
struct  AtomicTypeLocInfo
 
class  AtomicTypeLoc
 
struct  PipeTypeLocInfo
 
class  PipeTypeLoc
 
class  BitIntTypeLoc
 
class  DependentBitIntTypeLoc
 
class  ObjCProtocolLoc
 
class  TypeLocVisitor
 
struct  QualTypeOrdering
 Function object that provides a total ordering on QualType values. More...
 
class  TypeVisitor
 An operation on a type. More...
 
class  UnresolvedSetIterator
 The iterator over UnresolvedSets. More...
 
class  UnresolvedSetImpl
 A set of unresolved declarations. More...
 
class  UnresolvedSet
 A set of unresolved declarations. More...
 
class  VTableComponent
 Represents a single component in a vtable. More...
 
class  VTableLayout
 
class  VTableContextBase
 
class  ItaniumVTableContext
 
struct  VPtrInfo
 Holds information about the inheritance path to a virtual base or function table pointer. More...
 
struct  VirtualBaseInfo
 All virtual base related information about a given record decl. More...
 
struct  MethodVFTableLocation
 
class  MicrosoftVTableContext
 
class  VTTVTable
 
struct  VTTComponent
 
class  VTTBuilder
 Class for building VTT layout information. More...
 
class  StringSizerHelper
 
class  AttributeCommonInfo
 
struct  HeaderDesc
 
class  CodeGenOptionsBase
 Bitfields of CodeGenOptions, split out from CodeGenOptions to ensure that this large collection of bitfields is a trivial class type. More...
 
class  CodeGenOptions
 CodeGenOptions - Track various options which control how the code is optimized and passed to the backend. More...
 
struct  CommentOptions
 Options for controlling comment parsing. More...
 
class  CustomizableOptional
 
class  DarwinSDKInfo
 The information about the darwin SDK that was used during this compilation. More...
 
class  FixItHint
 Annotates a diagnostic with some code that should be inserted, removed, or replaced to fix the problem. More...
 
struct  DiagnosticStorage
 
class  DiagnosticsEngine
 Concrete class used by the front-end to report problems and issues. More...
 
class  DiagnosticErrorTrap
 RAII class that determines when any errors have occurred between the time the instance was created and the time it was queried. More...
 
class  StreamingDiagnostic
 The streaming interface shared between DiagnosticBuilder and PartialDiagnostic. More...
 
class  DiagnosticBuilder
 A little helper class used to produce diagnostics. More...
 
struct  AddFlagValue
 
class  Diagnostic
 A little helper class (which is basically a smart pointer that forwards info from DiagnosticsEngine) that allows clients to enquire about the currently in-flight diagnostic. More...
 
class  StoredDiagnostic
 Represents a diagnostic in a form that can be retained until its corresponding source manager is destroyed. More...
 
class  DiagnosticConsumer
 Abstract interface, implemented by clients of the front-end, which formats and prints fully processed diagnostics. More...
 
class  IgnoringDiagConsumer
 A diagnostic client that ignores all diagnostics. More...
 
class  ForwardingDiagnosticConsumer
 Diagnostic consumer that forwards diagnostics along to an existing, already-initialized diagnostic consumer. More...
 
struct  TemplateDiffTypes
 
class  DiagnosticError
 Carries a Clang diagnostic in an llvm::Error. More...
 
class  DiagnosticMapping
 
class  DiagnosticIDs
 Used for handling and querying diagnostic IDs. More...
 
class  DiagnosticOptions
 Options for controlling the compiler diagnostics engine. More...
 
class  DirectoryEntry
 Cached information about one directory (either on disk or in the virtual file system). More...
 
class  DirectoryEntryRef
 A reference to a DirectoryEntry that includes the name of the directory as it was accessed by the FileManager's client. More...
 
class  FileEntryRef
 A reference to a FileEntry that includes the name of the file as it was accessed by the FileManager's client. More...
 
class  FileEntry
 Cached information about one file (either on disk or in the virtual file system). More...
 
class  FileManager
 Implements support for file system lookup, file system caching, and directory search management. More...
 
class  FileSystemOptions
 Keeps track of options that affect how file operations are performed. More...
 
class  FileSystemStatCache
 Abstract interface for introducing a FileManager cache for 'stat' system calls, which is used by precompiled and pretokenized headers to improve performance. More...
 
class  MemorizeStatCalls
 A stat "cache" that can be used by FileManager to keep track of the results of stat() calls that occur throughout the execution of the front end. More...
 
class  IdentifierInfo
 One of these records is kept for each identifier that is lexed. More...
 
class  PoisonIdentifierRAIIObject
 An RAII object for [un]poisoning an identifier within a scope. More...
 
class  IdentifierIterator
 An iterator that walks over all of the known identifiers in the lookup table. More...
 
class  IdentifierInfoLookup
 Provides lookups to, and iteration over, IdentiferInfo objects. More...
 
class  IdentifierTable
 Implements an efficient mapping from strings to IdentifierInfo nodes. More...
 
class  MultiKeywordSelector
 One of these variable length records is kept for each selector containing more than one keyword. More...
 
class  Selector
 Smart pointer class that efficiently represents Objective-C method names. More...
 
class  SelectorTable
 This table allows us to fully hide how we implement multi-keyword caching. More...
 
class  LangOptionsBase
 Bitfields of LangOptions, split out from LangOptions in order to ensure that this large collection of bitfields is a trivial class type. More...
 
class  LangOptions
 Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that is accepted. More...
 
class  FPOptions
 
class  FPOptionsOverride
 Represents difference between two FPOptions values. More...
 
struct  LangStandard
 LangStandard - Information about the properties of a particular language standard. More...
 
class  MacroBuilder
 
struct  ASTFileSignature
 The signature of a module, which is a hash of the AST content. More...
 
class  Module
 Describes a module or submodule. More...
 
class  VisibleModuleSet
 A set of visible modules. More...
 
class  ASTSourceDescriptor
 Abstracts clang modules and precompiled header files and holds everything needed to generate debug info for an imported module or PCH. More...
 
class  NoSanitizeList
 
class  ObjCRuntime
 The basic abstraction for the target Objective-C runtime. More...
 
class  OpenCLOptions
 OpenCL supported extensions and optional core features. More...
 
struct  OpenMPScheduleTy
 Scheduling data for loop-based OpenMP directives. More...
 
struct  OMPInteropInfo
 
class  SyclOptReportHandler
 
struct  ParsedAttrInfo
 
class  PartialDiagnostic
 
class  PrettyStackTraceLoc
 If a crash happens while one of these objects are live, the message is printed out along with the specified source location. More...
 
class  ProfileList
 
class  SanitizerMask
 
struct  SanitizerKind
 
struct  SanitizerSet
 
class  SanitizerSpecialCaseList
 
class  ThreadFlow
 A thread flow is a sequence of code locations that specify a possible path through a single thread of execution. More...
 
class  SarifReportingConfiguration
 A SARIF Reporting Configuration (reportingConfiguration) object contains properties for a SarifRule that can be configured at runtime before analysis begins. More...
 
class  SarifRule
 A SARIF rule (reportingDescriptor object) contains information that describes a reporting item generated by a tool. More...
 
class  SarifResult
 A SARIF result (also called a "reporting item") is a unit of output produced when one of the tool's reportingDescriptor encounters a match on the file being analysed by the tool. More...
 
class  SarifDocumentWriter
 This class handles creating a valid SARIF document given various input attributes. More...
 
class  FileID
 An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with its #include path and #line data. More...
 
class  SourceLocation
 Encodes a location in the source. More...
 
class  SourceRange
 A trivial tuple used to represent a source range. More...
 
class  CharSourceRange
 Represents a character-granular source range. More...
 
class  PresumedLoc
 Represents an unpacked "presumed" location which can be presented to the user. More...
 
class  FullSourceLoc
 A SourceLocation and its associated SourceManager. More...
 
class  ExternalSLocEntrySource
 External source of source location entries. More...
 
class  InBeforeInTUCacheEntry
 Holds the cache used by isBeforeInTranslationUnit. More...
 
class  SourceManager
 This class handles loading and caching of source files into memory. More...
 
class  BeforeThanCompare
 Comparison function object. More...
 
class  BeforeThanCompare< SourceLocation >
 Compare two source locations. More...
 
class  BeforeThanCompare< SourceRange >
 Compare two non-overlapping source ranges. More...
 
class  SourceManagerForFile
 SourceManager and necessary dependencies (e.g. More...
 
struct  LineEntry
 
class  LineTableInfo
 Used to hold and unique data used to represent #line information. More...
 
class  SourceMgrAdapter
 An adapter that can be used to translate diagnostics from one or more llvm::SourceMgr instances to a ,. More...
 
struct  WrittenBuiltinSpecs
 Structure that packs information about the type specifiers that were written in a particular type specifier sequence. More...
 
class  AtomicScopeModel
 Defines the interface for synch scope model. More...
 
class  AtomicScopeOpenCLModel
 Defines the synch scope model for OpenCL. More...
 
class  AtomicScopeHIPModel
 Defines the synch scope model for HIP. More...
 
class  AtomicScopeGenericModel
 Defines the generic atomic scope model. More...
 
class  NeonTypeFlags
 Flags to identify the types for overloaded Neon builtins. More...
 
class  SVETypeFlags
 Flags to identify the types for overloaded SVE builtins. More...
 
class  TargetCXXABI
 The basic abstraction for the target C++ ABI. More...
 
struct  ParsedTargetAttr
 Contains information gathered from parsing the contents of TargetAttr. More...
 
struct  TransferrableTargetInfo
 Fields controlling how types are laid out in memory; these may need to be copied for targets like AMDGPU that base their ABIs on an auxiliary CPU target. More...
 
class  TargetInfo
 Exposes information about the current target. More...
 
class  TargetOptions
 Options for controlling the target. More...
 
struct  ReturnAdjustment
 A return adjustment. More...
 
struct  ThisAdjustment
 A this pointer adjustment. More...
 
struct  ThunkInfo
 The this pointer adjustment as well as an optional return adjustment for a thunk. More...
 
class  LinkageInfo
 
struct  XRayInstrSet
 
class  XRayFunctionFilter
 
class  CodeGenAction
 
class  EmitAssemblyAction
 
class  EmitBCAction
 
class  EmitLLVMAction
 
class  EmitLLVMOnlyAction
 
class  EmitCodeGenOnlyAction
 
class  EmitObjAction
 
class  CodeGenerator
 The primary public interface to the Clang code generator. More...
 
class  ObjectFilePCHContainerWriter
 A PCHContainerWriter implementation that uses LLVM to wraps Clang modules inside a COFF, ELF, or Mach-O container. More...
 
class  ObjectFilePCHContainerReader
 A PCHContainerReader implementation that uses LLVM to wraps Clang modules inside a COFF, ELF, or Mach-O container. More...
 
class  DirectoryWatcher
 Provides notifications for file changes in a directory. More...
 
class  OffloadBundlerConfig
 
class  OffloadBundler
 
struct  OffloadTargetInfo
 Obtain the offload kind, real machine triple, and an optional TargetID out of the target information specified by the user. More...
 
class  CompressedOffloadBundle
 
class  ExtractAPIActionBase
 Base class to be used by front end actions to generate ExtarctAPI info. More...
 
class  ExtractAPIAction
 ExtractAPIAction sets up the output file and creates the ExtractAPIVisitor. More...
 
class  WrappingExtractAPIAction
 Wrap ExtractAPIAction on top of a pre-existing action. More...
 
class  ASTUnit
 Utility class for loading a ASTContext from an AST file. More...
 
class  ChainedDiagnosticConsumer
 ChainedDiagnosticConsumer - Chain two diagnostic clients so that diagnostics go to the first client and then the second. More...
 
struct  ParsedSourceLocation
 A source location that has been parsed on the command line. More...
 
struct  ParsedSourceRange
 A source range that has been parsed on the command line. More...
 
class  CompilerInstance
 CompilerInstance - Helper class for managing a single instance of the Clang compiler. More...
 
class  CompilerInvocationBase
 The base class of CompilerInvocation. More...
 
class  CompilerInvocation
 Helper class for holding the data necessary to invoke the compiler. More...
 
class  CowCompilerInvocation
 Same as CompilerInvocation, but with copy-on-write optimization. More...
 
class  DependencyOutputOptions
 DependencyOutputOptions - Options for controlling the compiler dependency file generation. More...
 
class  DiagnosticRenderer
 Class to encapsulate the logic for formatting a diagnostic message. More...
 
class  DiagnosticNoteRenderer
 Subclass of DiagnosticRender that turns all subdiagostics into explicit notes. More...
 
class  FrontendAction
 Abstract base class for actions which can be performed by the frontend. More...
 
class  ASTFrontendAction
 Abstract base class to use for AST consumer-based frontend actions. More...
 
class  PluginASTAction
 
class  PreprocessorFrontendAction
 Abstract base class to use for preprocessor-based frontend actions. More...
 
class  WrapperFrontendAction
 A frontend action which simply wraps some other runtime-specified frontend action. More...
 
class  InitOnlyAction
 
class  ReadPCHAndPreprocessAction
 Preprocessor-based frontend action that also loads PCH files. More...
 
class  DumpCompilerOptionsAction
 
class  ASTPrintAction
 
class  ASTDumpAction
 
class  ASTDeclListAction
 
class  ASTViewAction
 
class  GeneratePCHAction
 
class  GenerateModuleAction
 
class  GenerateInterfaceStubsAction
 
class  GenerateModuleFromModuleMapAction
 
class  GenerateModuleInterfaceAction
 Generates full BMI (which contains full information to generate the object files) for C++20 Named Modules. More...
 
class  GenerateReducedModuleInterfaceAction
 Only generates the reduced BMI. This action is mainly used by tests. More...
 
class  GenerateHeaderUnitAction
 
class  SyntaxOnlyAction
 
class  DumpModuleInfoAction
 Dump information about the given module file, to be used for basic debugging and discovery. More...
 
class  VerifyPCHAction
 
class  TemplightDumpAction
 
class  ASTMergeAction
 Frontend action adaptor that merges ASTs together. More...
 
class  PrintPreambleAction
 
class  PrintDependencyDirectivesSourceMinimizerAction
 
class  DumpRawTokensAction
 
class  DumpTokensAction
 
class  PreprocessOnlyAction
 
class  PrintPreprocessedAction
 
class  GetDependenciesByModuleNameAction
 
class  InputKind
 The kind of a file that we've been handed as an input. More...
 
class  FrontendInputFile
 An input file for the front end. More...
 
class  FrontendOptions
 FrontendOptions - Options for controlling the behavior of the frontend. More...
 
class  LayoutOverrideSource
 An external AST source that overrides the layout of a specified set of record types. More...
 
class  LogDiagnosticPrinter
 
class  MigratorOptions
 
class  MultiplexASTDeserializationListener
 
class  MultiplexConsumer
 
class  PrecompiledPreamble
 A class holding a PCH and all information to check whether it is valid to reuse the PCH for the subsequent runs. More...
 
class  PreambleCallbacks
 A set of callbacks to gather useful information while building a preamble. More...
 
class  BuildPreambleErrorCategory
 
class  PreprocessorOutputOptions
 PreprocessorOutputOptions - Options for controlling the C preprocessor output (e.g., -E). More...
 
class  SARIFDiagnostic
 
class  SARIFDiagnosticPrinter
 
class  TextDiagnostic
 Class to encapsulate the logic for formatting and printing a textual diagnostic message. More...
 
class  TextDiagnosticBuffer
 
class  TextDiagnosticPrinter
 
class  DependencyCollector
 An interface for collecting the dependencies of a compilation. More...
 
class  DependencyFileGenerator
 Builds a dependency file when attached to a Preprocessor (for includes) and ASTReader (for module imports), and writes it out at the end of processing a source file. More...
 
class  ModuleDependencyCollector
 Collects the dependencies for imported modules into a directory. More...
 
struct  CreateInvocationOptions
 Optional inputs to createInvocation. More...
 
class  VerifyDiagnosticConsumer
 VerifyDiagnosticConsumer - Create a diagnostic client which will use markers in the input source to check that all the emitted diagnostics match those expected. More...
 
struct  ReplCodeCompleter
 
class  IncrementalCompilerBuilder
 Create a pre-configured CompilerInstance for incremental processing. More...
 
class  RuntimeInterfaceBuilder
 Generate glue code between the Interpreter's built-in runtime and user code. More...
 
class  Interpreter
 Provides top-level interfaces for incremental compilation and execution. More...
 
struct  PartialTranslationUnit
 The class keeps track of various objects created as part of processing incremental inputs. More...
 
class  Value
 
class  CodeCompletionHandler
 Callback handler that receives notifications when performing code completion within the preprocessor. More...
 
class  DirectoryLookup
 DirectoryLookup - This class represents one entry in the search list that specifies the search order for directories in #include directives. More...
 
class  ExternalPreprocessorSource
 Abstract interface for external sources of preprocessor information. More...
 
class  HeaderMapImpl
 Implementation for HeaderMap that doesn't depend on FileManager. More...
 
class  HeaderMap
 This class represents an Apple concept known as a 'header map'. More...
 
struct  HMapBucket
 
struct  HMapHeader
 
struct  HeaderFileInfo
 The preprocessor keeps track of this information for each file that is #included. More...
 
class  ExternalHeaderFileInfoSource
 An external source of header file information, which may supply information about header files already included. More...
 
struct  FrameworkCacheEntry
 This structure is used to record entries in our framework cache. More...
 
class  HeaderSearch
 Encapsulates the information needed to find the file referenced by a #include or #include_next, (sub-)framework lookup, etc. More...
 
class  HeaderSearchOptions
 HeaderSearchOptions - Helper class for storing options related to the initialization of the HeaderSearch object. More...
 
struct  PreambleBounds
 Describes the bounds (start, size) of the preamble and a flag required by PreprocessorOptions::PrecompiledPreambleBytes. More...
 
class  Lexer
 Lexer - This provides a simple interface that turns a text buffer into a stream of tokens. More...
 
class  NumericLiteralParser
 NumericLiteralParser - This performs strict semantic analysis of the content of a ppnumber, classifying it as either integer, floating, or erroneous, determines the radix of the value and can convert it to a useful value. More...
 
class  CharLiteralParser
 CharLiteralParser - Perform interpretation and semantic analysis of a character literal. More...
 
class  StringLiteralParser
 StringLiteralParser - This decodes string escape characters and performs wide string analysis and Translation Phase #6 (concatenation of string literals) (C99 5.1.1.2p1). More...
 
class  MacroArgs
 MacroArgs - An instance of this class captures information about the formal arguments specified to a function-like macro invocation. More...
 
class  MacroInfo
 Encapsulates the data about a macro definition (e.g. More...
 
class  MacroDirective
 Encapsulates changes to the "macros namespace" (the location where the macro name became active, the location where it was undefined, etc.). More...
 
class  DefMacroDirective
 A directive for a defined macro or a macro imported from a module. More...
 
class  UndefMacroDirective
 A directive for an undefined macro. More...
 
class  VisibilityMacroDirective
 A directive for setting the module visibility of a macro. More...
 
class  ModuleMacro
 Represents a macro directive exported by a module. More...
 
class  MacroDefinition
 A description of the current definition of a macro. More...
 
class  ModuleLoadResult
 Describes the result of attempting to load a module. More...
 
class  ModuleLoader
 Abstract interface for a module loader. More...
 
class  TrivialModuleLoader
 A module loader that doesn't know how to create or load modules. More...
 
class  ModuleMapCallbacks
 A mechanism to observe the actions of the module map parser as it reads module map files. More...
 
class  ModuleMap
 
class  MultipleIncludeOpt
 Implements the simple state machine that the Lexer class uses to detect files subject to the 'multiple-include' optimization. More...
 
class  PPCallbacks
 This interface provides a way to observe the actions of the preprocessor as it does its thing. More...
 
class  PPChainedCallbacks
 Simple wrapper class for chaining callbacks. More...
 
class  PPConditionalDirectiveRecord
 Records preprocessor conditional directive regions and allows querying in which region source locations belong to. More...
 
struct  PragmaIntroducer
 Describes how and where the pragma was introduced. More...
 
class  PragmaHandler
 PragmaHandler - Instances of this interface defined to handle the various pragmas that the language front-end uses. More...
 
class  EmptyPragmaHandler
 EmptyPragmaHandler - A pragma handler which takes no action, which can be used to ignore particular pragmas. More...
 
class  PragmaNamespace
 PragmaNamespace - This PragmaHandler subdivides the namespace of pragmas, allowing hierarchical pragmas to be defined. More...
 
class  PreprocessedEntity
 Base class that describes a preprocessed entity, which may be a preprocessor directive or macro expansion. More...
 
class  PreprocessingDirective
 Records the presence of a preprocessor directive. More...
 
class  MacroDefinitionRecord
 Record the location of a macro definition. More...
 
class  MacroExpansion
 Records the location of a macro expansion. More...
 
class  InclusionDirective
 Record the location of an inclusion directive, such as an #include or #import statement. More...
 
class  ExternalPreprocessingRecordSource
 An abstract class that should be subclassed by any external source of preprocessing record entries. More...
 
class  PreprocessingRecord
 A record of the steps taken while preprocessing a source file, including the various preprocessing directives processed, macros expanded, etc. More...
 
class  TokenValue
 Stores token information for comparing actual tokens with predefined values. More...
 
class  Preprocessor
 Engages in a tight little dance with the lexer to efficiently preprocess tokens. More...
 
class  CommentHandler
 Abstract base class that describes a handler that will receive source ranges for each of the comments encountered in the source file. More...
 
class  EmptylineHandler
 Abstract base class that describes a handler that will receive source ranges for empty lines encountered in the source file. More...
 
class  PreprocessorLexer
 
class  PreprocessorOptions
 PreprocessorOptions - This class is used for passing the various options used in preprocessor initialization to InitializePreprocessor(). More...
 
class  ScratchBuffer
 ScratchBuffer - This class exposes a simple interface for the dynamic construction of tokens. More...
 
class  Token
 Token - This structure provides full information about a lexed token. More...
 
struct  PPConditionalInfo
 Information about the conditional stack (#if directives) currently active. More...
 
struct  PragmaLoopHintInfo
 
class  TokenConcatenation
 TokenConcatenation class, which answers the question of "Is it safe to emit two tokens without a whitespace between them, or would that cause implicit concatenation of the tokens?". More...
 
class  TokenLexer
 TokenLexer - This implements a lexer that returns tokens from a macro body or token stream instead of lexing from a character buffer. More...
 
class  VariadicMacroScopeGuard
 An RAII class that tracks when the Preprocessor starts and stops lexing the definition of a (ISO C/C++) variadic macro. More...
 
class  VAOptDefinitionContext
 A class for tracking whether we're inside a VA_OPT during a traversal of the tokens of a variadic macro definition. More...
 
class  VAOptExpansionContext
 A class for tracking whether we're inside a VA_OPT during a traversal of the tokens of a macro during macro expansion. More...
 
struct  LoopHint
 Loop optimization hint for loop and unroll pragmas. More...
 
class  Parser
 Parser - This implements a parser for the C family of languages. More...
 
class  SuppressAccessChecks
 A RAII object used to temporarily suppress access-like checking. More...
 
class  ParsingDeclRAIIObject
 RAII object used to inform the actions that we're currently parsing a declaration. More...
 
class  ParsingDeclSpec
 A class for parsing a DeclSpec. More...
 
class  ParsingDeclarator
 A class for parsing a declarator. More...
 
class  ParsingFieldDeclarator
 A class for parsing a field declarator. More...
 
class  ExtensionRAIIObject
 ExtensionRAIIObject - This saves the state of extension warnings when constructed and disables them. More...
 
class  ColonProtectionRAIIObject
 ColonProtectionRAIIObject - This sets the Parser::ColonIsSacred bool and restores it when destroyed. More...
 
class  ParsingOpenMPDirectiveRAII
 Activates OpenMP parsing mode to preseve OpenMP specific annotation tokens. More...
 
class  ParsingOpenACCDirectiveRAII
 Activates OpenACC parsing mode to preseve OpenACC specific annotation tokens. More...
 
class  GreaterThanIsOperatorScope
 RAII object that makes '>' behave either as an operator or as the closing angle bracket for a template argument list. More...
 
class  InMessageExpressionRAIIObject
 
class  OffsetOfStateRAIIObject
 
class  ParenBraceBracketBalancer
 RAII object that makes sure paren/bracket/brace count is correct after declaration/statement parsing, even when there's a parsing error. More...
 
class  PoisonSEHIdentifiersRAIIObject
 
class  BalancedDelimiterTracker
 RAII class that helps handle the parsing of an open/close delimiter pair, such as braces { ... More...
 
class  DeltaTree
 DeltaTree - a multiway search tree (BTree) structure with some fancy features. More...
 
class  RewriteBuffer
 RewriteBuffer - As code is rewritten, SourceBuffer's from the original input with modifications get a new RewriteBuffer associated with them. More...
 
class  Rewriter
 Rewriter - This is the main interface to the rewrite buffers. More...
 
struct  RopeRefCountString
 RopeRefCountString - This struct is allocated with 'new char[]' from the heap, and represents a reference counted chunk of string data. More...
 
struct  RopePiece
 RopePiece - This class represents a view into a RopeRefCountString object. More...
 
class  RopePieceBTreeIterator
 RopePieceBTreeIterator - This class provides read-only forward iteration over bytes that are in a RopePieceBTree. More...
 
class  RopePieceBTree
 
class  RewriteRope
 RewriteRope - A powerful string class. More...
 
class  TokenRewriter
 
class  FixItOptions
 
class  FixItRewriter
 
class  HTMLPrintAction
 
class  FixItAction
 
class  FixItRecompile
 Emits changes to temporary files and uses them for the original frontend action. More...
 
class  RewriteObjCAction
 
class  RewriteMacrosAction
 
class  RewriteTestAction
 
class  RewriteIncludesAction
 
class  CleanupInfo
 
class  CodeCompletionContext
 The context in which code completion occurred, so that the code-completion consumer can process the results accordingly. More...
 
class  CodeCompletionString
 A "string" used to describe how code completion can be performed for an entity. More...
 
class  CodeCompletionAllocator
 An allocator used specifically for the purpose of code completion. More...
 
class  GlobalCodeCompletionAllocator
 Allocator for a cached set of global code completions. More...
 
class  CodeCompletionTUInfo
 
class  CodeCompletionBuilder
 A builder class used to construct new code-completion strings. More...
 
class  CodeCompletionResult
 Captures a result of code completion. More...
 
class  CodeCompleteConsumer
 Abstract interface for a consumer of code-completion information. More...
 
class  PrintingCodeCompleteConsumer
 A simple code-completion consumer that prints the results it receives in a simple format. More...
 
class  CodeCompleteOptions
 Options controlling the behavior of code completion. More...
 
class  CXXFieldCollector
 CXXFieldCollector - Used to keep track of CXXFieldDecls during parsing of C++ classes. More...
 
class  CXXScopeSpec
 Represents a C++ nested-name-specifier or a global scope specifier. More...
 
class  DeclSpec
 Captures information about "declaration specifiers". More...
 
class  ObjCDeclSpec
 Captures information about "declaration specifiers" specific to Objective-C. More...
 
class  UnqualifiedId
 Represents a C++ unqualified-id that has been parsed. More...
 
struct  DeclaratorChunk
 One instance of this struct is used for each type in a declarator that is parsed. More...
 
class  DecompositionDeclarator
 A parsed C++17 decomposition declarator of the form '[' identifier-list ']'. More...
 
class  Declarator
 Information about one declarator, including the parsed type information and the identifier. More...
 
struct  FieldDeclarator
 This little struct is used to capture information about structure field declarators, which is basically just a bitfield size. More...
 
class  VirtSpecifiers
 Represents a C++11 virt-specifier-seq. More...
 
struct  LambdaIntroducer
 Represents a complete lambda introducer. More...
 
struct  InventedTemplateParameterInfo
 
class  Designator
 Designator - A designator in a C99 designated initializer. More...
 
class  Designation
 Designation - Represent a full designation, which is a sequence of designators. More...
 
class  EnterExpressionEvaluationContext
 RAII object that enters a new expression evaluation context. More...
 
struct  ExternalVTableUse
 A simple structure that captures a vtable use for the purposes of the ExternalSemaSource. More...
 
class  ExternalSemaSource
 An abstract interface that should be implemented by external AST sources that also provide information for semantic analysis. More...
 
class  HLSLExternalSemaSource
 
class  IdentifierResolver
 IdentifierResolver - Keeps track of shadowed decls on enclosing scopes. More...
 
class  InitializedEntity
 Describes an entity that is being initialized. More...
 
class  InitializationKind
 Describes the kind of initialization being performed, along with location information for tokens related to the initialization (equal sign, parentheses). More...
 
class  InitializationSequence
 Describes the sequence of initializations required to initialize a given object or reference with a set of arguments. More...
 
class  LookupResult
 Represents the results of name lookup. More...
 
class  VisibleDeclConsumer
 Consumes visible declarations found when searching for all visible names within a given scope or context. More...
 
class  ADLResult
 A class for storing results from argument-dependent lookup. More...
 
class  MultiplexExternalSemaSource
 An abstract interface that should be implemented by external AST sources that also provide information for semantic analysis. More...
 
struct  ObjCMethodList
 a linked list of methods with the same selector name but different signatures. More...
 
class  StandardConversionSequence
 StandardConversionSequence - represents a standard conversion sequence (C++ 13.3.3.1.1). More...
 
struct  UserDefinedConversionSequence
 UserDefinedConversionSequence - Represents a user-defined conversion sequence (C++ 13.3.3.1.2). More...
 
struct  AmbiguousConversionSequence
 Represents an ambiguous user-defined conversion sequence. More...
 
struct  BadConversionSequence
 BadConversionSequence - Records information about an invalid conversion sequence. More...
 
class  ImplicitConversionSequence
 ImplicitConversionSequence - Represents an implicit conversion sequence, which may be a standard conversion sequence (C++ 13.3.3.1.1), user-defined conversion sequence (C++ 13.3.3.1.2), or an ellipsis conversion sequence (C++ 13.3.3.1.3). More...
 
struct  OverloadCandidate
 OverloadCandidate - A single candidate in an overload set (C++ 13.3). More...
 
class  OverloadCandidateSet
 OverloadCandidateSet - A set of overload candidates, used in C++ overload resolution (C++ 13.3). More...
 
struct  ConstructorInfo
 
class  OpaquePtr
 Wrapper for void* pointer. More...
 
struct  UnionOpaquePtr
 UnionOpaquePtr - A version of OpaquePtr suitable for membership in a union. More...
 
struct  IsResultPtrLowBitFree
 
class  ActionResult
 The result of parsing/analyzing an expression, statement etc. More...
 
class  ActionResult< PtrTy, true >
 
struct  IsResultPtrLowBitFree< Expr * >
 
struct  IsResultPtrLowBitFree< Stmt * >
 
struct  IsResultPtrLowBitFree< CXXBaseSpecifier * >
 
struct  IsResultPtrLowBitFree< CXXCtorInitializer * >
 
struct  AvailabilityChange
 Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute. More...
 
struct  IdentifierLoc
 Wraps an identifier and optional source location for the identifier. More...
 
class  ParsedAttr
 ParsedAttr - Represents a syntactic attribute. More...
 
class  AttributeFactory
 A factory, from which one makes pools, from which one creates individual attributes which are deallocated with the pool. More...
 
class  AttributePool
 
class  ParsedAttributesView
 
struct  ParsedAttributeArgumentsProperties
 
class  ParsedAttributes
 ParsedAttributes - A collection of parsed attributes. More...
 
class  ParsedTemplateArgument
 Represents the parsed form of a C++ template argument. More...
 
struct  TemplateIdAnnotation
 Information about a template-id annotation token. More...
 
class  Scope
 Scope - A scope is a transient data structure that is used while parsing the program. More...
 
struct  FileNullability
 Describes whether we've seen any nullability information for the given file. More...
 
class  FileNullabilityMap
 A mapping from file IDs to a record of whether we've seen nullability information in that file. More...
 
class  PreferredTypeBuilder
 Tracks expected type during expression parsing, for use in code completion. More...
 
struct  SkipBodyInfo
 
class  Sema
 Sema - This implements semantic analysis and AST building for C. More...
 
struct  LateParsedTemplate
 Contains a late templated function. More...
 
class  SemaBase
 
class  SemaCodeCompletion
 
struct  AtomicConstraint
 
struct  NormalizedConstraint
 A normalized constraint, as defined in C++ [temp.constr.normal], is either an atomic constraint, a conjunction of normalized constraints or a disjunction of normalized constraints. More...
 
class  SemaConsumer
 An abstract interface that should be implemented by clients that read ASTs and then require further semantic analysis of the entities in those ASTs. More...
 
class  SemaCUDA
 
struct  ConversionFixItGenerator
 The class facilities generation and storage of conversion FixIts. More...
 
class  SemaHLSL
 
class  TypoCorrectionConsumer
 
class  SemaObjC
 
class  SemaOpenACC
 
class  SemaOpenMP
 
class  SemaPseudoObject
 
class  SemaRISCV
 
class  SYCLIntegrationHeader
 
class  SYCLIntegrationFooter
 
class  SemaSYCL
 
class  SemaX86
 
class  MultiLevelTemplateArgumentList
 Data structure that captures multiple levels of template argument lists for use in template instantiation. More...
 
class  TemplatePartialOrderingContext
 
class  DeducedTemplateArgument
 Captures a template argument whose value has been deduced via c++ template argument deduction. More...
 
class  LocalInstantiationScope
 A stack-allocated class that identifies which local variable declaration instantiations are present in this scope. More...
 
class  TemplateDeclInstantiator
 
struct  DeductionFailureInfo
 A structure used to record information about a failed template argument deduction, for diagnosis. More...
 
struct  TemplateSpecCandidate
 TemplateSpecCandidate - This is a generalization of OverloadCandidate which keeps track of template argument deduction failure info, when handling explicit specializations (and instantiations) of templates beyond function overloading. More...
 
class  TemplateSpecCandidateSet
 TemplateSpecCandidateSet - A set of generalized overload candidates, used in template specializations. More...
 
class  TemplateInstantiationCallback
 This is a base class for callbacks that will be notified at every template instantiation. More...
 
class  TypoCorrection
 Simple class containing the result of Sema::CorrectTypo. More...
 
class  CorrectionCandidateCallback
 Base class for callback objects used by Sema::CorrectTypo to check the validity of a potential typo correction. More...
 
class  DefaultFilterCCC
 
class  DeclFilterCCC
 Simple template class for restricting typo correction candidates to ones having a single Decl* of the given type. More...
 
class  FunctionCallFilterCCC
 
class  NoTypoCorrectionCCC
 
class  WeakInfo
 Captures information about a #pragma weak directive. More...
 
class  ASTDeserializationListener
 
class  ASTReaderListener
 Abstract interface for callback invocations by the ASTReader. More...
 
class  ChainedASTReaderListener
 Simple wrapper class for chaining listeners. More...
 
class  PCHValidator
 ASTReaderListener implementation to validate the information of the PCH file against an initialized Preprocessor. More...
 
class  SimpleASTReaderListener
 ASTReaderListenter implementation to set SuggestedPredefines of ASTReader which is required to use a pch file. More...
 
class  ASTReader
 Reads an AST files chain containing the contents of a translation unit. More...
 
class  BitsUnpacker
 A simple helper class to unpack an integer to bits and consuming the bits in order. More...
 
class  ASTRecordReader
 An object for streaming information from a record. More...
 
struct  SavedStreamPosition
 Helper class that saves the current stream position and then restores it when destroyed. More...
 
class  ASTRecordWriter
 An object for streaming information to a record. More...
 
class  ASTWriter
 Writes an AST file containing the contents of a translation unit. More...
 
class  PCHGenerator
 AST and semantic-analysis consumer that generates a precompiled header from the parsed source code. More...
 
class  CXX20ModulesGenerator
 
class  ReducedBMIGenerator
 
class  BitsPacker
 A simple helper class to pack several bits in order into (a) 32 bit integer(s). More...
 
class  ContinuousRangeMap
 A map from continuous integer ranges to some value, with a very specialized interface. More...
 
class  GlobalModuleIndex
 A global index for a set of module files, providing information about the identifiers within those module files. More...
 
class  InMemoryModuleCache
 In-memory cache for modules. More...
 
struct  ModuleFileExtensionMetadata
 Metadata for a module file extension. More...
 
class  ModuleFileExtension
 An abstract superclass that describes a custom extension to the module/precompiled header file format. More...
 
class  ModuleFileExtensionWriter
 Abstract base class that writes a module file extension block into a module file. More...
 
class  ModuleFileExtensionReader
 Abstract base class that reads a module file extension block from a module file. More...
 
struct  PCHBuffer
 
class  PCHContainerWriter
 This abstract interface provides operations for creating containers for serialized ASTs (precompiled headers and clang modules). More...
 
class  PCHContainerReader
 This abstract interface provides operations for unwrapping containers for serialized ASTs (precompiled headers and clang modules). More...
 
class  RawPCHContainerWriter
 Implements write operations for a raw pass-through PCH container. More...
 
class  RawPCHContainerReader
 Implements read operations for a raw pass-through PCH container. More...
 
class  PCHContainerOperations
 A registry of PCHContainerWriter and -Reader objects for different formats. More...
 
class  SourceLocationEncoding
 Serialized encoding of SourceLocations without context. More...
 
class  SourceLocationSequence
 Serialized encoding of a sequence of SourceLocations. More...
 
class  AnalyzerOptions
 Stores options for the analyzer from the command line. More...
 
struct  TestInputs
 Specifies a virtual source file to be parsed as part of a test. More...
 
class  TestAST
 The result of parsing a file specified by TestInputs. More...
 
struct  TestClangConfig
 A Clang configuration for end-to-end tests that can be converted to command line arguments for the driver. More...
 
struct  BuildResult
 
class  ChildErrorHandlingStrategy
 How to handle import errors that occur when import of a child declaration of a DeclContext fails. More...
 
class  ASTNodeImporter
 
class  CXXABI
 Implements C++ ABI-specific semantic analysis functions. More...
 
class  UpdateOnReturn
 
struct  LVComputationKind
 Kinds of LV computation. More...
 
class  LinkageComputer
 
class  TypePropertyCache
 The type-property cache. More...
 
struct  CudaVersionMapEntry
 
class  ProfileSpecialCaseList
 
class  BackendConsumer
 
class  ClangDiagnosticHandler
 
struct  SkippedRange
 
class  CoverageSourceInfo
 Stores additional source code information like skipped ranges which is required by the coverage mapping generator and is obtained from the preprocessor. More...
 
class  MacroPPCallbacks
 
class  LazyDetector
 Simple wrapper for toolchain detector with costly initialization. More...
 
class  MultiplexASTMutationListener
 
class  TestModuleFileExtension
 A module file extension used for testing purposes. More...
 
class  ReplCompletionConsumer
 
class  CompletionContextHandler
 The class CompletionContextHandler contains four interfaces, each of which handles one type of completion result. More...
 
class  DotMemberAccessHandler
 
class  IncrementalSyntaxOnlyAction
 
class  ExternalSource
 
class  IncrementalCUDADeviceParser
 
class  IncrementalExecutor
 
class  IncrementalASTConsumer
 
class  IncrementalAction
 A custom action enabling the incremental processing functionality. More...
 
class  IncrementalParser
 Provides support for incremental compilation. More...
 
struct  MMToken
 A token in a module map file. More...
 
class  ModuleMapParser
 
class  CoroutineStmtBuilder
 
struct  DeducedPack
 A pack that we're currently deducing. More...
 
class  TreeTransform
 A semantic tree transformation that allows one to transform one abstract syntax tree into another. More...
 
class  TemplateArgumentLocInventIterator
 Iterator adaptor that invents template argument location information for each of the template arguments in its underlying iterator. More...
 
class  TemplateArgumentLocContainerIterator
 Simple iterator that traverses the template arguments in a container that provides a getArgLoc() member function. More...
 
class  TypeLocBuilder
 
class  UsedDeclVisitor
 
class  TypeLocReader
 
class  ASTIdentifierIterator
 An identifier-lookup iterator that enumerates all of the identifiers stored within a set of AST files. More...
 
class  OMPClauseReader
 
class  ASTDeclReader
 
class  ASTStmtReader
 
class  ASTDeclWriter
 
class  ASTStmtWriter
 
class  TrivialFunctionAnalysisVisitor
 
class  TrivialFunctionAnalysis
 An inter-procedural analysis facility that detects functions with "trivial" behavior with respect to reference counting, such as simple field getters. More...
 

Typedefs

using DomTreeNode = llvm::DomTreeNodeBase< CFGBlock >
 
using CFGDomTree = CFGDominatorTreeImpl< false >
 
using CFGPostDomTree = CFGDominatorTreeImpl< true >
 
using WeakTopologicalOrdering = std::vector< const CFGBlock * >
 A weak topological ordering (WTO) of CFG nodes provides a total order over the CFG (defined in WTOCompare, below), which can guide the order in which to visit nodes in fixpoint computations over the CFG. More...
 
using VarGrpTy = std::vector< const VarDecl * >
 
using VarGrpRef = ArrayRef< const VarDecl * >
 
using UnsatisfiedConstraintRecord = std::pair< const Expr *, llvm::PointerUnion< Expr *, std::pair< SourceLocation, StringRef > * > >
 Pairs of unsatisfied atomic constraint expressions along with the substituted constraint expr, if the template arguments could be substituted into them, or a diagnostic if substitution resulted in an invalid expression. More...
 
typedef SmallVector< CXXBaseSpecifier *, 4 > CXXCastPath
 A simple array of base specifiers. More...
 
using AttrVec = SmallVector< Attr *, 4 >
 AttrVec - A vector of Attr, which is how they are stored on the AST. More...
 
using CanQualType = CanQual< Type >
 Represents a canonical, potentially-qualified type. More...
 
using TemplateParameter = llvm::PointerUnion< TemplateTypeParmDecl *, NonTypeTemplateParmDecl *, TemplateTemplateParmDecl * >
 Stores a template parameter of any kind. More...
 
using SpecializationOrInstantiationInfo = llvm::PointerUnion< const ASTTemplateArgumentListInfo *, ExplicitInstantiationInfo * >
 
using ExprDependence = ExprDependenceScope::ExprDependence
 
using TypeDependence = TypeDependenceScope::TypeDependence
 
using ConstantExprKind = Expr::ConstantExprKind
 
using LazyDeclStmtPtr = LazyOffsetPtr< Stmt, uint64_t, &ExternalASTSource::GetExternalDeclStmt >
 A lazy pointer to a statement. More...
 
using LazyDeclPtr = LazyOffsetPtr< Decl, GlobalDeclID, &ExternalASTSource::GetExternalDecl >
 A lazy pointer to a declaration. More...
 
using LazyCXXCtorInitializersPtr = LazyOffsetPtr< CXXCtorInitializer *, uint64_t, &ExternalASTSource::GetExternalCXXCtorInitializers >
 A lazy pointer to a set of CXXCtorInitializers. More...
 
using LazyCXXBaseSpecifiersPtr = LazyOffsetPtr< CXXBaseSpecifier, uint64_t, &ExternalASTSource::GetExternalCXXBaseSpecifiers >
 A lazy pointer to a set of CXXBaseSpecifiers. More...
 
using DeviceTypeArgument = std::pair< IdentifierInfo *, SourceLocation >
 
template<typename T >
using const_ptr = std::add_pointer_t< std::add_const_t< T > >
 
template<typename T >
using TypeIsArrayType = std::integral_constant< bool, std::is_same< T, ArrayType >::value||std::is_base_of< ArrayType, T >::value >
 
typedef SmallVector< std::unique_ptr< VPtrInfo >, 2 > VPtrInfoVector
 
using LangASMap = unsigned[(unsigned) LangAS::FirstTargetAddressSpace]
 The type of a lookup table which maps from language-specific address spaces to target-specific ones. More...
 
using DiagNullabilityKind = std::pair< NullabilityKind, bool >
 A nullability kind paired with a bit indicating whether it used a context-sensitive keyword. More...
 
using TextDiagnosticFormat = DiagnosticOptions::TextDiagnosticFormat
 
using OptionalDirectoryEntryRef = CustomizableOptional< DirectoryEntryRef >
 
using OptionalFileEntryRef = CustomizableOptional< FileEntryRef >
 
using IdentifierLocPair = std::pair< IdentifierInfo *, SourceLocation >
 A simple pair of identifier info and location. More...
 
using ModuleId = SmallVector< std::pair< std::string, SourceLocation >, 2 >
 Describes the name of a module. More...
 
using OpenMPDirectiveKind = llvm::omp::Directive
 OpenMP directives. More...
 
using OpenMPClauseKind = llvm::omp::Clause
 OpenMP clauses. More...
 
typedef llvm::Registry< ParsedAttrInfoParsedAttrInfoRegistry
 
using PartialDiagnosticAt = std::pair< SourceLocation, PartialDiagnostic >
 A partial diagnostic along with the source location where this diagnostic occurs. More...
 
using ModuleBuildStack = ArrayRef< std::pair< std::string, FullSourceLoc > >
 The stack used when building modules on demand, which is used to provide a link between the source managers of the different compiler instances. More...
 
using XRayInstrMask = uint32_t
 
using DiagOrStoredDiag = llvm::PointerUnion< const Diagnostic *, const StoredDiagnostic * >
 
using FrontendPluginRegistry = llvm::Registry< PluginASTAction >
 The frontend plugin registry. More...
 
using ConstSearchDirIterator = detail::SearchDirIteratorImpl< true >
 
using SearchDirIterator = detail::SearchDirIteratorImpl< false >
 
using ConstSearchDirRange = llvm::iterator_range< ConstSearchDirIterator >
 
using SearchDirRange = llvm::iterator_range< SearchDirIterator >
 
using ModuleIdPath = ArrayRef< std::pair< IdentifierInfo *, SourceLocation > >
 A sequence of identifier/location pairs used to describe a particular module or submodule, e.g., std.vector. More...
 
using PragmaHandlerRegistry = llvm::Registry< PragmaHandler >
 Registry of pragma handlers added by plugins. More...
 
typedef SmallVector< Token, 4 > CachedTokens
 A set of tokens that has been cached for later parsing. More...
 
using ConversionSequenceList = llvm::MutableArrayRef< ImplicitConversionSequence >
 A list of implicit conversion sequences for the arguments of an OverloadCandidate. More...
 
using ParsedType = OpaquePtr< QualType >
 An opaque type for threading parsed type information through the parser. More...
 
using UnionParsedType = UnionOpaquePtr< QualType >
 
using ExprResult = ActionResult< Expr * >
 
using StmtResult = ActionResult< Stmt * >
 
using TypeResult = ActionResult< ParsedType >
 
using BaseResult = ActionResult< CXXBaseSpecifier * >
 
using MemInitResult = ActionResult< CXXCtorInitializer * >
 
using DeclResult = ActionResult< Decl * >
 
using ParsedTemplateTy = OpaquePtr< TemplateName >
 
using UnionParsedTemplateTy = UnionOpaquePtr< TemplateName >
 
using MultiExprArg = MutableArrayRef< Expr * >
 
using MultiStmtArg = MutableArrayRef< Stmt * >
 
using ASTTemplateArgsPtr = MutableArrayRef< ParsedTemplateArgument >
 
using MultiTypeArg = MutableArrayRef< ParsedType >
 
using MultiTemplateParamsArg = MutableArrayRef< TemplateParameterList * >
 
using ArgsUnion = llvm::PointerUnion< Expr *, IdentifierLoc * >
 A union of the various pointer types that can be passed to an ParsedAttr as an argument. More...
 
using ArgsVector = llvm::SmallVector< ArgsUnion, 12U >
 
typedef std::pair< llvm::PointerUnion< const TemplateTypeParmType *, NamedDecl * >, SourceLocationUnexpandedParameterPack
 
using AnalyzerOptionsRef = IntrusiveRefCntPtr< AnalyzerOptions >
 
using ExpectedTypePtr = llvm::Expected< const Type * >
 
using ExpectedType = llvm::Expected< QualType >
 
using ExpectedStmt = llvm::Expected< Stmt * >
 
using ExpectedExpr = llvm::Expected< Expr * >
 
using ExpectedDecl = llvm::Expected< Decl * >
 
using ExpectedSLoc = llvm::Expected< SourceLocation >
 
using ExpectedName = llvm::Expected< DeclarationName >
 

Enumerations

enum class  NeverCalledReason {
  IfThen , IfElse , Switch , SwitchSkipped ,
  LoopEntered , LoopSkipped , FallbackReason , LARGEST_VALUE = FallbackReason
}
 
enum class  AlignRequirementKind { None , RequiredByTypedef , RequiredByRecord , RequiredByEnum }
 
enum  ASTDumpOutputFormat { ADOF_Default , ADOF_JSON }
 Used to specify the format for printing AST dump information. More...
 
enum class  StructuralEquivalenceKind { Default , Minimal }
 Whether to perform a normal or minimal equivalence check. More...
 
enum  TraversalKind { TK_AsIs , TK_IgnoreUnlessSpelledInSource }
 Defines how we descend a level in the AST when we pass through expressions. More...
 
enum class  ComparisonCategoryType : unsigned char {
  PartialOrdering , WeakOrdering , StrongOrdering , First = PartialOrdering ,
  Last = StrongOrdering
}
 An enumeration representing the different comparison categories types. More...
 
enum class  ComparisonCategoryResult : unsigned char {
  Equal , Equivalent , Less , Greater ,
  Unordered , Last = Unordered
}
 An enumeration representing the possible results of a three-way comparison. More...
 
enum class  ImplicitParamKind {
  ObjCSelf , ObjCCmd , CXXThis , CXXVTT ,
  CapturedContext , ThreadPrivateVar , Other
}
 Defines the kind of the implicit parameter: is this an implicit parameter with pointer to 'this', 'self', '_cmd', virtual table pointers, captured context or something else. More...
 
enum class  MultiVersionKind {
  None , Target , CPUSpecific , CPUDispatch ,
  TargetClones , TargetVersion
}
 
enum class  RecordArgPassingKind { CanPassInRegs , CannotPassInRegs , CanNeverPassInRegs }
 Enum that represents the different ways arguments are passed to and returned from function calls. More...
 
enum  AvailabilityResult { AR_Available = 0 , AR_NotYetIntroduced , AR_Deprecated , AR_Unavailable }
 Captures the result of checking the availability of a declaration. More...
 
enum class  DeductionCandidate : unsigned char { Normal , Copy , Aggregate }
 Only used by CXXDeductionGuideDecl. More...
 
enum class  LinkageSpecLanguageIDs { C = 1 , CXX = 2 }
 Represents the language in a linkage specification. More...
 
enum  PredefinedDeclIDs {
  PREDEF_DECL_NULL_ID = 0 , PREDEF_DECL_TRANSLATION_UNIT_ID = 1 , PREDEF_DECL_OBJC_ID_ID = 2 , PREDEF_DECL_OBJC_SEL_ID = 3 ,
  PREDEF_DECL_OBJC_CLASS_ID = 4 , PREDEF_DECL_OBJC_PROTOCOL_ID = 5 , PREDEF_DECL_INT_128_ID = 6 , PREDEF_DECL_UNSIGNED_INT_128_ID = 7 ,
  PREDEF_DECL_OBJC_INSTANCETYPE_ID = 8 , PREDEF_DECL_BUILTIN_VA_LIST_ID = 9 , PREDEF_DECL_VA_LIST_TAG = 10 , PREDEF_DECL_BUILTIN_MS_VA_LIST_ID = 11 ,
  PREDEF_DECL_BUILTIN_MS_GUID_ID = 12 , PREDEF_DECL_EXTERN_C_CONTEXT_ID = 13 , PREDEF_DECL_MAKE_INTEGER_SEQ_ID = 14 , PREDEF_DECL_CF_CONSTANT_STRING_ID = 15 ,
  PREDEF_DECL_CF_CONSTANT_STRING_TAG_ID = 16 , PREDEF_DECL_TYPE_PACK_ELEMENT_ID = 17
}
 Predefined declaration IDs. More...
 
enum class  ObjCImplementationControl { None , Required , Optional }
 
enum class  ObjCTypeParamVariance : uint8_t { Invariant , Covariant , Contravariant }
 Describes the variance of a given generic parameter. More...
 
enum class  ObjCPropertyQueryKind : uint8_t { OBJC_PR_query_unknown = 0x00 , OBJC_PR_query_instance , OBJC_PR_query_class }
 
enum  { NumObjCPropertyAttrsBits = 16 }
 
enum class  OMPDeclareReductionInitKind { Call , Direct , Copy }
 
enum class  ConstantResultStorageKind { None , Int64 , APValue }
 Describes the kind of result that can be tail-allocated. More...
 
enum class  CharacterLiteralKind {
  Ascii , Wide , UTF8 , UTF16 ,
  UTF32
}
 
enum class  StringLiteralKind {
  Ordinary , Wide , UTF8 , UTF16 ,
  UTF32 , Unevaluated
}
 
enum class  PredefinedIdentKind {
  Func , Function , LFunction , FuncDName ,
  FuncSig , LFuncSig , PrettyFunction , PrettyFunctionNoVirtual
}
 
enum class  SourceLocIdentKind {
  Function , FuncSig , File , FileName ,
  Line , Column , SourceLocStruct
}
 
enum class  CXXConstructionKind { Complete , NonVirtualBase , VirtualBase , Delegating }
 
enum class  CXXNewInitializationStyle { None , Parens , Braces }
 
enum class  DynamicInitKind : unsigned { NoStub = 0 , Initializer , AtExit , GlobalArrayDestructor }
 
enum class  KernelReferenceKind : unsigned { Kernel = 0 , Stub = 1 }
 
enum  CastKind
 CastKind - The kind of operation required for a conversion. More...
 
enum  BinaryOperatorKind
 
enum  UnaryOperatorKind
 
enum  ObjCBridgeCastKind { OBC_Bridge , OBC_BridgeTransfer , OBC_BridgeRetained }
 The kind of bridging performed by the Objective-C bridge cast. More...
 
enum  SelectorLocationsKind { SelLoc_NonStandard = 0 , SelLoc_StandardNoSpace = 1 , SelLoc_StandardWithSpace = 2 }
 Whether all locations of the selector identifiers are in a "standard" position. More...
 
enum  { TypeAlignmentInBits = 4 , TypeAlignment = 1 << TypeAlignmentInBits }
 
enum class  ObjCSubstitutionContext {
  Ordinary , Result , Parameter , Property ,
  Superclass
}
 The kind of type we are substituting Objective-C type arguments into. More...
 
enum class  TypeOfKind : uint8_t { Qualified , Unqualified }
 The kind of 'typeof' expression we're after. More...
 
enum  RefQualifierKind { RQ_None = 0 , RQ_LValue , RQ_RValue }
 The kind of C++11 ref-qualifier associated with a function type. More...
 
enum class  AutoTypeKeyword { Auto , DecltypeAuto , GNUAutoType }
 Which keyword(s) were used to create an AutoType. More...
 
enum class  ArraySizeModifier { Normal , Static , Star }
 Capture whether this is a normal array (e.g. More...
 
enum class  VectorKind {
  Generic , AltiVecVector , AltiVecPixel , AltiVecBool ,
  Neon , NeonPoly , SveFixedLengthData , SveFixedLengthPredicate ,
  RVVFixedLengthData , RVVFixedLengthMask
}
 
enum class  ElaboratedTypeKeyword {
  Struct , Interface , Union , Class ,
  Enum , Typename , None
}
 The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifier. More...
 
enum class  TagTypeKind {
  Struct , Interface , Union , Class ,
  Enum
}
 The kind of a tag type. More...
 
enum  CXXCtorType {
  Ctor_Complete , Ctor_Base , Ctor_Comdat , Ctor_CopyingClosure ,
  Ctor_DefaultClosure
}
 C++ constructor types. More...
 
enum  CXXDtorType { Dtor_Deleting , Dtor_Complete , Dtor_Base , Dtor_Comdat }
 C++ destructor types. More...
 
enum class  LangAS : unsigned {
  Default = 0 , opencl_global , opencl_local , opencl_constant ,
  opencl_private , opencl_generic , opencl_global_device , opencl_global_host ,
  cuda_device , cuda_constant , cuda_shared , sycl_global ,
  sycl_global_device , sycl_global_host , sycl_local , sycl_private ,
  ptr32_sptr , ptr32_uptr , ptr64 , hlsl_groupshared ,
  wasm_funcref , FirstTargetAddressSpace
}
 Defines the address space values used by the address space qualifier of QualType. More...
 
enum  LanguageID : uint16_t {
  GNU_LANG = 0x1 , C_LANG = 0x2 , CXX_LANG = 0x4 , OBJC_LANG = 0x8 ,
  MS_LANG = 0x10 , OMP_LANG = 0x20 , CUDA_LANG = 0x40 , COR_LANG = 0x80 ,
  OCL_GAS = 0x100 , OCL_PIPE = 0x200 , OCL_DSE = 0x400 , ALL_OCL_LANGUAGES = 0x800 ,
  HLSL_LANG = 0x1000 , ALL_LANGUAGES = C_LANG | CXX_LANG | OBJC_LANG , ALL_GNU_LANGUAGES = ALL_LANGUAGES | GNU_LANG , ALL_MS_LANGUAGES = ALL_LANGUAGES | MS_LANG
}
 
enum  BuiltinTemplateKind : int { BTK__make_integer_seq , BTK__type_pack_element }
 Kinds of BuiltinTemplateDecl. More...
 
enum  CapturedRegionKind { CR_Default , CR_ObjCAtFinally , CR_OpenMP }
 The different kinds of captured statement. More...
 
enum class  EscapeChar { Single = 1 , Double = 2 , SingleAndDouble = static_cast<int>(Single) | static_cast<int>(Double) }
 
enum class  CudaVersion {
  UNKNOWN , CUDA_70 , CUDA_75 , CUDA_80 ,
  CUDA_90 , CUDA_91 , CUDA_92 , CUDA_100 ,
  CUDA_101 , CUDA_102 , CUDA_110 , CUDA_111 ,
  CUDA_112 , CUDA_113 , CUDA_114 , CUDA_115 ,
  CUDA_116 , CUDA_117 , CUDA_118 , CUDA_120 ,
  CUDA_121 , CUDA_122 , CUDA_123 , CUDA_124 ,
  FULLY_SUPPORTED = CUDA_123 , PARTIALLY_SUPPORTED , NEW = 10000
}
 
enum class  CudaArch {
  UNUSED , UNKNOWN , SM_20 , SM_21 ,
  SM_30 , SM_32_ , SM_35 , SM_37 ,
  SM_50 , SM_52 , SM_53 , SM_60 ,
  SM_61 , SM_62 , SM_70 , SM_72 ,
  SM_75 , SM_80 , SM_86 , SM_87 ,
  SM_89 , SM_90 , SM_90a , GFX600 ,
  GFX601 , GFX602 , GFX700 , GFX701 ,
  GFX702 , GFX703 , GFX704 , GFX705 ,
  GFX801 , GFX802 , GFX803 , GFX805 ,
  GFX810 , GFX900 , GFX902 , GFX904 ,
  GFX906 , GFX908 , GFX909 , GFX90a ,
  GFX90c , GFX940 , GFX941 , GFX942 ,
  GFX1010 , GFX1011 , GFX1012 , GFX1013 ,
  GFX1030 , GFX1031 , GFX1032 , GFX1033 ,
  GFX1034 , GFX1035 , GFX1036 , GFX1100 ,
  GFX1101 , GFX1102 , GFX1103 , GFX1150 ,
  GFX1151 , GFX1200 , GFX1201 , Generic ,
  LAST , CudaDefault = CudaArch::SM_52 , HIPDefault = CudaArch::GFX906
}
 
enum class  CUDAFunctionTarget {
  Device , Global , Host , HostDevice ,
  InvalidTarget
}
 
enum class  CudaFeature { CUDA_USES_NEW_LAUNCH , CUDA_USES_FATBIN_REGISTER_END }
 
enum  OverloadsShown : unsigned { Ovl_All , Ovl_Best }
 Specifies which overload candidates to display when overload resolution fails. More...
 
enum class  DiagnosticLevelMask : unsigned {
  None = 0 , Note = 1 << 0 , Remark = 1 << 1 , Warning = 1 << 2 ,
  Error = 1 << 3 , All = Note | Remark | Warning | Error
}
 A bitmask representing the diagnostic levels used by VerifyDiagnosticConsumer. More...
 
enum  ExceptionSpecificationType {
  EST_None , EST_DynamicNone , EST_Dynamic , EST_MSAny ,
  EST_NoThrow , EST_BasicNoexcept , EST_DependentNoexcept , EST_NoexceptFalse ,
  EST_NoexceptTrue , EST_Unevaluated , EST_Uninstantiated , EST_Unparsed
}
 The various types of exception specifications that exist in C++11. More...
 
enum  CanThrowResult { CT_Cannot , CT_Dependent , CT_Can }
 Possible results from evaluation of a noexcept expression. More...
 
enum  ExpressionTrait { ET_Last }
 
enum  HeaderIncludeFormatKind { HIFMT_None , HIFMT_Textual , HIFMT_JSON }
 The format in which header information is emitted. More...
 
enum  HeaderIncludeFilteringKind { HIFIL_None , HIFIL_Only_Direct_System }
 Whether header information is filtered or not. More...
 
enum class  ReservedIdentifierStatus {
  NotReserved = 0 , StartsWithUnderscoreAtGlobalScope , StartsWithUnderscoreAndIsExternC , StartsWithDoubleUnderscore ,
  StartsWithUnderscoreFollowedByCapitalLetter , ContainsDoubleUnderscore
}
 
enum class  ReservedLiteralSuffixIdStatus { NotReserved = 0 , NotStartsWithUnderscore , ContainsDoubleUnderscore }
 
enum  { IdentifierInfoAlignment = 8 }
 IdentifierInfo and other related classes are aligned to 8 bytes so that DeclarationName can use the lower 3 bits of a pointer to one of these classes. More...
 
enum class  InterestingIdentifier {
  OBJC_AT_KEYWORD , NUM_OBJC_KEYWORDS , NOTABLE_IDENTIFIER , NUM_OBJC_KEYWORDS_AND_NOTABLE_IDENTIFIERS ,
  NotBuiltin , BUILTIN , FirstTSBuiltin , NotInterestingIdentifier = 65534
}
 The "layout" of InterestingIdentifier is: More...
 
enum  ObjCMethodFamily {
  OMF_None , OMF_alloc , OMF_copy , OMF_init ,
  OMF_mutableCopy , OMF_new , OMF_autorelease , OMF_dealloc ,
  OMF_finalize , OMF_release , OMF_retain , OMF_retainCount ,
  OMF_self , OMF_initialize , OMF_performSelector
}
 A family of Objective-C methods. More...
 
enum  { ObjCMethodFamilyBitWidth = 4 }
 Enough bits to store any enumerator in ObjCMethodFamily or InvalidObjCMethodFamily. More...
 
enum  { InvalidObjCMethodFamily = (1 << ObjCMethodFamilyBitWidth) - 1 }
 An invalid value of ObjCMethodFamily. More...
 
enum  ObjCInstanceTypeFamily {
  OIT_None , OIT_Array , OIT_Dictionary , OIT_Singleton ,
  OIT_Init , OIT_ReturnsSelf
}
 A family of Objective-C methods. More...
 
enum  ObjCStringFormatFamily { SFF_None , SFF_NSString , SFF_CFString }
 
enum  LambdaCaptureDefault { LCD_None , LCD_ByCopy , LCD_ByRef }
 The default, if any, capture method for a lambda expression. More...
 
enum  LambdaCaptureKind {
  LCK_This , LCK_StarThis , LCK_ByCopy , LCK_ByRef ,
  LCK_VLAType
}
 The different capture forms in a lambda introducer. More...
 
enum class  MSVtorDispMode { Never , ForVBaseOverride , ForVFTable }
 In the Microsoft ABI, this controls the placement of virtual displacement members used to implement virtual inheritance. More...
 
enum class  ShaderStage {
  Pixel = 0 , Vertex , Geometry , Hull ,
  Domain , Compute , Library , RayGeneration ,
  Intersection , AnyHit , ClosestHit , Miss ,
  Callable , Mesh , Amplification , Invalid
}
 Shader programs run in specific pipeline stages. More...
 
enum class  PointerAuthenticationMode : unsigned { None , Strip , SignAndStrip , SignAndAuth }
 
enum  TranslationUnitKind { TU_Complete , TU_Prefix , TU_ClangModule , TU_Incremental }
 Describes the kind of translation unit being processed. More...
 
enum class  Language : uint8_t {
  Unknown , Asm , CIR , LLVM_IR ,
  C , CXX , ObjC , ObjCXX ,
  OpenCL , OpenCLCXX , CUDA , RenderScript ,
  HIP , HLSL
}
 The language for the input, used to select and validate the language standard and possible actions. More...
 
enum  LangFeatures {
  LineComment = (1 << 0) , C99 = (1 << 1) , C11 = (1 << 2) , C17 = (1 << 3) ,
  C23 = (1 << 4) , CPlusPlus = (1 << 5) , CPlusPlus11 = (1 << 6) , CPlusPlus14 = (1 << 7) ,
  CPlusPlus17 = (1 << 8) , CPlusPlus20 = (1 << 9) , CPlusPlus23 = (1 << 10) , CPlusPlus26 = (1 << 11) ,
  Digraphs = (1 << 12) , GNUMode = (1 << 13) , HexFloat = (1 << 14) , OpenCL = (1 << 15) ,
  OpenCL , HLSL = (1 << 16) , HLSL
}
 
enum class  Linkage : unsigned char {
  Invalid = 0 , None , Internal , UniqueExternal ,
  VisibleNone , Module , External
}
 Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have. More...
 
enum  LanguageLinkage { CLanguageLinkage , CXXLanguageLinkage , NoLanguageLinkage }
 Describes the different kinds of language linkage (C++ [dcl.link]) that an entity may have. More...
 
enum  GVALinkage {
  GVA_Internal , GVA_AvailableExternally , GVA_DiscardableODR , GVA_StrongExternal ,
  GVA_StrongODR
}
 A more specific kind of linkage than enum Linkage. More...
 
enum class  OpenACCDirectiveKind {
  Parallel , Serial , Kernels , Data ,
  EnterData , ExitData , HostData , Loop ,
  Cache , ParallelLoop , SerialLoop , KernelsLoop ,
  Atomic , Declare , Init , Shutdown ,
  Set , Update , Wait , Routine ,
  Invalid
}
 
enum class  OpenACCAtomicKind {
  Read , Write , Update , Capture ,
  Invalid
}
 
enum class  OpenACCClauseKind {
  Finalize , IfPresent , Seq , Independent ,
  Auto , Worker , Vector , NoHost ,
  Default , If , Self , Copy ,
  PCopy , PresentOrCopy , UseDevice , Attach ,
  Delete , Detach , Device , DevicePtr ,
  DeviceResident , FirstPrivate , Host , Link ,
  NoCreate , Present , Private , CopyOut ,
  PCopyOut , PresentOrCopyOut , CopyIn , PCopyIn ,
  PresentOrCopyIn , Create , PCreate , PresentOrCreate ,
  Reduction , Collapse , Bind , VectorLength ,
  NumGangs , NumWorkers , DeviceNum , DefaultAsync ,
  DeviceType , DType , Async , Tile ,
  Gang , Wait , Invalid
}
 Represents the kind of an OpenACC clause. More...
 
enum class  OpenACCDefaultClauseKind { None , Present , Invalid }
 
enum class  OpenACCReductionOperator {
  Addition , Multiplication , Max , Min ,
  BitwiseAnd , BitwiseOr , BitwiseXOr , And ,
  Or , Invalid
}
 
enum  OpenMPScheduleClauseKind { OMPC_SCHEDULE_unknown }
 OpenMP attributes for 'schedule' clause. More...
 
enum  OpenMPScheduleClauseModifier { OMPC_SCHEDULE_MODIFIER_unknown = OMPC_SCHEDULE_unknown , OMPC_SCHEDULE_MODIFIER_last }
 OpenMP modifiers for 'schedule' clause. More...
 
enum  OpenMPDeviceClauseModifier { OMPC_DEVICE_unknown }
 OpenMP modifiers for 'device' clause. More...
 
enum  OpenMPDependClauseKind { OMPC_DEPEND_unknown }
 OpenMP attributes for 'depend' clause. More...
 
enum  OpenMPLinearClauseKind { OMPC_LINEAR_unknown }
 OpenMP attributes for 'linear' clause. More...
 
enum  OpenMPMapClauseKind { OMPC_MAP_unknown }
 OpenMP mapping kind for 'map' clause. More...
 
enum  OpenMPMapModifierKind { OMPC_MAP_MODIFIER_unknown = OMPC_MAP_unknown , OMPC_MAP_MODIFIER_last }
 OpenMP modifier kind for 'map' clause. More...
 
enum  OpenMPMotionModifierKind { OMPC_MOTION_MODIFIER_unknown }
 OpenMP modifier kind for 'to' or 'from' clause. More...
 
enum  OpenMPDistScheduleClauseKind { OMPC_DIST_SCHEDULE_unknown }
 OpenMP attributes for 'dist_schedule' clause. More...
 
enum  OpenMPDefaultmapClauseKind { OMPC_DEFAULTMAP_unknown }
 OpenMP attributes for 'defaultmap' clause. More...
 
enum  OpenMPDefaultmapClauseModifier { OMPC_DEFAULTMAP_MODIFIER_unknown = OMPC_DEFAULTMAP_unknown , OMPC_DEFAULTMAP_MODIFIER_last }
 OpenMP modifiers for 'defaultmap' clause. More...
 
enum  OpenMPAtomicDefaultMemOrderClauseKind { OMPC_ATOMIC_DEFAULT_MEM_ORDER_unknown }
 OpenMP attributes for 'atomic_default_mem_order' clause. More...
 
enum  OpenMPAtClauseKind { OMPC_AT_unknown }
 OpenMP attributes for 'at' clause. More...
 
enum  OpenMPSeverityClauseKind { OMPC_SEVERITY_unknown }
 OpenMP attributes for 'severity' clause. More...
 
enum  OpenMPDeviceType { OMPC_DEVICE_TYPE_unknown }
 OpenMP device type for 'device_type' clause. More...
 
enum  OpenMPLastprivateModifier { OMPC_LASTPRIVATE_unknown }
 OpenMP 'lastprivate' clause modifier. More...
 
enum  OpenMPOrderClauseKind { OMPC_ORDER_unknown }
 OpenMP attributes for 'order' clause. More...
 
enum  OpenMPOrderClauseModifier { OMPC_ORDER_MODIFIER_unknown = OMPC_ORDER_unknown , OMPC_ORDER_MODIFIER_last }
 OpenMP modifiers for 'order' clause. More...
 
enum  OpenMPReductionClauseModifier { OMPC_REDUCTION_unknown }
 OpenMP modifiers for 'reduction' clause. More...
 
enum  OpenMPAdjustArgsOpKind { OMPC_ADJUST_ARGS_unknown }
 OpenMP adjust-op kinds for 'adjust_args' clause. More...
 
enum  OpenMPBindClauseKind { OMPC_BIND_unknown }
 OpenMP bindings for the 'bind' clause. More...
 
enum  OpenMPGrainsizeClauseModifier { OMPC_GRAINSIZE_unknown }
 
enum  OpenMPNumTasksClauseModifier { OMPC_NUMTASKS_unknown }
 
enum  OpenMPDoacrossClauseModifier { OMPC_DOACROSS_unknown }
 OpenMP dependence types for 'doacross' clause. More...
 
enum  OverloadedOperatorKind : int { OO_None , NUM_OVERLOADED_OPERATORS }
 Enumeration specifying the different kinds of C++ overloaded operators. More...
 
enum  PragmaMSCommentKind {
  PCK_Unknown , PCK_Linker , PCK_Lib , PCK_Compiler ,
  PCK_ExeStr , PCK_User
}
 
enum  PragmaMSStructKind { PMSST_OFF , PMSST_ON }
 
enum  PragmaFloatControlKind {
  PFC_Unknown , PFC_Precise , PFC_NoPrecise , PFC_Except ,
  PFC_NoExcept , PFC_Push , PFC_Pop
}
 
enum  PragmaFPKind {
  PFK_Contract , PFK_Reassociate , PFK_Reciprocal , PFK_Exceptions ,
  PFK_EvalMethod
}
 
enum class  ThreadFlowImportance { Important , Essential , Unimportant }
 
enum class  SarifResultLevel { None , Note , Warning , Error }
 The level of severity associated with a SarifResult. More...
 
enum class  ExplicitSpecKind : unsigned { ResolvedFalse , ResolvedTrue , Unresolved }
 Define the meaning of possible values of the kind in ExplicitSpecifier. More...
 
enum class  ConstexprSpecKind { Unspecified , Constexpr , Consteval , Constinit }
 Define the kind of constexpr specifier. More...
 
enum class  IfStatementKind : unsigned { Ordinary , Constexpr , ConstevalNonNegated , ConstevalNegated }
 In an if statement, this denotes whether the statement is a constexpr or consteval if statement. More...
 
enum class  TypeSpecifierWidth { Unspecified , Short , Long , LongLong }
 Specifies the width of a type, e.g., short, long, or long long. More...
 
enum class  TypeSpecifierSign { Unspecified , Signed , Unsigned }
 Specifies the signedness of a type, e.g., signed or unsigned. More...
 
enum class  TypeSpecifiersPipe { Unspecified , Pipe }
 
enum  TypeSpecifierType {
  TST_unspecified , TST_void , TST_char , TST_wchar ,
  TST_char8 , TST_char16 , TST_char32 , TST_int ,
  TST_int128 , TST_bitint , TST_half , TST_Float16 ,
  TST_Accum , TST_Fract , TST_BFloat16 , TST_float ,
  TST_double , TST_float128 , TST_ibm128 , TST_bool ,
  TST_decimal32 , TST_decimal64 , TST_decimal128 , TST_enum ,
  TST_union , TST_struct , TST_class , TST_interface ,
  TST_typename , TST_typeofType , TST_typeofExpr , TST_typeof_unqualType ,
  TST_typeof_unqualExpr , TST_decltype , TST_auto , TST_decltype_auto ,
  TST_auto_type , TST_unknown_anytype , TST_atomic , TST_typename_pack_indexing ,
  TST_error
}
 Specifies the kind of type. More...
 
enum  AccessSpecifier { AS_public , AS_protected , AS_private , AS_none }
 A C++ access specifier (public, private, protected), plus the special value "none" which means different things in different contexts. More...
 
enum  ExprValueKind { VK_PRValue , VK_LValue , VK_XValue }
 The categorization of expression values, currently following the C++11 scheme. More...
 
enum  ExprObjectKind {
  OK_Ordinary , OK_BitField , OK_VectorComponent , OK_ObjCProperty ,
  OK_ObjCSubscript , OK_MatrixComponent
}
 A further classification of the kind of object referenced by an l-value or x-value. More...
 
enum  NonOdrUseReason { NOUR_None = 0 , NOUR_Unevaluated , NOUR_Constant , NOUR_Discarded }
 The reason why a DeclRefExpr does not constitute an odr-use. More...
 
enum  TemplateSpecializationKind {
  TSK_Undeclared = 0 , TSK_ImplicitInstantiation , TSK_ExplicitSpecialization , TSK_ExplicitInstantiationDeclaration ,
  TSK_ExplicitInstantiationDefinition
}
 Describes the kind of template specialization that a particular template specialization declaration represents. More...
 
enum  ThreadStorageClassSpecifier { TSCS_unspecified , TSCS___thread , TSCS_thread_local , TSCS__Thread_local }
 Thread storage-class-specifier. More...
 
enum  StorageClass {
  SC_None , SC_Extern , SC_Static , SC_PrivateExtern ,
  SC_Auto , SC_Register
}
 Storage classes. More...
 
enum  InClassInitStyle { ICIS_NoInit , ICIS_CopyInit , ICIS_ListInit }
 In-class initialization styles for non-static data members. More...
 
enum  CallingConv {
  CC_C , CC_X86StdCall , CC_X86FastCall , CC_X86ThisCall ,
  CC_X86VectorCall , CC_X86Pascal , CC_Win64 , CC_X86_64SysV ,
  CC_X86RegCall , CC_AAPCS , CC_AAPCS_VFP , CC_IntelOclBicc ,
  CC_SpirFunction , CC_OpenCLKernel , CC_Swift , CC_SwiftAsync ,
  CC_PreserveMost , CC_PreserveAll , CC_AArch64VectorCall , CC_AArch64SVEPCS ,
  CC_AMDGPUKernelCall , CC_M68kRTD , CC_PreserveNone , CC_RISCVVectorCall
}
 CallingConv - Specifies the calling convention that a function uses. More...
 
enum  StorageDuration {
  SD_FullExpression , SD_Automatic , SD_Thread , SD_Static ,
  SD_Dynamic
}
 The storage duration for an object (per C++ [basic.stc]). More...
 
enum class  NullabilityKind : uint8_t { NonNull = 0 , Nullable , Unspecified , NullableResult }
 Describes the nullability of a particular type. More...
 
enum class  ParameterABI {
  Ordinary , SwiftIndirectResult , SwiftErrorResult , SwiftContext ,
  SwiftAsyncContext
}
 Kinds of parameter ABI. More...
 
enum class  MSInheritanceModel { Single = 0 , Multiple = 1 , Virtual = 2 , Unspecified = 3 }
 Assigned inheritance model for a class in the MS C++ ABI. More...
 
enum class  SyncScope {
  SystemScope , DeviceScope , WorkgroupScope , WavefrontScope ,
  SingleScope , HIPSingleThread , HIPWavefront , HIPWorkgroup ,
  HIPAgent , HIPSystem , OpenCLWorkGroup , OpenCLDevice ,
  OpenCLAllSVMDevices , OpenCLSubGroup , Last = OpenCLSubGroup
}
 Defines synch scope values used internally by clang. More...
 
enum class  AtomicScopeModelKind { None , OpenCL , HIP , Generic }
 Defines the kind of atomic scope models. More...
 
enum class  FloatModeKind {
  NoFloat = 0 , Half = 1 << 0 , Float = 1 << 1 , Double = 1 << 2 ,
  LongDouble = 1 << 3 , Float128 = 1 << 4 , Ibm128 = 1 << 5
}
 
enum  OpenCLTypeKind : uint8_t {
  OCLTK_Default , OCLTK_ClkEvent , OCLTK_Event , OCLTK_Image ,
  OCLTK_Pipe , OCLTK_Queue , OCLTK_ReserveID , OCLTK_Sampler
}
 OpenCL type kinds. More...
 
enum  TemplateNameKind {
  TNK_Non_template = 0 , TNK_Function_template , TNK_Type_template , TNK_Var_template ,
  TNK_Dependent_template_name , TNK_Undeclared_template , TNK_Concept_template
}
 Specifies the kind of template name that an identifier refers to. More...
 
enum  TypeTrait { UTT_Last , BTT_Last , TT_Last }
 Names for traits that operate specifically on types. More...
 
enum  ArrayTypeTrait { ATT_Last }
 Names for the array type traits. More...
 
enum  UnaryExprOrTypeTrait { UETT_Last }
 Names for the "expression or type" traits. More...
 
enum  Visibility { HiddenVisibility , ProtectedVisibility , DefaultVisibility }
 Describes the different kinds of visibility that a declaration may have. More...
 
enum  BackendAction {
  Backend_EmitAssembly , Backend_EmitBC , Backend_EmitLL , Backend_EmitNothing ,
  Backend_EmitMCNull , Backend_EmitObj
}
 
enum class  SkipFunctionBodiesScope { None , Preamble , PreambleAndMainFile }
 Enumerates the available scopes for skipping function bodies. More...
 
enum class  CaptureDiagsKind { None , All , AllWithoutNonErrorsFromIncludes }
 Enumerates the available kinds for capturing diagnostics. More...
 
enum class  ShowIncludesDestination { None , Stdout , Stderr }
 ShowIncludesDestination - Destination for /showIncludes output. More...
 
enum class  DependencyOutputFormat { Make , NMake }
 DependencyOutputFormat - Format for the compiler dependency file. More...
 
enum  ExtraDepKind { EDK_SanitizeIgnorelist , EDK_ProfileList , EDK_ModuleFile , EDK_DepFileEntry }
 ExtraDepKind - The kind of extra dependency file. More...
 
enum class  BuildPreambleError {
  CouldntCreateTempFile = 1 , CouldntCreateTargetInfo , BeginSourceFileFailed , CouldntEmitPCH ,
  BadInputs
}
 
enum  { HMAP_HeaderMagicNumber = ('h' << 24) | ('m' << 16) | ('a' << 8) | 'p' , HMAP_HeaderVersion = 1 , HMAP_EmptyBucketKey = 0 }
 
enum  ConflictMarkerKind { CMK_None , CMK_Normal , CMK_Perforce }
 ConflictMarkerKind - Kinds of conflict marker which the lexer might be recovering from. More...
 
enum class  StringLiteralEvalMethod { Evaluated , Unevaluated }
 
enum  PragmaIntroducerKind { PIK_HashPragma , PIK__Pragma , PIK___pragma }
 Describes how the pragma was introduced, e.g., with #pragma, _Pragma, or __pragma. More...
 
enum  MacroUse { MU_Other = 0 , MU_Define = 1 , MU_Undef = 2 }
 Context in which macro name is used. More...
 
enum  ObjCXXARCStandardLibraryKind { ARCXX_nolib , ARCXX_libcxx , ARCXX_libstdcxx }
 Enumerate the kinds of standard library that. More...
 
enum class  DisableValidationForModuleKind { None = 0 , PCH = 0x1 , Module = 0x2 , All = PCH | Module }
 Whether to disable the normal validation performed on precompiled headers and module files when they are loaded. More...
 
enum  {
  CCP_NextInitializer = 7 , CCP_EnumInCase = 7 , CCP_SuperCompletion = 20 , CCP_LocalDeclaration = 34 ,
  CCP_MemberDeclaration = 35 , CCP_Keyword = 40 , CCP_CodePattern = 40 , CCP_Declaration = 50 ,
  CCP_Type = CCP_Declaration , CCP_Constant = 65 , CCP_Macro = 70 , CCP_NestedNameSpecifier = 75 ,
  CCP_Unlikely = 80 , CCP_ObjC_cmd = CCP_Unlikely
}
 Default priority values for code-completion results based on their kind. More...
 
enum  {
  CCD_InBaseClass = 2 , CCD_ObjectQualifierMatch = -1 , CCD_SelectorMatch = -3 , CCD_bool_in_ObjC = 1 ,
  CCD_ProbablyNotObjCCollection = 15 , CCD_MethodAsProperty = 2 , CCD_BlockPropertySetter = 3
}
 Priority value deltas that are added to code-completion results based on the context of the result. More...
 
enum  { CCF_ExactTypeMatch = 4 , CCF_SimilarTypeMatch = 2 }
 Priority value factors by which we will divide or multiply the priority of a code-completion result. More...
 
enum  SimplifiedTypeClass {
  STC_Arithmetic , STC_Array , STC_Block , STC_Function ,
  STC_ObjectiveC , STC_Other , STC_Pointer , STC_Record ,
  STC_Void
}
 A simplified classification of types used when determining "similar" types for code completion. More...
 
enum class  UnqualifiedIdKind {
  IK_Identifier , IK_OperatorFunctionId , IK_ConversionFunctionId , IK_LiteralOperatorId ,
  IK_ConstructorName , IK_ConstructorTemplateId , IK_DestructorName , IK_TemplateId ,
  IK_ImplicitSelfParam , IK_DeductionGuideName
}
 Describes the kind of unqualified-id parsed. More...
 
enum class  FunctionDefinitionKind { Declaration , Definition , Defaulted , Deleted }
 Described the kind of function definition (if any) provided for a function. More...
 
enum class  DeclaratorContext {
  File , Prototype , ObjCResult , ObjCParameter ,
  KNRTypeList , TypeName , FunctionalCast , Member ,
  Block , ForInit , SelectionInit , Condition ,
  TemplateParam , CXXNew , CXXCatch , ObjCCatch ,
  BlockLiteral , LambdaExpr , LambdaExprParameter , ConversionId ,
  TrailingReturn , TrailingReturnVar , TemplateArg , TemplateTypeArg ,
  AliasDecl , AliasTemplate , RequiresExpr , Association
}
 
enum class  ImplicitTypenameContext { No , Yes }
 
enum class  LambdaCaptureInitKind { NoInit , CopyInit , DirectInit , ListInit }
 
enum  OverloadingResult { OR_Success , OR_No_Viable_Function , OR_Ambiguous , OR_Deleted }
 OverloadingResult - Capture the result of performing overload resolution. More...
 
enum  OverloadCandidateDisplayKind { OCD_AllCandidates , OCD_ViableCandidates , OCD_AmbiguousCandidates }
 
enum class  OverloadCandidateParamOrder : char { Normal , Reversed }
 The parameter ordering that will be used for the candidate. More...
 
enum  OverloadCandidateRewriteKind : unsigned { CRK_None = 0x0 , CRK_DifferentOperator = 0x1 , CRK_Reversed = 0x2 }
 The kinds of rewrite we perform on overload candidates. More...
 
enum  ImplicitConversionKind {
  ICK_Identity = 0 , ICK_Lvalue_To_Rvalue , ICK_Array_To_Pointer , ICK_Function_To_Pointer ,
  ICK_Function_Conversion , ICK_Qualification , ICK_Integral_Promotion , ICK_Floating_Promotion ,
  ICK_Complex_Promotion , ICK_Integral_Conversion , ICK_Floating_Conversion , ICK_Complex_Conversion ,
  ICK_Floating_Integral , ICK_Pointer_Conversion , ICK_Pointer_Member , ICK_Boolean_Conversion ,
  ICK_Compatible_Conversion , ICK_Derived_To_Base , ICK_Vector_Conversion , ICK_SVE_Vector_Conversion ,
  ICK_RVV_Vector_Conversion , ICK_Vector_Splat , ICK_Complex_Real , ICK_Block_Pointer_Conversion ,
  ICK_TransparentUnionConversion , ICK_Writeback_Conversion , ICK_Zero_Event_Conversion , ICK_Zero_Queue_Conversion ,
  ICK_C_Only_Conversion , ICK_Incompatible_Pointer_Conversion , ICK_Fixed_Point_Conversion , ICK_HLSL_Vector_Truncation ,
  ICK_HLSL_Array_RValue , ICK_Num_Conversion_Kinds
}
 ImplicitConversionKind - The kind of implicit conversion used to convert an argument to a parameter's type. More...
 
enum  ImplicitConversionRank {
  ICR_Exact_Match = 0 , ICR_Promotion , ICR_Conversion , ICR_OCL_Scalar_Widening ,
  ICR_Complex_Real_Conversion , ICR_Writeback_Conversion , ICR_C_Conversion , ICR_C_Conversion_Extension
}
 ImplicitConversionRank - The rank of an implicit conversion kind. More...
 
enum  NarrowingKind {
  NK_Not_Narrowing , NK_Type_Narrowing , NK_Constant_Narrowing , NK_Variable_Narrowing ,
  NK_Dependent_Narrowing
}
 NarrowingKind - The kind of narrowing conversion being performed by a standard conversion sequence according to C++11 [dcl.init.list]p7. More...
 
enum  OverloadFailureKind {
  ovl_fail_too_many_arguments , ovl_fail_too_few_arguments , ovl_fail_bad_conversion , ovl_fail_bad_deduction ,
  ovl_fail_trivial_conversion , ovl_fail_illegal_constructor , ovl_fail_bad_final_conversion , ovl_fail_final_conversion_not_exact ,
  ovl_fail_bad_target , ovl_fail_enable_if , ovl_fail_explicit , ovl_fail_addr_not_available ,
  ovl_fail_inhctor_slice , ovl_non_default_multiversion_function , ovl_fail_object_addrspace_mismatch , ovl_fail_constraints_not_satisfied ,
  ovl_fail_module_mismatched
}
 
enum  AttributeArgumentNType {
  AANT_ArgumentIntOrBool , AANT_ArgumentIntegerConstant , AANT_ArgumentString , AANT_ArgumentIdentifier ,
  AANT_ArgumentConstantExpr , AANT_ArgumentBuiltinFunction
}
 These constants match the enumerated choices of err_attribute_argument_n_type and err_attribute_argument_type. More...
 
enum  AttributeDeclKind {
  ExpectedFunction , ExpectedUnion , ExpectedVariableOrFunction , ExpectedFunctionOrMethod ,
  ExpectedFunctionMethodOrBlock , ExpectedFunctionMethodOrParameter , ExpectedVariable , ExpectedVariableOrField ,
  ExpectedVariableFieldOrTag , ExpectedTypeOrNamespace , ExpectedFunctionVariableOrClass , ExpectedKernelFunction ,
  ExpectedFunctionWithProtoType
}
 These constants match the enumerated choices of warn_attribute_wrong_decl_type and err_attribute_wrong_decl_type. More...
 
enum class  TemplateDeductionResult {
  Success = 0 , Invalid , InstantiationDepth , Incomplete ,
  IncompletePack , Inconsistent , Underqualified , SubstitutionFailure ,
  DeducedMismatch , DeducedMismatchNested , NonDeducedMismatch , TooManyArguments ,
  TooFewArguments , InvalidExplicitArguments , NonDependentConversionFailure , ConstraintsNotSatisfied ,
  MiscellaneousDeductionFailure , CUDATargetMismatch , AlreadyDiagnosed
}
 Describes the result of template argument deduction. More...
 
enum class  CXXSpecialMemberKind {
  DefaultConstructor , CopyConstructor , MoveConstructor , CopyAssignment ,
  MoveAssignment , Destructor , Invalid
}
 Kinds of C++ special members. More...
 
enum class  CheckedConversionKind {
  Implicit , CStyleCast , FunctionalCast , OtherCast ,
  ForBuiltinOverloadedOp
}
 The kind of conversion being performed. More...
 
enum class  TagUseKind { Reference , Declaration , Definition , Friend }
 
enum  OverloadFixItKind {
  OFIK_Undefined = 0 , OFIK_Dereference , OFIK_TakeAddress , OFIK_RemoveDereference ,
  OFIK_RemoveTakeAddress
}
 
enum class  TemplateSubstitutionKind : char { Specialization , Rewrite }
 The kind of template substitution being performed. More...
 
enum  TPOC { TPOC_Call , TPOC_Conversion , TPOC_Other }
 The context in which partial ordering of function templates occurs. More...
 
enum  AnalysisConstraints { NumConstraints }
 AnalysisConstraints - Set of available constraint models. More...
 
enum  AnalysisDiagClients { PD_NONE , NUM_ANALYSIS_DIAG_CLIENTS }
 AnalysisDiagClients - Set of available diagnostic clients for rendering analysis results. More...
 
enum  AnalysisPurgeMode { NumPurgeModes }
 AnalysisPurgeModes - Set of available strategies for dead symbol removal. More...
 
enum  AnalysisInliningMode { NumInliningModes }
 AnalysisInlineFunctionSelection - Set of inlining function selection heuristics. More...
 
enum  CXXInlineableMemberKind { CIMK_None , CIMK_MemberFunctions , CIMK_Constructors , CIMK_Destructors }
 Describes the different kinds of C++ member functions which can be considered for inlining by the analyzer. More...
 
enum  IPAKind {
  IPAK_None = 1 , IPAK_BasicInlining = 2 , IPAK_Inlining = 3 , IPAK_DynamicDispatch = 4 ,
  IPAK_DynamicDispatchBifurcate = 5
}
 Describes the different modes of inter-procedural analysis. More...
 
enum class  ExplorationStrategyKind {
  DFS , BFS , UnexploredFirst , UnexploredFirstQueue ,
  UnexploredFirstLocationQueue , BFSBlockDFSContents
}
 
enum  UserModeKind { UMK_Shallow = 1 , UMK_Deep = 2 }
 Describes the kinds for high-level analyzer mode. More...
 
enum class  CTUPhase1InliningKind { None , Small , All }
 
enum  TestLanguage {
  Lang_C89 , Lang_C99 , Lang_CXX03 , Lang_CXX11 ,
  Lang_CXX14 , Lang_CXX17 , Lang_CXX20 , Lang_CXX23 ,
  Lang_OpenCL , Lang_OBJC , Lang_OBJCXX
}
 
enum  AccessKinds {
  AK_Read , AK_ReadObjectRepresentation , AK_Assign , AK_Increment ,
  AK_Decrement , AK_MemberCall , AK_DynamicCast , AK_TypeId ,
  AK_Construct , AK_Destroy
}
 Kinds of access we can perform on an object, for diagnostics. More...
 
enum  CheckSubobjectKind {
  CSK_Base , CSK_Derived , CSK_Field , CSK_ArrayToPointer ,
  CSK_ArrayIndex , CSK_Real , CSK_Imag
}
 The order of this enum is important for diagnostics. More...
 
enum  TemplateDeductionFlags {
  TDF_None = 0 , TDF_ParamWithReferenceType = 0x1 , TDF_IgnoreQualifiers = 0x02 , TDF_DerivedClass = 0x04 ,
  TDF_SkipNonDependent = 0x08 , TDF_TopLevelParameterTypeList = 0x10 , TDF_AllowCompatibleFunctionType = 0x20 , TDF_ArgWithReferenceType = 0x40
}
 Various flags that control template argument deduction. More...
 
enum  { TileRegLow = 0 , TileRegHigh = 7 }
 

Functions

void checkCalledOnceParameters (AnalysisDeclContext &AC, CalledOnceCheckHandler &Handler, bool CheckConventionalParameters)
 Check given CFG for 'called once' parameter violations. More...
 
std::optional< WeakTopologicalOrderinggetIntervalWTO (const CFG &Cfg)
 
void runUninitializedVariablesAnalysis (const DeclContext &dc, const CFG &cfg, AnalysisDeclContext &ac, UninitVariablesHandler &handler, UninitVariablesAnalysisStats &stats)
 
void checkUnsafeBufferUsage (const Decl *D, UnsafeBufferUsageHandler &Handler, bool EmitSuggestions)
 
bool operator== (const CallGraphNode::CallRecord &LHS, const CallGraphNode::CallRecord &RHS)
 
ExprextractElementInitializerFromNestedAILE (const ArrayInitLoopExpr *AILE)
 
llvm::SmallString< 32 > getIssueHash (const FullSourceLoc &IssueLoc, llvm::StringRef CheckerName, llvm::StringRef WarningMessage, const Decl *IssueDecl, const LangOptions &LangOpts)
 Returns an opaque identifier for a diagnostic. More...
 
std::string getIssueString (const FullSourceLoc &IssueLoc, llvm::StringRef CheckerName, llvm::StringRef WarningMessage, const Decl *IssueDecl, const LangOptions &LangOpts)
 Get the unhashed string representation of the V1 issue hash. More...
 
template<typename... IdentifierInfos>
static Selector getKeywordSelector (ASTContext &Ctx, const IdentifierInfos *...IIs)
 
template<typename... IdentifierInfos>
static void lazyInitKeywordSelector (Selector &Sel, ASTContext &Ctx, IdentifierInfos *... IIs)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const ASTContext::SectionInfo &Section)
 Insertion operator for diagnostics. More...
 
Selector GetNullarySelector (StringRef name, ASTContext &Ctx)
 Utility function for constructing a nullary selector. More...
 
Selector GetUnarySelector (StringRef name, ASTContext &Ctx)
 Utility function for constructing an unary selector. More...
 
void FormatASTNodeDiagnosticArgument (DiagnosticsEngine::ArgumentKind Kind, intptr_t Val, StringRef Modifier, StringRef Argument, ArrayRef< DiagnosticsEngine::ArgumentValue > PrevArgs, SmallVectorImpl< char > &Output, void *Cookie, ArrayRef< intptr_t > QualTypeVals)
 DiagnosticsEngine argument formatting function for diagnostics that involve AST nodes. More...
 
QualType desugarForDiagnostic (ASTContext &Context, QualType QT, bool &ShouldAKA)
 Returns a desugared version of the QualType, and marks ShouldAKA as true whenever we remove significant sugar from the type. More...
 
llvm::SmallVector< Decl *, 2 > getCanonicalForwardRedeclChain (Decl *D)
 
StringRef getLambdaStaticInvokerName ()
 
bool isLambdaCallOperator (const CXXMethodDecl *MD)
 
bool isLambdaCallOperator (const DeclContext *DC)
 
bool isLambdaCallWithExplicitObjectParameter (const DeclContext *DC)
 
bool isLambdaCallWithImplicitObjectParameter (const DeclContext *DC)
 
bool isGenericLambdaCallOperatorSpecialization (const CXXMethodDecl *MD)
 
bool isLambdaConversionOperator (CXXConversionDecl *C)
 
bool isLambdaConversionOperator (Decl *D)
 
bool isGenericLambdaCallOperatorSpecialization (DeclContext *DC)
 
bool isGenericLambdaCallOperatorOrStaticInvokerSpecialization (const DeclContext *DC)
 
DeclContextgetLambdaAwareParentOfDeclContext (DeclContext *DC)
 
raw_ostream & operator<< (raw_ostream &OS, ASTNodeKind K)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const Attr *At)
 
template<typename SpecificAttr , typename Container >
specific_attr_iterator< SpecificAttr, Container > specific_attr_begin (const Container &container)
 
template<typename SpecificAttr , typename Container >
specific_attr_iterator< SpecificAttr, Container > specific_attr_end (const Container &container)
 
template<typename SpecificAttr , typename Container >
bool hasSpecificAttr (const Container &container)
 
template<typename SpecificAttr , typename Container >
SpecificAttr * getSpecificAttr (const Container &container)
 
bool operator== (const AvailabilityInfo &Lhs, const AvailabilityInfo &Rhs)
 
template<typename T , typename U >
bool operator== (CanQual< T > x, CanQual< U > y)
 
template<typename T , typename U >
bool operator!= (CanQual< T > x, CanQual< U > y)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, CanQualType T)
 
ComparisonCategoryType commonComparisonType (ComparisonCategoryType A, ComparisonCategoryType B)
 Determine the common comparison type, as defined in C++2a [class.spaceship]p4. More...
 
std::optional< ComparisonCategoryTypegetComparisonCategoryForBuiltinCmp (QualType T)
 Get the comparison category that should be used when comparing values of type T. More...
 
ExprDependence computeDependence (FullExpr *E)
 
ExprDependence computeDependence (OpaqueValueExpr *E)
 
ExprDependence computeDependence (ParenExpr *E)
 
ExprDependence computeDependence (UnaryOperator *E, const ASTContext &Ctx)
 
ExprDependence computeDependence (UnaryExprOrTypeTraitExpr *E)
 
ExprDependence computeDependence (ArraySubscriptExpr *E)
 
ExprDependence computeDependence (MatrixSubscriptExpr *E)
 
ExprDependence computeDependence (CompoundLiteralExpr *E)
 
ExprDependence computeDependence (ImplicitCastExpr *E)
 
ExprDependence computeDependence (ExplicitCastExpr *E)
 
ExprDependence computeDependence (BinaryOperator *E)
 
ExprDependence computeDependence (ConditionalOperator *E)
 
ExprDependence computeDependence (BinaryConditionalOperator *E)
 
ExprDependence computeDependence (StmtExpr *E, unsigned TemplateDepth)
 
ExprDependence computeDependence (ConvertVectorExpr *E)
 
ExprDependence computeDependence (VAArgExpr *E)
 
ExprDependence computeDependence (ChooseExpr *E)
 
ExprDependence computeDependence (NoInitExpr *E)
 
ExprDependence computeDependence (ArrayInitLoopExpr *E)
 
ExprDependence computeDependence (ImplicitValueInitExpr *E)
 
ExprDependence computeDependence (InitListExpr *E)
 
ExprDependence computeDependence (ExtVectorElementExpr *E)
 
ExprDependence computeDependence (BlockExpr *E)
 
ExprDependence computeDependence (AsTypeExpr *E)
 
ExprDependence computeDependence (DeclRefExpr *E, const ASTContext &Ctx)
 Compute the type-, value-, and instantiation-dependence of a declaration reference based on the declaration being referenced. More...
 
ExprDependence computeDependence (RecoveryExpr *E)
 
ExprDependence computeDependence (CXXRewrittenBinaryOperator *E)
 
ExprDependence computeDependence (CXXStdInitializerListExpr *E)
 
ExprDependence computeDependence (CXXTypeidExpr *E)
 
ExprDependence computeDependence (MSPropertyRefExpr *E)
 
ExprDependence computeDependence (MSPropertySubscriptExpr *E)
 
ExprDependence computeDependence (CXXUuidofExpr *E)
 
ExprDependence computeDependence (CXXThisExpr *E)
 
ExprDependence computeDependence (CXXThrowExpr *E)
 
ExprDependence computeDependence (CXXBindTemporaryExpr *E)
 
ExprDependence computeDependence (CXXScalarValueInitExpr *E)
 
ExprDependence computeDependence (CXXDeleteExpr *E)
 
ExprDependence computeDependence (ArrayTypeTraitExpr *E)
 
ExprDependence computeDependence (ExpressionTraitExpr *E)
 
ExprDependence computeDependence (CXXNoexceptExpr *E, CanThrowResult CT)
 
ExprDependence computeDependence (PackExpansionExpr *E)
 
ExprDependence computeDependence (PackIndexingExpr *E)
 
ExprDependence computeDependence (SubstNonTypeTemplateParmExpr *E)
 
ExprDependence computeDependence (CoroutineSuspendExpr *E)
 
ExprDependence computeDependence (DependentCoawaitExpr *E)
 
ExprDependence computeDependence (CXXNewExpr *E)
 
ExprDependence computeDependence (CXXPseudoDestructorExpr *E)
 
ExprDependence computeDependence (OverloadExpr *E, bool KnownDependent, bool KnownInstantiationDependent, bool KnownContainsUnexpandedParameterPack)
 
ExprDependence computeDependence (DependentScopeDeclRefExpr *E)
 
ExprDependence computeDependence (CXXConstructExpr *E)
 
ExprDependence computeDependence (CXXTemporaryObjectExpr *E)
 
ExprDependence computeDependence (CXXDefaultInitExpr *E)
 
ExprDependence computeDependence (CXXDefaultArgExpr *E)
 
ExprDependence computeDependence (LambdaExpr *E, bool ContainsUnexpandedParameterPack)
 
ExprDependence computeDependence (CXXUnresolvedConstructExpr *E)
 
ExprDependence computeDependence (CXXDependentScopeMemberExpr *E)
 
ExprDependence computeDependence (MaterializeTemporaryExpr *E)
 
ExprDependence computeDependence (CXXFoldExpr *E)
 
ExprDependence computeDependence (CXXParenListInitExpr *E)
 
ExprDependence computeDependence (TypeTraitExpr *E)
 
ExprDependence computeDependence (ConceptSpecializationExpr *E, bool ValueDependent)
 
ExprDependence computeDependence (SYCLUniqueStableNameExpr *E)
 
ExprDependence computeDependence (SYCLUniqueStableIdExpr *E)
 
ExprDependence computeDependence (PredefinedExpr *E)
 
ExprDependence computeDependence (CallExpr *E, llvm::ArrayRef< Expr * > PreArgs)
 
ExprDependence computeDependence (OffsetOfExpr *E)
 
ExprDependence computeDependence (MemberExpr *E)
 
ExprDependence computeDependence (ShuffleVectorExpr *E)
 
ExprDependence computeDependence (GenericSelectionExpr *E, bool ContainsUnexpandedPack)
 
ExprDependence computeDependence (DesignatedInitExpr *E)
 
ExprDependence computeDependence (ParenListExpr *E)
 
ExprDependence computeDependence (PseudoObjectExpr *E)
 
ExprDependence computeDependence (AtomicExpr *E)
 
ExprDependence computeDependence (ArraySectionExpr *E)
 
ExprDependence computeDependence (OMPArrayShapingExpr *E)
 
ExprDependence computeDependence (OMPIteratorExpr *E)
 
ExprDependence computeDependence (ObjCArrayLiteral *E)
 
ExprDependence computeDependence (ObjCDictionaryLiteral *E)
 
ExprDependence computeDependence (ObjCBoxedExpr *E)
 
ExprDependence computeDependence (ObjCEncodeExpr *E)
 
ExprDependence computeDependence (ObjCIvarRefExpr *E)
 
ExprDependence computeDependence (ObjCPropertyRefExpr *E)
 
ExprDependence computeDependence (ObjCSubscriptRefExpr *E)
 
ExprDependence computeDependence (ObjCIsaExpr *E)
 
ExprDependence computeDependence (ObjCIndirectCopyRestoreExpr *E)
 
ExprDependence computeDependence (ObjCMessageExpr *E)
 
ExprDependence computeDependence (SYCLBuiltinNumFieldsExpr *E)
 
ExprDependence computeDependence (SYCLBuiltinNumBasesExpr *E)
 
ExprDependence computeDependence (SYCLBuiltinFieldTypeExpr *E)
 
ExprDependence computeDependence (SYCLBuiltinBaseTypeExpr *E)
 
bool inheritanceModelHasVBPtrOffsetField (MSInheritanceModel Inheritance)
 
bool inheritanceModelHasNVOffsetField (bool IsMemberFunction, MSInheritanceModel Inheritance)
 
bool inheritanceModelHasVBTableOffsetField (MSInheritanceModel Inheritance)
 
bool inheritanceModelHasOnlyOneField (bool IsMemberFunction, MSInheritanceModel Inheritance)
 
raw_ostream & operator<< (raw_ostream &OS, const NamedDecl &ND)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &PD, const NamedDecl *ND)
 Insertion operator for diagnostics. More...
 
bool IsEnumDeclComplete (EnumDecl *ED)
 Check if the given decl is complete. More...
 
bool IsEnumDeclScoped (EnumDecl *ED)
 Check if the given decl is scoped. More...
 
static constexpr StringRef getOpenMPVariantManglingSeparatorStr ()
 OpenMP variants are mangled early based on their OpenMP context selector. More...
 
bool IsArmStreamingFunction (const FunctionDecl *FD, bool IncludeLocallyStreaming)
 Returns whether the given FunctionDecl has an __arm[_locally]_streaming attribute. More...
 
raw_ostream & operator<< (raw_ostream &OS, DeclarationName N)
 
bool operator< (DeclarationName LHS, DeclarationName RHS)
 Ordering on two declaration names. More...
 
bool operator> (DeclarationName LHS, DeclarationName RHS)
 Ordering on two declaration names. More...
 
bool operator<= (DeclarationName LHS, DeclarationName RHS)
 Ordering on two declaration names. More...
 
bool operator>= (DeclarationName LHS, DeclarationName RHS)
 Ordering on two declaration names. More...
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &PD, DeclarationName N)
 Insertion operator for partial diagnostics. More...
 
raw_ostream & operator<< (raw_ostream &OS, DeclarationNameInfo DNInfo)
 
bool declaresSameEntity (const Decl *D1, const Decl *D2)
 Determine whether two declarations declare the same entity. More...
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, AccessSpecifier AS)
 Insertion operator for diagnostics. More...
 
raw_ostream & operator<< (raw_ostream &OS, const ObjCCategoryImplDecl &CID)
 
raw_ostream & operator<< (raw_ostream &OS, const ObjCImplementationDecl &ID)
 
NamedDeclgetAsNamedDecl (TemplateParameter P)
 
void * allocateDefaultArgStorageChain (const ASTContext &C)
 
TemplateDeclgetAsTypeTemplateDecl (Decl *D)
 
std::optional< unsignedgetExpandedPackSize (const NamedDecl *Param)
 Check whether the template parameter is a pack expansion, and if so, determine the number of parameters produced by that expansion. More...
 
TemplateParameterListgetReplacedTemplateParameterList (Decl *D)
 Internal helper used by Subst* nodes to retrieve the parameter list for their AssociatedDecl. More...
 
ExprDependence toExprDependence (TemplateArgumentDependence TA)
 Computes dependencies of a reference with the name having template arguments with TA dependencies. More...
 
ExprDependence toExprDependenceForImpliedType (TypeDependence D)
 
ExprDependence toExprDependenceAsWritten (TypeDependence D)
 
ExprDependence toExprDependence (NestedNameSpecifierDependence D)
 
ExprDependence turnTypeToValueDependence (ExprDependence D)
 
ExprDependence turnValueToTypeDependence (ExprDependence D)
 
TypeDependence toTypeDependence (ExprDependence D)
 
TypeDependence toTypeDependence (NestedNameSpecifierDependence D)
 
TypeDependence toTypeDependence (TemplateNameDependence D)
 
TypeDependence toTypeDependence (TemplateArgumentDependence D)
 
TypeDependence toSyntacticDependence (TypeDependence D)
 
TypeDependence toSemanticDependence (TypeDependence D)
 
NestedNameSpecifierDependence toNestedNameSpecifierDependendence (TypeDependence D)
 
TemplateArgumentDependence toTemplateArgumentDependence (TypeDependence D)
 
TemplateArgumentDependence toTemplateArgumentDependence (TemplateNameDependence D)
 
TemplateArgumentDependence toTemplateArgumentDependence (ExprDependence D)
 
TemplateNameDependence toTemplateNameDependence (NestedNameSpecifierDependence D)
 
 LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ()
 
template<typename... FnTys>
ExprIgnoreExprNodes (Expr *E, FnTys &&... Fns)
 Given an expression E and functions Fn_1,...,Fn_n : Expr * -> Expr *, Recursively apply each of the functions to E until reaching a fixed point. More...
 
template<typename... FnTys>
const ExprIgnoreExprNodes (const Expr *E, FnTys &&...Fns)
 
ExprIgnoreImplicitCastsSingleStep (Expr *E)
 
ExprIgnoreImplicitCastsExtraSingleStep (Expr *E)
 
ExprIgnoreCastsSingleStep (Expr *E)
 
ExprIgnoreLValueCastsSingleStep (Expr *E)
 
ExprIgnoreBaseCastsSingleStep (Expr *E)
 
ExprIgnoreImplicitSingleStep (Expr *E)
 
ExprIgnoreElidableImplicitConstructorSingleStep (Expr *E)
 
ExprIgnoreImplicitAsWrittenSingleStep (Expr *E)
 
ExprIgnoreParensOnlySingleStep (Expr *E)
 
ExprIgnoreParensSingleStep (Expr *E)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, NestedNameSpecifier *NNS)
 Insertion operator for diagnostics. More...
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const OMPTraitInfo &TI)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const OMPTraitInfo *TI)
 
 DEF_TRAVERSE_TYPE (ComplexType, { TRY_TO(TraverseType(T->getElementType()));}) DEF_TRAVERSE_TYPE(PointerType
 
 DEF_TRAVERSE_TYPE (BlockPointerType, { TRY_TO(TraverseType(T->getPointeeType()));}) DEF_TRAVERSE_TYPE(LValueReferenceType
 
 DEF_TRAVERSE_TYPE (RValueReferenceType, { TRY_TO(TraverseType(T->getPointeeType()));}) DEF_TRAVERSE_TYPE(MemberPointerType
 
 TRY_TO (TraverseType(T->getPointeeType()))
 
 DEF_TRAVERSE_TYPE (AdjustedType, { TRY_TO(TraverseType(T->getOriginalType()));}) DEF_TRAVERSE_TYPE(DecayedType
 
 DEF_TRAVERSE_TYPE (ConstantArrayType, { TRY_TO(TraverseType(T->getElementType()));if(T->getSizeExpr()) TRY_TO(TraverseStmt(const_cast< Expr * >(T->getSizeExpr())));}) DEF_TRAVERSE_TYPE(ArrayParameterType
 
 if (T->getSizeExpr()) TRY_TO(TraverseStmt(const_cast< Expr * >(T -> getSizeExpr())))
 
 DEF_TRAVERSE_TYPE (IncompleteArrayType, { TRY_TO(TraverseType(T->getElementType()));}) DEF_TRAVERSE_TYPE(VariableArrayType
 
 TRY_TO (TraverseStmt(T->getSizeExpr()))
 
 DEF_TRAVERSE_TYPE (DependentSizedArrayType, { TRY_TO(TraverseType(T->getElementType()));if(T->getSizeExpr()) TRY_TO(TraverseStmt(T->getSizeExpr()));}) DEF_TRAVERSE_TYPE(DependentAddressSpaceType
 
 DEF_TRAVERSE_TYPE (DependentVectorType, { if(T->getSizeExpr()) TRY_TO(TraverseStmt(T->getSizeExpr()));TRY_TO(TraverseType(T->getElementType()));}) DEF_TRAVERSE_TYPE(DependentSizedExtVectorType
 
 TRY_TO (TraverseType(T->getElementType()))
 
 DEF_TRAVERSE_TYPE (VectorType, { TRY_TO(TraverseType(T->getElementType()));}) DEF_TRAVERSE_TYPE(ExtVectorType
 
 DEF_TRAVERSE_TYPE (ConstantMatrixType, { TRY_TO(TraverseType(T->getElementType()));}) DEF_TRAVERSE_TYPE(DependentSizedMatrixType
 
 DEF_TRAVERSE_TYPE (FunctionNoProtoType, { TRY_TO(TraverseType(T->getReturnType()));}) DEF_TRAVERSE_TYPE(FunctionProtoType
 
 for (const auto &A :T->param_types())
 
 for (const auto &E :T->exceptions())
 
 if (Expr *NE=T->getNoexceptExpr()) TRY_TO(TraverseStmt(NE))
 
 DEF_TRAVERSE_TYPE (TypeOfExprType, { TRY_TO(TraverseStmt(T->getUnderlyingExpr()));}) DEF_TRAVERSE_TYPE(TypeOfType
 
 DEF_TRAVERSE_TYPE (DecltypeType, { TRY_TO(TraverseStmt(T->getUnderlyingExpr()));}) DEF_TRAVERSE_TYPE(PackIndexingType
 
 TRY_TO (TraverseStmt(T->getIndexExpr()))
 
 DEF_TRAVERSE_TYPE (UnaryTransformType, { TRY_TO(TraverseType(T->getBaseType()));TRY_TO(TraverseType(T->getUnderlyingType()));}) DEF_TRAVERSE_TYPE(AutoType
 
 DEF_TRAVERSE_TYPE (DeducedTemplateSpecializationType, { TRY_TO(TraverseTemplateName(T->getTemplateName()));TRY_TO(TraverseType(T->getDeducedType()));}) DEF_TRAVERSE_TYPE(SubstTemplateTypeParmType
 
 DEF_TRAVERSE_TYPE (SubstTemplateTypeParmPackType, { TRY_TO(TraverseTemplateArgument(T->getArgumentPack()));}) DEF_TRAVERSE_TYPE(TemplateSpecializationType
 
 TRY_TO (TraverseTemplateArguments(T->template_arguments()))
 
 DEF_TRAVERSE_TYPE (AttributedType, { TRY_TO(TraverseType(T->getModifiedType()));}) DEF_TRAVERSE_TYPE(CountAttributedType
 
 TRY_TO (TraverseType(T->desugar()))
 
 DEF_TRAVERSE_TYPE (BTFTagAttributedType, { TRY_TO(TraverseType(T->getWrappedType()));}) DEF_TRAVERSE_TYPE(ParenType
 
 DEF_TRAVERSE_TYPE (MacroQualifiedType, { TRY_TO(TraverseType(T->getUnderlyingType()));}) DEF_TRAVERSE_TYPE(ElaboratedType
 
 DEF_TRAVERSE_TYPE (DependentNameType, { TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));}) DEF_TRAVERSE_TYPE(DependentTemplateSpecializationType
 
 DEF_TRAVERSE_TYPE (PackExpansionType, { TRY_TO(TraverseType(T->getPattern()));}) DEF_TRAVERSE_TYPE(ObjCObjectType
 
 for (auto typeArg :T->getTypeArgsAsWritten())
 
 DEF_TRAVERSE_TYPE (ObjCObjectPointerType, { TRY_TO(TraverseType(T->getPointeeType()));}) DEF_TRAVERSE_TYPE(AtomicType
 
 DEF_TRAVERSE_TYPE (PipeType, { TRY_TO(TraverseType(T->getElementType()));}) DEF_TRAVERSE_TYPE(DependentBitIntType
 
 DEF_TRAVERSE_TYPELOC (ComplexType, { TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}) DEF_TRAVERSE_TYPELOC(PointerType
 
 DEF_TRAVERSE_TYPELOC (BlockPointerType, { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc()));}) DEF_TRAVERSE_TYPELOC(LValueReferenceType
 
 DEF_TRAVERSE_TYPELOC (RValueReferenceType, { TRY_TO(TraverseTypeLoc(TL.getPointeeLoc()));}) DEF_TRAVERSE_TYPELOC(MemberPointerType
 
else TRY_TO (TraverseType(QualType(TL.getTypePtr() ->getClass(), 0)))
 
 TRY_TO (TraverseTypeLoc(TL.getPointeeLoc()))
 
 DEF_TRAVERSE_TYPELOC (AdjustedType, { TRY_TO(TraverseTypeLoc(TL.getOriginalLoc()));}) DEF_TRAVERSE_TYPELOC(DecayedType
 
 DEF_TRAVERSE_TYPELOC (ConstantArrayType, { TRY_TO(TraverseTypeLoc(TL.getElementLoc()));TRY_TO(TraverseArrayTypeLocHelper(TL));}) DEF_TRAVERSE_TYPELOC(ArrayParameterType
 
 TRY_TO (TraverseArrayTypeLocHelper(TL))
 
 DEF_TRAVERSE_TYPELOC (IncompleteArrayType, { TRY_TO(TraverseTypeLoc(TL.getElementLoc()));TRY_TO(TraverseArrayTypeLocHelper(TL));}) DEF_TRAVERSE_TYPELOC(VariableArrayType
 
 DEF_TRAVERSE_TYPELOC (DependentSizedArrayType, { TRY_TO(TraverseTypeLoc(TL.getElementLoc()));TRY_TO(TraverseArrayTypeLocHelper(TL));}) DEF_TRAVERSE_TYPELOC(DependentAddressSpaceType
 
 TRY_TO (TraverseType(TL.getTypePtr() ->getPointeeType()))
 
 DEF_TRAVERSE_TYPELOC (DependentSizedExtVectorType, { if(TL.getTypePtr() ->getSizeExpr()) TRY_TO(TraverseStmt(TL.getTypePtr() ->getSizeExpr()));TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}) DEF_TRAVERSE_TYPELOC(VectorType
 
 DEF_TRAVERSE_TYPELOC (DependentVectorType, { if(TL.getTypePtr() ->getSizeExpr()) TRY_TO(TraverseStmt(TL.getTypePtr() ->getSizeExpr()));TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}) DEF_TRAVERSE_TYPELOC(ExtVectorType
 
 DEF_TRAVERSE_TYPELOC (ConstantMatrixType, { TRY_TO(TraverseStmt(TL.getAttrRowOperand()));TRY_TO(TraverseStmt(TL.getAttrColumnOperand()));TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}) DEF_TRAVERSE_TYPELOC(DependentSizedMatrixType
 
 TRY_TO (TraverseStmt(TL.getAttrColumnOperand()))
 
 TRY_TO (TraverseType(TL.getTypePtr() ->getElementType()))
 
 DEF_TRAVERSE_TYPELOC (FunctionNoProtoType, { TRY_TO(TraverseTypeLoc(TL.getReturnLoc()));}) DEF_TRAVERSE_TYPELOC(FunctionProtoType
 
 for (unsigned I=0, E=TL.getNumParams();I !=E;++I)
 
 DEF_TRAVERSE_TYPELOC (TypeOfExprType, { TRY_TO(TraverseStmt(TL.getUnderlyingExpr()));}) DEF_TRAVERSE_TYPELOC(TypeOfType
 
 DEF_TRAVERSE_TYPELOC (DecltypeType, { TRY_TO(TraverseStmt(TL.getTypePtr() ->getUnderlyingExpr()));}) DEF_TRAVERSE_TYPELOC(PackIndexingType
 
 TRY_TO (TraverseStmt(TL.getTypePtr() ->getIndexExpr()))
 
 DEF_TRAVERSE_TYPELOC (UnaryTransformType, { TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo() ->getTypeLoc()));}) DEF_TRAVERSE_TYPELOC(AutoType
 
 if (TL.isConstrained())
 
 DEF_TRAVERSE_TYPELOC (DeducedTemplateSpecializationType, { TRY_TO(TraverseTemplateName(TL.getTypePtr() ->getTemplateName()));TRY_TO(TraverseType(TL.getTypePtr() ->getDeducedType()));}) DEF_TRAVERSE_TYPELOC(SubstTemplateTypeParmType
 
 DEF_TRAVERSE_TYPELOC (SubstTemplateTypeParmPackType, { TRY_TO(TraverseTemplateArgument(TL.getTypePtr() ->getArgumentPack()));}) DEF_TRAVERSE_TYPELOC(TemplateSpecializationType
 
 DEF_TRAVERSE_TYPELOC (ParenType, { TRY_TO(TraverseTypeLoc(TL.getInnerLoc()));}) DEF_TRAVERSE_TYPELOC(MacroQualifiedType
 
 DEF_TRAVERSE_TYPELOC (AttributedType, { TRY_TO(TraverseTypeLoc(TL.getModifiedLoc()));}) DEF_TRAVERSE_TYPELOC(CountAttributedType
 
 DEF_TRAVERSE_TYPELOC (BTFTagAttributedType, { TRY_TO(TraverseTypeLoc(TL.getWrappedLoc()));}) DEF_TRAVERSE_TYPELOC(ElaboratedType
 
 DEF_TRAVERSE_TYPELOC (DependentNameType, { TRY_TO(TraverseNestedNameSpecifierLoc(TL.getQualifierLoc()));}) DEF_TRAVERSE_TYPELOC(DependentTemplateSpecializationType
 
DeclgetPrimaryMergedDecl (Decl *D)
 Get the primary declaration for a declaration from an AST file. More...
 
SelectorLocationsKind hasStandardSelectorLocs (Selector Sel, ArrayRef< SourceLocation > SelLocs, ArrayRef< Expr * > Args, SourceLocation EndLoc)
 Returns true if all SelLocs are in a "standard" location. More...
 
SourceLocation getStandardSelectorLoc (unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef< Expr * > Args, SourceLocation EndLoc)
 Get the "standard" location of a selector identifier, e.g: For nullary selectors, immediately before ']': "[foo release]". More...
 
SelectorLocationsKind hasStandardSelectorLocs (Selector Sel, ArrayRef< SourceLocation > SelLocs, ArrayRef< ParmVarDecl * > Args, SourceLocation EndLoc)
 Returns true if all SelLocs are in a "standard" location. More...
 
SourceLocation getStandardSelectorLoc (unsigned Index, Selector Sel, bool WithArgSpace, ArrayRef< ParmVarDecl * > Args, SourceLocation EndLoc)
 Get the "standard" location of a selector identifier, e.g: For nullary selectors, immediately before ']': "[foo release]". More...
 
StmtIterator cast_away_const (const ConstStmtIterator &RHS)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const TemplateArgument &Arg)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, TemplateName N)
 Insertion operator for diagnostics. More...
 
raw_ostream & operator<< (raw_ostream &OS, QualType QT)
 
void printTemplateArgumentList (raw_ostream &OS, ArrayRef< TemplateArgument > Args, const PrintingPolicy &Policy, const TemplateParameterList *TPL=nullptr)
 Print a template argument list, including the '<' and '>' enclosing the template arguments. More...
 
void printTemplateArgumentList (raw_ostream &OS, ArrayRef< TemplateArgumentLoc > Args, const PrintingPolicy &Policy, const TemplateParameterList *TPL=nullptr)
 
void printTemplateArgumentList (raw_ostream &OS, const TemplateArgumentListInfo &Args, const PrintingPolicy &Policy, const TemplateParameterList *TPL=nullptr)
 
bool isSubstitutedDefaultArgument (ASTContext &Ctx, TemplateArgument Arg, const NamedDecl *Param, ArrayRef< TemplateArgument > Args, unsigned Depth)
 Make a best-effort determination of whether the type T can be produced by substituting Args into the default argument of Param. More...
 
FunctionType::ExtInfo getFunctionExtInfo (const Type &t)
 
FunctionType::ExtInfo getFunctionExtInfo (QualType t)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &PD, LangAS AS)
 Insertion operator for partial diagnostics. More...
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &PD, Qualifiers Q)
 Insertion operator for partial diagnostics. More...
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &PD, QualType T)
 Insertion operator for partial diagnostics. More...
 
void FixedPointValueToString (SmallVectorImpl< char > &Str, llvm::APSInt Val, unsigned Scale)
 
bool isTargetAddressSpace (LangAS AS)
 
unsigned toTargetAddressSpace (LangAS AS)
 
LangAS getLangASFromTargetAS (unsigned TargetAS)
 
bool isPtrSizeAddressSpace (LangAS AS)
 
LangAS asSYCLLangAS (LangAS AS)
 
LangAS asOpenCLLangAS (LangAS AS)
 
llvm::VersionTuple alignedAllocMinVersion (llvm::Triple::OSType OS)
 
bool doesKeywordAttributeTakeArgs (tok::TokenKind Kind)
 
int hasAttribute (AttributeCommonInfo::Syntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts)
 Return the version number associated with the attribute if we recognize and implement the attribute specified by the given information. More...
 
LLVM_READNONE bool isASCII (char c)
 Returns true if a byte is an ASCII character. More...
 
LLVM_READNONE bool isASCII (unsigned char c)
 
LLVM_READNONE bool isASCII (uint32_t c)
 Returns true if a codepoint is an ASCII character. More...
 
LLVM_READNONE bool isASCII (int64_t c)
 
LLVM_READONLY bool isAsciiIdentifierStart (unsigned char c, bool AllowDollar=false)
 Returns true if this is a valid first character of a C identifier, which is [a-zA-Z_]. More...
 
LLVM_READONLY bool isAsciiIdentifierContinue (unsigned char c)
 
LLVM_READONLY bool isAsciiIdentifierContinue (unsigned char c, bool AllowDollar)
 Returns true if this is a body character of a C identifier, which is [a-zA-Z0-9_]. More...
 
LLVM_READONLY bool isHorizontalWhitespace (unsigned char c)
 Returns true if this character is horizontal ASCII whitespace: ' ', '\t', '\f', '\v'. More...
 
LLVM_READONLY bool isVerticalWhitespace (unsigned char c)
 Returns true if this character is vertical ASCII whitespace: '\n', '\r'. More...
 
LLVM_READONLY bool isWhitespace (unsigned char c)
 Return true if this character is horizontal or vertical ASCII whitespace: ' ', '\t', '\f', '\v', '\n', '\r'. More...
 
LLVM_READONLY bool isDigit (unsigned char c)
 Return true if this character is an ASCII digit: [0-9]. More...
 
LLVM_READONLY bool isLowercase (unsigned char c)
 Return true if this character is a lowercase ASCII letter: [a-z]. More...
 
LLVM_READONLY bool isUppercase (unsigned char c)
 Return true if this character is an uppercase ASCII letter: [A-Z]. More...
 
LLVM_READONLY bool isLetter (unsigned char c)
 Return true if this character is an ASCII letter: [a-zA-Z]. More...
 
LLVM_READONLY bool isAlphanumeric (unsigned char c)
 Return true if this character is an ASCII letter or digit: [a-zA-Z0-9]. More...
 
LLVM_READONLY bool isHexDigit (unsigned char c)
 Return true if this character is an ASCII hex digit: [0-9a-fA-F]. More...
 
LLVM_READONLY bool isPunctuation (unsigned char c)
 Return true if this character is an ASCII punctuation character. More...
 
LLVM_READONLY bool isPrintable (unsigned char c)
 Return true if this character is an ASCII printable character; that is, a character that should take exactly one column to print in a fixed-width terminal. More...
 
LLVM_READONLY bool isPreprocessingNumberBody (unsigned char c)
 Return true if this is the body character of a C preprocessing number, which is [a-zA-Z0-9_. More...
 
LLVM_READONLY bool isRawStringDelimBody (unsigned char c)
 Return true if this is the body character of a C++ raw string delimiter. More...
 
template<EscapeChar Opt, class CharT >
LLVM_READONLY auto escapeCStyle (CharT Ch) -> StringRef
 Return C-style escaped string for special characters, or an empty string if there is no such mapping. More...
 
LLVM_READONLY char toLowercase (char c)
 Converts the given ASCII character to its lowercase equivalent. More...
 
LLVM_READONLY char toUppercase (char c)
 Converts the given ASCII character to its uppercase equivalent. More...
 
LLVM_READONLY bool isValidAsciiIdentifier (StringRef S, bool AllowDollar=false)
 Return true if this is a valid ASCII identifier. More...
 
std::optional< diag::GroupdiagGroupFromCLWarningID (unsigned)
 For cl.exe warning IDs that cleany map to clang diagnostic groups, returns the corresponding group. More...
 
const char * CudaVersionToString (CudaVersion V)
 
CudaVersion CudaStringToVersion (const llvm::Twine &S)
 
static bool IsNVIDIAGpuArch (CudaArch A)
 
static bool IsAMDGpuArch (CudaArch A)
 
const char * CudaArchToString (CudaArch A)
 
const char * CudaArchToVirtualArchString (CudaArch A)
 
CudaArch StringToCudaArch (llvm::StringRef S)
 
CudaVersion MinVersionForCudaArch (CudaArch A)
 Get the earliest CudaVersion that supports the given CudaArch. More...
 
CudaVersion MaxVersionForCudaArch (CudaArch A)
 Get the latest CudaVersion that supports the given CudaArch. More...
 
CudaVersion ToCudaVersion (llvm::VersionTuple)
 
bool CudaFeatureEnabled (llvm::VersionTuple, CudaFeature)
 
bool CudaFeatureEnabled (CudaVersion, CudaFeature)
 
template<typename T >
 CustomizableOptional (const T &) -> CustomizableOptional< T >
 
template<class T >
llvm::hash_code hash_value (const CustomizableOptional< T > &O)
 
template<typename T , typename U >
constexpr bool operator== (const CustomizableOptional< T > &X, const CustomizableOptional< U > &Y)
 
template<typename T , typename U >
constexpr bool operator!= (const CustomizableOptional< T > &X, const CustomizableOptional< U > &Y)
 
template<typename T , typename U >
constexpr bool operator< (const CustomizableOptional< T > &X, const CustomizableOptional< U > &Y)
 
template<typename T , typename U >
constexpr bool operator<= (const CustomizableOptional< T > &X, const CustomizableOptional< U > &Y)
 
template<typename T , typename U >
constexpr bool operator> (const CustomizableOptional< T > &X, const CustomizableOptional< U > &Y)
 
template<typename T , typename U >
constexpr bool operator>= (const CustomizableOptional< T > &X, const CustomizableOptional< U > &Y)
 
template<typename T >
constexpr bool operator== (const CustomizableOptional< T > &X, std::nullopt_t)
 
template<typename T >
constexpr bool operator== (std::nullopt_t, const CustomizableOptional< T > &X)
 
template<typename T >
constexpr bool operator!= (const CustomizableOptional< T > &X, std::nullopt_t)
 
template<typename T >
constexpr bool operator!= (std::nullopt_t, const CustomizableOptional< T > &X)
 
template<typename T >
constexpr bool operator< (const CustomizableOptional< T > &, std::nullopt_t)
 
template<typename T >
constexpr bool operator< (std::nullopt_t, const CustomizableOptional< T > &X)
 
template<typename T >
constexpr bool operator<= (const CustomizableOptional< T > &X, std::nullopt_t)
 
template<typename T >
constexpr bool operator<= (std::nullopt_t, const CustomizableOptional< T > &X)
 
template<typename T >
constexpr bool operator> (const CustomizableOptional< T > &X, std::nullopt_t)
 
template<typename T >
constexpr bool operator> (std::nullopt_t, const CustomizableOptional< T > &X)
 
template<typename T >
constexpr bool operator>= (const CustomizableOptional< T > &X, std::nullopt_t)
 
template<typename T >
constexpr bool operator>= (std::nullopt_t, const CustomizableOptional< T > &X)
 
template<typename T >
constexpr bool operator== (const CustomizableOptional< T > &X, const T &Y)
 
template<typename T >
constexpr bool operator== (const T &X, const CustomizableOptional< T > &Y)
 
template<typename T >
constexpr bool operator!= (const CustomizableOptional< T > &X, const T &Y)
 
template<typename T >
constexpr bool operator!= (const T &X, const CustomizableOptional< T > &Y)
 
template<typename T >
constexpr bool operator< (const CustomizableOptional< T > &X, const T &Y)
 
template<typename T >
constexpr bool operator< (const T &X, const CustomizableOptional< T > &Y)
 
template<typename T >
constexpr bool operator<= (const CustomizableOptional< T > &X, const T &Y)
 
template<typename T >
constexpr bool operator<= (const T &X, const CustomizableOptional< T > &Y)
 
template<typename T >
constexpr bool operator> (const CustomizableOptional< T > &X, const T &Y)
 
template<typename T >
constexpr bool operator> (const T &X, const CustomizableOptional< T > &Y)
 
template<typename T >
constexpr bool operator>= (const CustomizableOptional< T > &X, const T &Y)
 
template<typename T >
constexpr bool operator>= (const T &X, const CustomizableOptional< T > &Y)
 
Expected< std::optional< DarwinSDKInfo > > parseDarwinSDKInfo (llvm::vfs::FileSystem &VFS, StringRef SDKRootPath)
 Parse the SDK information from the SDKSettings.json file. More...
 
const DiagnosticBuilderoperator<< (const DiagnosticBuilder &DB, const AddFlagValue V)
 Register a value for the flag in the current diagnostic. More...
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, StringRef S)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const char *Str)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, int I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, long I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, long long I)
 
template<typename T >
std::enable_if_t< std::is_same< T, bool >::value, const StreamingDiagnostic & > operator<< (const StreamingDiagnostic &DB, T I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, unsigned I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, unsigned long I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, unsigned long long I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, tok::TokenKind I)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const IdentifierInfo *II)
 
template<typename T >
std::enable_if_t< std::is_same< std::remove_const_t< T >, DeclContext >::value, const StreamingDiagnostic & > operator<< (const StreamingDiagnostic &DB, T *DC)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, SourceLocation L)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, SourceRange R)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, ArrayRef< SourceRange > Ranges)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const CharSourceRange &R)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const FixItHint &Hint)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, ArrayRef< FixItHint > Hints)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const std::optional< SourceRange > &Opt)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const std::optional< CharSourceRange > &Opt)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const std::optional< FixItHint > &Opt)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, DiagNullabilityKind nullability)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, llvm::Error &&E)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &OS, const StoredDiagnostic &)
 
void ProcessWarningOptions (DiagnosticsEngine &Diags, const DiagnosticOptions &Opts, bool ReportDiags=true)
 ProcessWarningOptions - Initialize the diagnostic client and process the warning options specified on the command line. More...
 
void EscapeStringForDiagnostic (StringRef Str, SmallVectorImpl< char > &OutStr)
 EscapeStringForDiagnostic - Append Str to the diagnostic buffer, escaping non-printable characters and ill-formed code unit sequences. More...
 
DiagnosticLevelMask operator~ (DiagnosticLevelMask M)
 
DiagnosticLevelMask operator| (DiagnosticLevelMask LHS, DiagnosticLevelMask RHS)
 
DiagnosticLevelMask operator& (DiagnosticLevelMask LHS, DiagnosticLevelMask RHS)
 
raw_ostream & operator<< (raw_ostream &Out, DiagnosticLevelMask M)
 
bool isDynamicExceptionSpec (ExceptionSpecificationType ESpecType)
 
bool isComputedNoexcept (ExceptionSpecificationType ESpecType)
 
bool isNoexceptExceptionSpec (ExceptionSpecificationType ESpecType)
 
bool isUnresolvedExceptionSpec (ExceptionSpecificationType ESpecType)
 
bool isExplicitThrowExceptionSpec (ExceptionSpecificationType ESpecType)
 
CanThrowResult mergeCanThrow (CanThrowResult CT1, CanThrowResult CT2)
 
const char * getTraitName (ExpressionTrait T) LLVM_READONLY
 Return the internal name of type trait T. Never null. More...
 
const char * getTraitSpelling (ExpressionTrait T) LLVM_READONLY
 Return the spelling of the type trait TT. Never null. More...
 
bool operator== (const FileEntry *LHS, const OptionalFileEntryRef &RHS)
 
bool operator== (const OptionalFileEntryRef &LHS, const FileEntry *RHS)
 
bool operator!= (const FileEntry *LHS, const OptionalFileEntryRef &RHS)
 
bool operator!= (const OptionalFileEntryRef &LHS, const FileEntry *RHS)
 
HeaderIncludeFormatKind stringToHeaderIncludeFormatKind (const char *Str)
 
bool stringToHeaderIncludeFiltering (const char *Str, HeaderIncludeFilteringKind &Kind)
 
const char * headerIncludeFormatKindToString (HeaderIncludeFormatKind K)
 
const char * headerIncludeFilteringKindToString (HeaderIncludeFilteringKind K)
 
bool isReservedAtGlobalScope (ReservedIdentifierStatus Status)
 Determine whether an identifier is reserved for use as a name at global scope. More...
 
bool isReservedInAllContexts (ReservedIdentifierStatus Status)
 Determine whether an identifier is reserved in all contexts. More...
 
raw_ostream & Indent (raw_ostream &Out, const unsigned int Space, bool IsDot)
 
std::string JsonFormat (StringRef RawSR, bool AddQuotes)
 
void printSourceLocationAsJson (raw_ostream &Out, SourceLocation Loc, const SourceManager &SM, bool AddBraces=true)
 
StringRef languageToString (Language L)
 
LangStandard::Kind getDefaultLanguageStandard (clang::Language Lang, const llvm::Triple &T)
 
bool isDiscardableGVALinkage (GVALinkage L)
 
bool isUniqueGVALinkage (GVALinkage L)
 Do we know that this will be the only definition of this symbol (excluding inlining-only definitions)? More...
 
bool isExternallyVisible (Linkage L)
 
Linkage getFormalLinkage (Linkage L)
 
bool isExternalFormalLinkage (Linkage L)
 
Linkage minLinkage (Linkage L1, Linkage L2)
 Compute the minimum linkage given two linkages. More...
 
void quoteMakeTarget (StringRef Target, SmallVectorImpl< char > &Res)
 Quote target names for inclusion in GNU Make dependency files. More...
 
raw_ostream & operator<< (raw_ostream &out, const ObjCRuntime &value)
 
template<typename StreamTy >
StreamTy & printOpenACCDirectiveKind (StreamTy &Out, OpenACCDirectiveKind K)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &Out, OpenACCDirectiveKind K)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &Out, OpenACCDirectiveKind K)
 
bool isOpenACCComputeDirectiveKind (OpenACCDirectiveKind K)
 
template<typename StreamTy >
StreamTy & printOpenACCClauseKind (StreamTy &Out, OpenACCClauseKind K)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &Out, OpenACCClauseKind K)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &Out, OpenACCClauseKind K)
 
template<typename StreamTy >
StreamTy & printOpenACCDefaultClauseKind (StreamTy &Out, OpenACCDefaultClauseKind K)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &Out, OpenACCDefaultClauseKind K)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &Out, OpenACCDefaultClauseKind K)
 
template<typename StreamTy >
StreamTy & printOpenACCReductionOperator (StreamTy &Out, OpenACCReductionOperator Op)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &Out, OpenACCReductionOperator Op)
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &Out, OpenACCReductionOperator Op)
 
unsigned getOpenMPSimpleClauseType (OpenMPClauseKind Kind, llvm::StringRef Str, const LangOptions &LangOpts)
 
const char * getOpenMPSimpleClauseTypeName (OpenMPClauseKind Kind, unsigned Type)
 
bool isOpenMPLoopDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a directive with an associated loop construct. More...
 
bool isOpenMPWorksharingDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a worksharing directive. More...
 
bool isOpenMPTaskLoopDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a taskloop directive. More...
 
bool isOpenMPParallelDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a parallel-kind directive. More...
 
bool isOpenMPTargetExecutionDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a target code offload directive. More...
 
bool isOpenMPTargetDataManagementDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a target data offload directive. More...
 
bool isOpenMPNestingTeamsDirective (OpenMPDirectiveKind DKind)
 Checks if the specified composite/combined directive constitutes a teams directive in the outermost nest. More...
 
bool isOpenMPTeamsDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a teams-kind directive. More...
 
bool isOpenMPSimdDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a simd directive. More...
 
bool isOpenMPDistributeDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a distribute directive. More...
 
bool isOpenMPNestingDistributeDirective (OpenMPDirectiveKind DKind)
 Checks if the specified composite/combined directive constitutes a distribute directive in the outermost nest. More...
 
bool isOpenMPGenericLoopDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive constitutes a 'loop' directive in the outermost nest. More...
 
bool isOpenMPPrivate (OpenMPClauseKind Kind)
 Checks if the specified clause is one of private clauses like 'private', 'firstprivate', 'reduction' etc. More...
 
bool isOpenMPThreadPrivate (OpenMPClauseKind Kind)
 Checks if the specified clause is one of threadprivate clauses like 'threadprivate', 'copyin' or 'copyprivate'. More...
 
bool isOpenMPTaskingDirective (OpenMPDirectiveKind Kind)
 Checks if the specified directive kind is one of tasking directives - task, taskloop, taksloop simd, master taskloop, parallel master taskloop, master taskloop simd, or parallel master taskloop simd. More...
 
bool isOpenMPLoopBoundSharingDirective (OpenMPDirectiveKind Kind)
 Checks if the specified directive kind is one of the composite or combined directives that need loop bound sharing across loops outlined in nested functions. More...
 
bool isOpenMPLoopTransformationDirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a loop transformation directive. More...
 
void getOpenMPCaptureRegions (llvm::SmallVectorImpl< OpenMPDirectiveKind > &CaptureRegions, OpenMPDirectiveKind DKind)
 Return the captured regions of an OpenMP directive. More...
 
bool isOpenMPCombinedParallelADirective (OpenMPDirectiveKind DKind)
 Checks if the specified directive is a combined construct for which the first construct is a parallel construct. More...
 
bool needsTaskBasedThreadLimit (OpenMPDirectiveKind DKind)
 Checks if the specified target directive, combined or not, needs task based thread_limit. More...
 
bool checkFailClauseParameter (OpenMPClauseKind FailClauseParameter)
 Checks if the parameter to the fail clause in "#pragma atomic compare fail" is restricted only to memory order clauses of "OMPC_acquire", "OMPC_relaxed" and "OMPC_seq_cst". More...
 
const char * getOperatorSpelling (OverloadedOperatorKind Operator)
 Retrieve the spelling of the given overloaded operator, without the preceding "operator" keyword. More...
 
OverloadedOperatorKind getRewrittenOverloadedOperator (OverloadedOperatorKind Kind)
 Get the other overloaded operator that the given operator can be rewritten into, if any such operator exists. More...
 
bool isCompoundAssignmentOperator (OverloadedOperatorKind Kind)
 Determine if this is a compound assignment operator. More...
 
prec::Level getBinOpPrecedence (tok::TokenKind Kind, bool GreaterThanIsOperator, bool CPlusPlus11)
 Return the precedence of the specified binary operator token. More...
 
const std::list< std::unique_ptr< ParsedAttrInfo > > & getAttributePluginInstances ()
 
const DiagnosticBuilderoperator<< (const DiagnosticBuilder &DB, const PartialDiagnostic &PD)
 
llvm::hash_code hash_value (const clang::SanitizerMask &Arg)
 
SanitizerMask parseSanitizerValue (StringRef Value, bool AllowGroups)
 Parse a single value from a -fsanitize= or -fno-sanitize= value list. More...
 
void serializeSanitizerSet (SanitizerSet Set, SmallVectorImpl< StringRef > &Values)
 Serialize a SanitizerSet into values for -fsanitize= or -fno-sanitize=. More...
 
SanitizerMask expandSanitizerGroups (SanitizerMask Kinds)
 For each sanitizer group bit set in Kinds, set the bits for sanitizers this group enables. More...
 
SanitizerMask getPPTransparentSanitizers ()
 Return the sanitizers which do not affect preprocessing. More...
 
StringRef AsanDtorKindToString (llvm::AsanDtorKind kind)
 
llvm::AsanDtorKind AsanDtorKindFromString (StringRef kind)
 
StringRef AsanDetectStackUseAfterReturnModeToString (llvm::AsanDetectStackUseAfterReturnMode mode)
 
llvm::AsanDetectStackUseAfterReturnMode AsanDetectStackUseAfterReturnModeFromString (StringRef modeStr)
 
bool operator== (const SourceLocation &LHS, const SourceLocation &RHS)
 
bool operator!= (const SourceLocation &LHS, const SourceLocation &RHS)
 
bool operator< (const SourceLocation &LHS, const SourceLocation &RHS)
 
bool operator> (const SourceLocation &LHS, const SourceLocation &RHS)
 
bool operator<= (const SourceLocation &LHS, const SourceLocation &RHS)
 
bool operator>= (const SourceLocation &LHS, const SourceLocation &RHS)
 
bool operator< (const LineEntry &lhs, const LineEntry &rhs)
 
bool operator< (const LineEntry &E, unsigned Offset)
 
bool operator< (unsigned Offset, const LineEntry &E)
 
bool isTemplateInstantiation (TemplateSpecializationKind Kind)
 Determine whether this template specialization kind refers to an instantiation of an entity (as opposed to a non-template or an explicit specialization). More...
 
bool isTemplateExplicitInstantiationOrSpecialization (TemplateSpecializationKind Kind)
 True if this template specialization kind is an explicit specialization, explicit instantiation declaration, or explicit instantiation definition. More...
 
bool isLegalForFunction (StorageClass SC)
 Checks whether the given storage class is legal for functions. More...
 
bool isLegalForVariable (StorageClass SC)
 Checks whether the given storage class is legal for variables. More...
 
bool supportsVariadicCall (CallingConv CC)
 Checks whether the given calling convention supports variadic calls. More...
 
llvm::raw_ostream & operator<< (llvm::raw_ostream &, NullabilityKind)
 Prints human-readable debug representation. More...
 
bool hasWeakerNullability (NullabilityKind L, NullabilityKind R)
 Return true if L has a weaker nullability annotation than R. More...
 
llvm::StringRef getNullabilitySpelling (NullabilityKind kind, bool isContextSensitive=false)
 Retrieve the spelling of the given nullability kind. More...
 
llvm::StringRef getParameterABISpelling (ParameterABI kind)
 
llvm::StringRef getAccessSpelling (AccessSpecifier AS)
 
void noteBottomOfStack ()
 Call this once on each thread, as soon after starting the thread as feasible, to note the approximate address of the bottom of the stack. More...
 
bool isStackNearlyExhausted ()
 Determine whether the stack is nearly exhausted. More...
 
void runWithSufficientStackSpaceSlow (llvm::function_ref< void()> Diag, llvm::function_ref< void()> Fn)
 
void runWithSufficientStackSpace (llvm::function_ref< void()> Diag, llvm::function_ref< void()> Fn)
 Run a given function on a stack with "sufficient" space. More...
 
llvm::StringRef getAsString (SyncScope S)
 
llvm::SmallVector< llvm::StringRef, 4 > getAllPossibleTargetIDFeatures (const llvm::Triple &T, llvm::StringRef Processor)
 Get all feature strings that can be used in target ID for Processor. More...
 
llvm::StringRef getProcessorFromTargetID (const llvm::Triple &T, llvm::StringRef OffloadArch)
 Get processor name from target ID. More...
 
std::optional< llvm::StringRef > parseTargetID (const llvm::Triple &T, llvm::StringRef OffloadArch, llvm::StringMap< bool > *FeatureMap)
 Parse a target ID to get processor and feature map. More...
 
std::string getCanonicalTargetID (llvm::StringRef Processor, const llvm::StringMap< bool > &Features)
 Returns canonical target ID, assuming Processor is canonical and all entries in Features are valid. More...
 
std::optional< std::pair< llvm::StringRef, llvm::StringRef > > getConflictTargetIDCombination (const std::set< llvm::StringRef > &TargetIDs)
 Get the conflicted pair of target IDs for a compilation or a bundled code object, assuming TargetIDs are canonicalized. More...
 
bool isCompatibleTargetID (llvm::StringRef Provided, llvm::StringRef Requested)
 Check whether the provided target ID is compatible with the requested target ID. More...
 
const char * getTraitName (TypeTrait T) LLVM_READONLY
 Return the internal name of type trait T. Never null. More...
 
const char * getTraitName (ArrayTypeTrait T) LLVM_READONLY
 
const char * getTraitName (UnaryExprOrTypeTrait T) LLVM_READONLY
 
const char * getTraitSpelling (TypeTrait T) LLVM_READONLY
 Return the spelling of the type trait TT. Never null. More...
 
const char * getTraitSpelling (ArrayTypeTrait T) LLVM_READONLY
 
const char * getTraitSpelling (UnaryExprOrTypeTrait T) LLVM_READONLY
 
unsigned getTypeTraitArity (TypeTrait T) LLVM_READONLY
 Return the arity of the type trait T. More...
 
std::string getClangRepositoryPath ()
 Retrieves the repository path (e.g., Subversion path) that identifies the particular Clang branch, tag, or trunk from which this Clang was built. More...
 
std::string getLLVMRepositoryPath ()
 Retrieves the repository path from which LLVM was built. More...
 
std::string getClangRevision ()
 Retrieves the repository revision number (or identifier) from which this Clang was built. More...
 
std::string getLLVMRevision ()
 Retrieves the repository revision number (or identifier) from which LLVM was built. More...
 
std::string getClangVendor ()
 Retrieves the Clang vendor tag. More...
 
std::string getClangFullRepositoryVersion ()
 Retrieves the full repository version that is an amalgamation of the information in getClangRepositoryPath() and getClangRevision(). More...
 
std::string getClangFullVersion ()
 Retrieves a string representing the complete clang version, which includes the clang version number, the repository version, and the vendor tag. More...
 
std::string getClangToolFullVersion (llvm::StringRef ToolName)
 Like getClangFullVersion(), but with a custom tool name. More...
 
std::string getClangFullCPPVersion ()
 Retrieves a string representing the complete clang version suitable for use in the CPP VERSION macro, which includes the clang version number, the repository version, and the vendor tag. More...
 
llvm::SmallVector< std::pair< llvm::StringRef, llvm::StringRef >, 2 > getSYCLVersionMacros (const LangOptions &LangOpts)
 Retrieves a string representing the SYCL standard version for use in the CL_SYCL_LANGUAGE_VERSION and SYCL_LANGUAGE_VERSION macros. More...
 
Visibility minVisibility (Visibility L, Visibility R)
 
XRayInstrMask parseXRayInstrValue (StringRef Value)
 Parses a command line argument into a mask. More...
 
void serializeXRayInstrValue (XRayInstrSet Set, SmallVectorImpl< StringRef > &Values)
 Serializes a set into a list of command line arguments. More...
 
void EmitBackendOutput (DiagnosticsEngine &Diags, const HeaderSearchOptions &, const CodeGenOptions &CGOpts, const TargetOptions &TOpts, const LangOptions &LOpts, StringRef TDesc, llvm::Module *M, BackendAction Action, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > VFS, std::unique_ptr< raw_pwrite_stream > OS, BackendConsumer *BC=nullptr)
 
void EmbedBitcode (llvm::Module *M, const CodeGenOptions &CGOpts, llvm::MemoryBufferRef Buf)
 
void EmbedObject (llvm::Module *M, const CodeGenOptions &CGOpts, DiagnosticsEngine &Diags)
 
CodeGeneratorCreateLLVMCodeGen (DiagnosticsEngine &Diags, llvm::StringRef ModuleName, IntrusiveRefCntPtr< llvm::vfs::FileSystem > FS, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PreprocessorOpts, const CodeGenOptions &CGO, llvm::LLVMContext &C, CoverageSourceInfo *CoverageInfo=nullptr)
 CreateLLVMCodeGen - Create a CodeGenerator instance. More...
 
llvm::Expected< boolCheckBundledSection (const OffloadBundlerConfig &)
 
int getLastArgIntValue (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, int Default, DiagnosticsEngine *Diags=nullptr, unsigned Base=0)
 Return the value of the last argument as an integer, or a default. More...
 
int getLastArgIntValue (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, int Default, DiagnosticsEngine &Diags, unsigned Base=0)
 
uint64_t getLastArgUInt64Value (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, uint64_t Default, DiagnosticsEngine *Diags=nullptr, unsigned Base=0)
 
uint64_t getLastArgUInt64Value (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, uint64_t Default, DiagnosticsEngine &Diags, unsigned Base=0)
 
std::unique_ptr< ASTConsumerCreateASTPrinter (std::unique_ptr< raw_ostream > OS, StringRef FilterString)
 
std::unique_ptr< ASTConsumerCreateASTDumper (std::unique_ptr< raw_ostream > OS, StringRef FilterString, bool DumpDecls, bool Deserialize, bool DumpLookups, bool DumpDeclTypes, ASTDumpOutputFormat Format)
 
std::unique_ptr< ASTConsumerCreateASTDeclNodeLister ()
 
std::unique_ptr< ASTConsumerCreateASTViewer ()
 
std::unique_ptr< DiagnosticOptionsCreateAndPopulateDiagOpts (ArrayRef< const char * > Argv)
 
bool ParseDiagnosticArgs (DiagnosticOptions &Opts, llvm::opt::ArgList &Args, DiagnosticsEngine *Diags=nullptr, bool DefaultDiagColor=true)
 Fill out Opts based on the options given in Args. More...
 
IntrusiveRefCntPtr< llvm::vfs::FileSystem > createVFSFromCompilerInvocation (const CompilerInvocation &CI, DiagnosticsEngine &Diags)
 
IntrusiveRefCntPtr< llvm::vfs::FileSystem > createVFSFromCompilerInvocation (const CompilerInvocation &CI, DiagnosticsEngine &Diags, IntrusiveRefCntPtr< llvm::vfs::FileSystem > BaseFS)
 
IntrusiveRefCntPtr< llvm::vfs::FileSystem > createVFSFromOverlayFiles (ArrayRef< std::string > VFSOverlayFiles, DiagnosticsEngine &Diags, IntrusiveRefCntPtr< llvm::vfs::FileSystem > BaseFS)
 
PreambleBounds ComputePreambleBounds (const LangOptions &LangOpts, const llvm::MemoryBufferRef &Buffer, unsigned MaxLines)
 Runs lexer to compute suggested preamble bounds. More...
 
std::error_code make_error_code (BuildPreambleError Error)
 
void InitializePreprocessor (Preprocessor &PP, const PreprocessorOptions &PPOpts, const PCHContainerReader &PCHContainerRdr, const FrontendOptions &FEOpts, const CodeGenOptions &CodeGenOpts)
 InitializePreprocessor - Initialize the preprocessor getting it and the environment ready to process a single file. More...
 
void DoPrintPreprocessedInput (Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts)
 DoPrintPreprocessedInput - Implement -E mode. More...
 
void AttachDependencyGraphGen (Preprocessor &PP, StringRef OutputFile, StringRef SysRoot)
 AttachDependencyGraphGen - Create a dependency graph generator, and attach it to the given preprocessor. More...
 
void AttachHeaderIncludeGen (Preprocessor &PP, const DependencyOutputOptions &DepOpts, bool ShowAllHeaders=false, StringRef OutputPath={}, bool ShowDepth=true, bool MSStyle=false)
 AttachHeaderIncludeGen - Create a header include list generator, and attach it to the given preprocessor. More...
 
IntrusiveRefCntPtr< ExternalSemaSourcecreateChainedIncludesSource (CompilerInstance &CI, IntrusiveRefCntPtr< ExternalSemaSource > &Reader)
 The ChainedIncludesSource class converts headers to chained PCHs in memory, mainly for testing. More...
 
std::unique_ptr< CompilerInvocationcreateInvocation (ArrayRef< const char * > Args, CreateInvocationOptions Opts={})
 Interpret clang arguments in preparation to parse a file. More...
 
std::unique_ptr< FrontendActionCreateFrontendAction (CompilerInstance &CI)
 Construct the FrontendAction of a compiler invocation based on the options specified for the compiler invocation. More...
 
bool ExecuteCompilerInvocation (CompilerInstance *Clang)
 ExecuteCompilerInvocation - Execute the given actions described by the compiler invocation object in the given compiler instance. More...
 
bool scanSourceForDependencyDirectives (StringRef Input, SmallVectorImpl< dependency_directives_scan::Token > &Tokens, SmallVectorImpl< dependency_directives_scan::Directive > &Directives, DiagnosticsEngine *Diags=nullptr, SourceLocation InputSourceLoc=SourceLocation())
 Scan the input for the preprocessor directives that might have an effect on the dependencies for a compilation unit. More...
 
void printDependencyDirectivesAsSource (StringRef Source, ArrayRef< dependency_directives_scan::Directive > Directives, llvm::raw_ostream &OS)
 Print the previously scanned dependency directives as minimized source text. More...
 
void ApplyHeaderSearchOptions (HeaderSearch &HS, const HeaderSearchOptions &HSOpts, const LangOptions &Lang, const llvm::Triple &triple)
 Apply the header search options to get given HeaderSearch object. More...
 
llvm::hash_code hash_value (const HeaderSearchOptions::Entry &E)
 
template<typename HasherT , llvm::endianness Endianness>
void addHash (llvm::HashBuilder< HasherT, Endianness > &HBuilder, const HeaderSearchOptions::Entry &E)
 
llvm::hash_code hash_value (const HeaderSearchOptions::SystemHeaderPrefix &SHP)
 
template<typename HasherT , llvm::endianness Endianness>
void addHash (llvm::HashBuilder< HasherT, Endianness > &HBuilder, const HeaderSearchOptions::SystemHeaderPrefix &SHP)
 
void expandUCNs (SmallVectorImpl< char > &Buf, StringRef Input)
 Copy characters from Input to Buf, expanding any UCNs. More...
 
bool isFunctionLocalStringLiteralMacro (tok::TokenKind K, const LangOptions &LO)
 Return true if the token corresponds to a function local predefined macro, which expands to a string literal, that can be concatenated with other string literals (only in Microsoft mode). More...
 
bool tokenIsLikeStringLiteral (const Token &Tok, const LangOptions &LO)
 Return true if the token is a string literal, or a function local predefined macro, which expands to a string literal. More...
 
void prepare_PragmaString (SmallVectorImpl< char > &StrVal)
 Destringize a _Pragma("") string according to C11 6.10.9.1: "The string literal is destringized by deleting any encoding prefix, deleting the leading and trailing double-quotes, replacing each escape sequence " by a double-quote, and replacing each escape sequence \ by a single backslash. More...
 
void ParseAST (Preprocessor &pp, ASTConsumer *C, ASTContext &Ctx, bool PrintStats=false, TranslationUnitKind TUKind=TU_Complete, CodeCompleteConsumer *CompletionConsumer=nullptr, bool SkipFunctionBodies=false)
 Parse the entire file specified, notifying the ASTConsumer as the file is parsed. More...
 
void ParseAST (Sema &S, bool PrintStats=false, bool SkipFunctionBodies=false)
 Parse the main file known to the preprocessor, producing an abstract syntax tree. More...
 
std::unique_ptr< ASTConsumerCreateObjCRewriter (const std::string &InFile, std::unique_ptr< raw_ostream > OS, DiagnosticsEngine &Diags, const LangOptions &LOpts, bool SilenceRewriteMacroWarning)
 
std::unique_ptr< ASTConsumerCreateModernObjCRewriter (const std::string &InFile, std::unique_ptr< raw_ostream > OS, DiagnosticsEngine &Diags, const LangOptions &LOpts, bool SilenceRewriteMacroWarning, bool LineInfo)
 
std::unique_ptr< ASTConsumerCreateHTMLPrinter (std::unique_ptr< raw_ostream > OS, Preprocessor &PP, bool SyntaxHighlight=true, bool HighlightMacros=true)
 CreateHTMLPrinter - Create an AST consumer which rewrites source code to HTML with syntax highlighting suitable for viewing in a web-browser. More...
 
void RewriteMacrosInInput (Preprocessor &PP, raw_ostream *OS)
 RewriteMacrosInInput - Implement -rewrite-macros mode. More...
 
void DoRewriteTest (Preprocessor &PP, raw_ostream *OS)
 DoRewriteTest - A simple test for the TokenRewriter class. More...
 
void RewriteIncludesInInput (Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts)
 RewriteIncludesInInput - Implement -frewrite-includes mode. More...
 
SimplifiedTypeClass getSimplifiedTypeClass (CanQualType T)
 Determine the simplified type class of the given canonical type. More...
 
QualType getDeclUsageType (ASTContext &C, const NamedDecl *ND)
 Determine the type that this declaration will have if it is used as a type or in an expression. More...
 
unsigned getMacroUsagePriority (StringRef MacroName, const LangOptions &LangOpts, bool PreferredTypeIsPointer=false)
 Determine the priority to be given to a macro code completion result with the given name. More...
 
CXCursorKind getCursorKindForDecl (const Decl *D)
 Determine the libclang cursor kind associated with the given declaration. More...
 
llvm::StringRef getCompletionKindString (CodeCompletionContext::Kind Kind)
 Get string representation of Kind, useful for debugging. More...
 
bool operator< (const CodeCompletionResult &X, const CodeCompletionResult &Y)
 
bool operator> (const CodeCompletionResult &X, const CodeCompletionResult &Y)
 
bool operator<= (const CodeCompletionResult &X, const CodeCompletionResult &Y)
 
bool operator>= (const CodeCompletionResult &X, const CodeCompletionResult &Y)
 
const RawCommentgetCompletionComment (const ASTContext &Ctx, const NamedDecl *Decl)
 Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Declaration. More...
 
const RawCommentgetPatternCompletionComment (const ASTContext &Ctx, const NamedDecl *Decl)
 Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Pattern. More...
 
const RawCommentgetParameterComment (const ASTContext &Ctx, const CodeCompleteConsumer::OverloadCandidate &Result, unsigned ArgIndex)
 Get the documentation comment used to produce CodeCompletionString::BriefComment for OverloadCandidate. More...
 
ImplicitConversionRank GetConversionRank (ImplicitConversionKind Kind)
 GetConversionRank - Retrieve the implicit conversion rank corresponding to the given implicit conversion kind. More...
 
bool isBetterOverloadCandidate (Sema &S, const OverloadCandidate &Cand1, const OverloadCandidate &Cand2, SourceLocation Loc, OverloadCandidateSet::CandidateSetKind Kind)
 isBetterOverloadCandidate - Determines whether the first overload candidate is a better candidate than the second (C++ 13.3.3p1). More...
 
ConstructorInfo getConstructorInfo (NamedDecl *ND)
 
bool shouldEnforceArgLimit (bool PartialOverloading, FunctionDecl *Function)
 
ExprResult ExprError ()
 
StmtResult StmtError ()
 
TypeResult TypeError ()
 
ExprResult ExprError (const StreamingDiagnostic &)
 
StmtResult StmtError (const StreamingDiagnostic &)
 
ExprResult ExprEmpty ()
 
StmtResult StmtEmpty ()
 
ExprAssertSuccess (ExprResult R)
 
StmtAssertSuccess (StmtResult R)
 
void takeAndConcatenateAttrs (ParsedAttributes &First, ParsedAttributes &Second, ParsedAttributes &Result)
 Consumes the attributes from First and Second and concatenates them into Result. More...
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const ParsedAttr &At)
 
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const ParsedAttr *At)
 
template<typename ACI , std::enable_if_t< std::is_same< ACI, AttributeCommonInfo >::value, int > = 0>
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const ACI &CI)
 AttributeCommonInfo has a non-explicit constructor which takes an SourceRange as its only argument, this constructor has many uses so making it explicit is hard. More...
 
template<typename ACI , std::enable_if_t< std::is_same< ACI, AttributeCommonInfo >::value, int > = 0>
const StreamingDiagnosticoperator<< (const StreamingDiagnostic &DB, const ACI *CI)
 
SourceRange getTemplateParamsRange (TemplateParameterList const *const *Params, unsigned NumParams)
 Retrieves the range of the given template parameter lists. More...
 
DeductionFailureInfo MakeDeductionFailureInfo (ASTContext &Context, TemplateDeductionResult TDK, sema::TemplateDeductionInfo &Info)
 Convert from Sema's representation of template deduction information to the form used in overload-candidate information. More...
 
bool FTIHasSingleVoidParameter (const DeclaratorChunk::FunctionTypeInfo &FTI)
 
bool FTIHasNonVoidParameters (const DeclaratorChunk::FunctionTypeInfo &FTI)
 
bool DeclAttrsMatchCUDAMode (const LangOptions &LangOpts, Decl *D)
 
InheritableAttrgetDLLAttr (Decl *D)
 Return a DLL attribute from the declaration. More...
 
std::pair< unsigned, unsignedgetDepthAndIndex (NamedDecl *ND)
 Retrieve the depth and index of a template parameter. More...
 
std::pair< unsigned, unsignedgetDepthAndIndex (UnexpandedParameterPack UPP)
 Retrieve the depth and index of an unexpanded parameter pack. More...
 
std::optional< unsignedgetStackIndexOfNearestEnclosingCaptureCapableLambda (ArrayRef< const sema::FunctionScopeInfo * > FunctionScopes, ValueDecl *VarToCapture, Sema &S)
 Examines the FunctionScopeInfo stack to determine the nearest enclosing lambda (to the current lambda) that is 'capture-capable' for the variable referenced in the current lambda (i.e. More...
 
std::unique_ptr< sema::RISCVIntrinsicManagerCreateRISCVIntrinsicManager (Sema &S)
 
template<class TemplateInstantiationCallbackPtrs >
void initialize (TemplateInstantiationCallbackPtrs &Callbacks, const Sema &TheSema)
 
template<class TemplateInstantiationCallbackPtrs >
void finalize (TemplateInstantiationCallbackPtrs &Callbacks, const Sema &TheSema)
 
template<class TemplateInstantiationCallbackPtrs >
void atTemplateBegin (TemplateInstantiationCallbackPtrs &Callbacks, const Sema &TheSema, const Sema::CodeSynthesisContext &Inst)
 
template<class TemplateInstantiationCallbackPtrs >
void atTemplateEnd (TemplateInstantiationCallbackPtrs &Callbacks, const Sema &TheSema, const Sema::CodeSynthesisContext &Inst)
 
bool shouldSkipCheckingODR (const Decl *D)
 
bool CanElideDeclDef (const Decl *D)
 If we can elide the definition of. More...
 
std::vector< std::string > getCommandLineArgsForTesting (TestLanguage Lang)
 
std::vector< std::string > getCC1ArgsForTesting (TestLanguage Lang)
 
StringRef getFilenameForTesting (TestLanguage Lang)
 
std::string getAnyTargetForTesting ()
 Find a target name such that looking for it in TargetRegistry by that name returns the same target. More...
 
static bool canExprResolveTo (const Expr *Source, const Expr *Target)
 
bool operator== (const APValue::LValueBase &LHS, const APValue::LValueBase &RHS)
 
llvm::hash_code hash_value (const APValue::LValueBase &Base)
 
template<class T >
SmallVector< Decl *, 2 > getCanonicalForwardRedeclChain (Redeclarable< T > *D)
 
void updateFlags (const Decl *From, Decl *To)
 
static bool isWhitespace (llvm::StringRef S)
 
CXXABICreateItaniumCXXABI (ASTContext &Ctx)
 Creates an instance of a C++ ABI class. More...
 
CXXABICreateMicrosoftCXXABI (ASTContext &Ctx)
 
std::unique_ptr< MangleNumberingContextcreateItaniumNumberingContext (MangleContext *)
 
static llvm::SmallVector< llvm::StringRef, 4 > getAllPossibleAMDGPUTargetIDFeatures (const llvm::Triple &T, llvm::StringRef Proc)
 
static llvm::StringRef getCanonicalProcessorName (const llvm::Triple &T, llvm::StringRef Processor)
 Returns canonical processor name or empty string if Processor is invalid. More...
 
static std::optional< llvm::StringRef > parseTargetIDWithFormatCheckingOnly (llvm::StringRef TargetID, llvm::StringMap< bool > *FeatureMap)
 
std::string getClangToolFullVersion (StringRef ToolName)
 
template<class U >
U cast (CodeGen::Address addr)
 
template<class U >
bool isa (CodeGen::Address addr)
 
static void reportOptRecordError (Error E, DiagnosticsEngine &Diags, const CodeGenOptions &CodeGenOpts)
 
llvm::fp::ExceptionBehavior ToConstrainedExceptMD (LangOptions::FPExceptionModeKind Kind)
 
std::optional< sys::fs::file_status > getFileStatus (StringRef Path)
 
std::vector< std::string > scanDirectory (StringRef Path)
 
std::vector< DirectoryWatcher::EventgetAsFileEvents (const std::vector< std::string > &Scan)
 Create event with EventKind::Added for every element in Scan. More...
 
std::vector< std::string > scanDirectory (llvm::StringRef Path)
 Gets names (filenames) of items in directory at Path. More...
 
std::optional< llvm::sys::fs::file_status > getFileStatus (llvm::StringRef Path)
 Gets status of file (or directory) at Path. More...
 
int getLastArgIntValue (const ArgList &Args, OptSpecifier Id, int Default, DiagnosticsEngine *Diags, unsigned Base)
 
uint64_t getLastArgUInt64Value (const ArgList &Args, OptSpecifier Id, uint64_t Default, DiagnosticsEngine *Diags, unsigned Base)
 
static std::unique_ptr< FrontendActionCreateFrontendBaseAction (CompilerInstance &CI)
 
clang::CodeCompleteOptions getClangCompleteOpts ()
 
IntegerLiteralIntegerLiteralExpr (ASTContext &C, uint64_t Val)
 
ExprCStyleCastPtrExpr (Sema &S, QualType Ty, Expr *E)
 
ExprCStyleCastPtrExpr (Sema &S, QualType Ty, uintptr_t Ptr)
 
Sema::DeclGroupPtrTy CreateDGPtrFrom (Sema &S, Decl *D)
 
NamespaceDeclLookupNamespace (Sema &S, llvm::StringRef Name, const DeclContext *Within)
 
NamedDeclLookupNamed (Sema &S, llvm::StringRef Name, const DeclContext *Within)
 
std::string GetFullTypeName (ASTContext &Ctx, QualType QT)
 
static Value::Kind ConvertQualTypeToKind (const ASTContext &Ctx, QualType QT)
 
const SemaBase::SemaDiagnosticBuilderoperator<< (const SemaBase::SemaDiagnosticBuilder &Diag, const PartialDiagnostic &PD)
 
static const FunctionProtoTypeGetUnderlyingFunction (QualType T)
 
static bool exceptionSpecNotKnownYet (const FunctionDecl *FD)
 
static bool CheckEquivalentExceptionSpecImpl (Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic &NoteID, const FunctionProtoType *Old, SourceLocation OldLoc, const FunctionProtoType *New, SourceLocation NewLoc, bool *MissingExceptionSpecification, bool *MissingEmptyExceptionSpecification, bool AllowNoexceptAllMatchWithNoSpec, bool IsOperatorNew)
 CheckEquivalentExceptionSpec - Check if the two types have compatible exception specifications. More...
 
static bool hasImplicitExceptionSpec (FunctionDecl *Decl)
 Determine whether a function has an implicitly-generated exception specification. More...
 
static bool CheckSpecForTypesEquivalent (Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic &NoteID, QualType Target, SourceLocation TargetLoc, QualType Source, SourceLocation SourceLoc)
 
static CanThrowResult canSubStmtsThrow (Sema &Self, const Stmt *S)
 
static CanThrowResult canVarDeclThrow (Sema &Self, const VarDecl *VD)
 
static CanThrowResult canDynamicCastThrow (const CXXDynamicCastExpr *DC)
 
static CanThrowResult canTypeidThrow (Sema &S, const CXXTypeidExpr *DC)
 
static QualType applyObjCTypeArgs (Sema &S, SourceLocation loc, QualType type, ArrayRef< TypeSourceInfo * > typeArgs, SourceRange typeArgsRange, bool failOnError, bool rebuilding)
 Apply Objective-C type arguments to the given type. More...
 
static bool considerVariable (VarDecl *var, Expr *ref, RetainCycleOwner &owner)
 Consider whether capturing the given variable can possibly lead to a retain cycle. More...
 
static bool findRetainCycleOwner (Sema &S, Expr *e, RetainCycleOwner &owner)
 
static ExprfindCapturingExpr (Sema &S, Expr *e, RetainCycleOwner &owner)
 Check whether the given argument is a block which captures a variable. More...
 
static void diagnoseRetainCycle (Sema &S, Expr *capturer, RetainCycleOwner &owner)
 
static bool isSetterLikeSelector (Selector sel)
 Check for a keyword selector that starts with the word 'add' or 'set'. More...
 
static std::optional< intGetNSMutableArrayArgumentIndex (SemaObjC &S, ObjCMessageExpr *Message)
 
static std::optional< intGetNSMutableDictionaryArgumentIndex (SemaObjC &S, ObjCMessageExpr *Message)
 
static std::optional< intGetNSSetArgumentIndex (SemaObjC &S, ObjCMessageExpr *Message)
 
static bool CheckInvalidVLENandLMUL (const TargetInfo &TI, CallExpr *TheCall, Sema &S, QualType Type, int EGW)
 
static bool isX86_32Builtin (unsigned BuiltinID)
 
template<class TyLoc >
static QualType TransformTypeSpecType (TypeLocBuilder &TLB, TyLoc T)
 
template<typename Derived , class T >
bool transformOMPMappableExprListClause (TreeTransform< Derived > &TT, OMPMappableExprListClause< T > *C, llvm::SmallVectorImpl< Expr * > &Vars, CXXScopeSpec &MapperIdScopeSpec, DeclarationNameInfo &MapperIdInfo, llvm::SmallVectorImpl< Expr * > &UnresolvedMappers)
 
static bool isUndeducedReturnType (QualType T)
 
bool tryToFindPtrOrigin (const clang::Expr *E, bool StopAtFirstRefCountedObj, std::function< bool(const clang::Expr *, bool)> callback)
 This function de-facto defines a set of transformations that we consider safe (in heuristical sense). More...
 
bool isASafeCallArg (const clang::Expr *E)
 For E referring to a ref-countable/-counted pointer/reference we return whether it's a safe call argument. More...
 
template<typename T >
std::string safeGetName (const T *ASTNode)
 
template<typename NamedDeclDerivedT >
void printQuotedQualifiedName (llvm::raw_ostream &Os, const NamedDeclDerivedT &D)
 
template<typename NamedDeclDerivedT >
void printQuotedName (llvm::raw_ostream &Os, const NamedDeclDerivedT &D)
 
std::optional< const clang::CXXRecordDecl * > hasPublicMethodInBase (const CXXBaseSpecifier *Base, const char *NameToMatch)
 
std::optional< boolisRefCountable (const CXXRecordDecl *R)
 
bool isRefType (const std::string &Name)
 
bool isCtorOfRefCounted (const clang::FunctionDecl *F)
 
bool isReturnValueRefCounted (const clang::FunctionDecl *F)
 
std::optional< boolisUncounted (const CXXRecordDecl *Class)
 
std::optional< boolisUncountedPtr (const Type *T)
 
std::optional< boolisGetterOfRefCounted (const CXXMethodDecl *M)
 
bool isRefCounted (const CXXRecordDecl *R)
 
bool isPtrConversion (const FunctionDecl *F)
 
bool isSingleton (const FunctionDecl *F)
 

Variables

static const TerminalColor DeclKindNameColor = {llvm::raw_ostream::GREEN, true}
 
static const TerminalColor AttrColor = {llvm::raw_ostream::BLUE, true}
 
static const TerminalColor StmtColor = {llvm::raw_ostream::MAGENTA, true}
 
static const TerminalColor CommentColor = {llvm::raw_ostream::BLUE, false}
 
static const TerminalColor TypeColor = {llvm::raw_ostream::GREEN, false}
 
static const TerminalColor AddressColor = {llvm::raw_ostream::YELLOW, false}
 
static const TerminalColor LocationColor = {llvm::raw_ostream::YELLOW, false}
 
static const TerminalColor ValueKindColor = {llvm::raw_ostream::CYAN, false}
 
static const TerminalColor ObjectKindColor = {llvm::raw_ostream::CYAN, false}
 
static const TerminalColor ErrorsColor = {llvm::raw_ostream::RED, true}
 
static const TerminalColor NullColor = {llvm::raw_ostream::BLUE, false}
 
static const TerminalColor UndeserializedColor
 
static const TerminalColor CastColor = {llvm::raw_ostream::RED, false}
 
static const TerminalColor ValueColor = {llvm::raw_ostream::CYAN, true}
 
static const TerminalColor DeclNameColor = {llvm::raw_ostream::CYAN, true}
 
static const TerminalColor IndentColor = {llvm::raw_ostream::BLUE, false}
 
const unsigned int NUM_PREDEF_DECL_IDS = 18
 The number of declaration IDs that are predefined. More...
 
const FunctionProtoTypeT = TL.getTypePtr()
 
const char ToggleHighlight = 127
 Special character that the diagnostic printer will use to toggle the bold attribute. More...
 
static constexpr int InterestingIdentifierBits = 16
 
static constexpr unsigned NumberOfOMPMapClauseModifiers
 Number of allowed map-type-modifiers. More...
 
static constexpr unsigned NumberOfOMPMotionModifiers
 Number of allowed motion-modifiers. More...
 
constexpr unsigned PointerAuthKeyNone = -1
 
constexpr size_t DesiredStackSize = 8 << 20
 The amount of stack space that Clang would like to be provided with. More...
 
static constexpr uint64_t LargestBuiltinID
 
static const CudaVersionMapEntry CudaNameVersionMap []
 
static const CudaArchToStringMap arch_names []
 
static const std::pair< StringRef, StringRef > DependentFeaturesList []
 
static const std::pair< StringRef, StringRef > FeatureExtensionMap []
 
const std::string CodeCompletionFileName = "input_line_[Completion]"
 

Detailed Description

The JSON file list parser is used to communicate input to InstallAPI.

ASTVisitor Interface for InstallAPI frontend operations.

Top level wrappers for InstallAPI frontend operations.

\file
This file defines the classes used to store parsed information about
declaration-specifiers and declarators.

\verbatim

/// static const int volatile x, *y, *(*(*z)[10])(const void *x); /// ----------------------— - – ------------------------— /// declaration-specifiers \ | / /// declarators ///

Typedef Documentation

◆ AnalyzerOptionsRef

Definition at line 391 of file AnalyzerOptions.h.

◆ ArgsUnion

using clang::ArgsUnion = typedef llvm::PointerUnion<Expr *, IdentifierLoc *>

A union of the various pointer types that can be passed to an ParsedAttr as an argument.

Definition at line 113 of file ParsedAttr.h.

◆ ArgsVector

Definition at line 114 of file ParsedAttr.h.

◆ ASTTemplateArgsPtr

Definition at line 260 of file Ownership.h.

◆ AttrVec

using clang::AttrVec = typedef SmallVector<Attr *, 4>

AttrVec - A vector of Attr, which is how they are stored on the AST.

Definition at line 28 of file AttrIterator.h.

◆ BaseResult

Definition at line 251 of file Ownership.h.

◆ CachedTokens

A set of tokens that has been cached for later parsing.

Definition at line 1242 of file DeclSpec.h.

◆ CanQualType

Represents a canonical, potentially-qualified type.

Definition at line 212 of file CanonicalType.h.

◆ CFGDomTree

Definition at line 182 of file Dominators.h.

◆ CFGPostDomTree

Definition at line 183 of file Dominators.h.

◆ const_ptr

template<typename T >
using clang::const_ptr = typedef std::add_pointer_t<std::add_const_t<T> >

Definition at line 8876 of file OpenMPClause.h.

◆ ConstantExprKind

Definition at line 1032 of file Expr.h.

◆ ConstSearchDirIterator

Definition at line 245 of file HeaderSearch.h.

◆ ConstSearchDirRange

using clang::ConstSearchDirRange = typedef llvm::iterator_range<ConstSearchDirIterator>

Definition at line 248 of file HeaderSearch.h.

◆ ConversionSequenceList

A list of implicit conversion sequences for the arguments of an OverloadCandidate.

Definition at line 844 of file Overload.h.

◆ CXXCastPath

A simple array of base specifiers.

Definition at line 114 of file ASTContext.h.

◆ DeclResult

using clang::DeclResult = typedef ActionResult<Decl *>

Definition at line 254 of file Ownership.h.

◆ DeviceTypeArgument

Definition at line 80 of file OpenACCClause.h.

◆ DiagNullabilityKind

using clang::DiagNullabilityKind = typedef std::pair<NullabilityKind, bool>

A nullability kind paired with a bit indicating whether it used a context-sensitive keyword.

Definition at line 1548 of file Diagnostic.h.

◆ DiagOrStoredDiag

using clang::DiagOrStoredDiag = typedef llvm::PointerUnion<const Diagnostic *, const StoredDiagnostic *>

Definition at line 32 of file DiagnosticRenderer.h.

◆ DomTreeNode

using clang::DomTreeNode = typedef llvm::DomTreeNodeBase<CFGBlock>

Definition at line 38 of file Dominators.h.

◆ ExpectedDecl

Definition at line 82 of file ASTImporter.cpp.

◆ ExpectedExpr

Definition at line 81 of file ASTImporter.cpp.

◆ ExpectedName

Definition at line 84 of file ASTImporter.cpp.

◆ ExpectedSLoc

Definition at line 83 of file ASTImporter.cpp.

◆ ExpectedStmt

Definition at line 80 of file ASTImporter.cpp.

◆ ExpectedType

Definition at line 79 of file ASTImporter.cpp.

◆ ExpectedTypePtr

using clang::ExpectedTypePtr = typedef llvm::Expected<const Type *>

Definition at line 78 of file ASTImporter.cpp.

◆ ExprDependence

Definition at line 49 of file DependenceFlags.h.

◆ ExprResult

using clang::ExprResult = typedef ActionResult<Expr *>

Definition at line 248 of file Ownership.h.

◆ FrontendPluginRegistry

using clang::FrontendPluginRegistry = typedef llvm::Registry<PluginASTAction>

The frontend plugin registry.

Definition at line 22 of file FrontendPluginRegistry.h.

◆ IdentifierLocPair

A simple pair of identifier info and location.

Definition at line 80 of file IdentifierTable.h.

◆ LangASMap

The type of a lookup table which maps from language-specific address spaces to target-specific ones.

Definition at line 73 of file AddressSpaces.h.

◆ LazyCXXBaseSpecifiersPtr

A lazy pointer to a set of CXXBaseSpecifiers.

Definition at line 590 of file ExternalASTSource.h.

◆ LazyCXXCtorInitializersPtr

A lazy pointer to a set of CXXCtorInitializers.

Definition at line 585 of file ExternalASTSource.h.

◆ LazyDeclPtr

A lazy pointer to a declaration.

Definition at line 581 of file ExternalASTSource.h.

◆ LazyDeclStmtPtr

A lazy pointer to a statement.

Definition at line 577 of file ExternalASTSource.h.

◆ MemInitResult

Definition at line 252 of file Ownership.h.

◆ ModuleBuildStack

using clang::ModuleBuildStack = typedef ArrayRef<std::pair<std::string, FullSourceLoc> >

The stack used when building modules on demand, which is used to provide a link between the source managers of the different compiler instances.

Definition at line 649 of file SourceManager.h.

◆ ModuleId

using clang::ModuleId = typedef SmallVector<std::pair<std::string, SourceLocation>, 2>

Describes the name of a module.

Definition at line 54 of file Module.h.

◆ ModuleIdPath

A sequence of identifier/location pairs used to describe a particular module or submodule, e.g., std.vector.

Definition at line 32 of file ModuleLoader.h.

◆ MultiExprArg

Definition at line 258 of file Ownership.h.

◆ MultiStmtArg

Definition at line 259 of file Ownership.h.

◆ MultiTemplateParamsArg

Definition at line 262 of file Ownership.h.

◆ MultiTypeArg

Definition at line 261 of file Ownership.h.

◆ OpenMPClauseKind

using clang::OpenMPClauseKind = typedef llvm::omp::Clause

OpenMP clauses.

Definition at line 27 of file OpenMPKinds.h.

◆ OpenMPDirectiveKind

OpenMP directives.

Definition at line 24 of file OpenMPKinds.h.

◆ OptionalDirectoryEntryRef

Definition at line 114 of file DirectoryEntry.h.

◆ OptionalFileEntryRef

Definition at line 202 of file FileEntry.h.

◆ ParsedAttrInfoRegistry

Definition at line 168 of file ParsedAttrInfo.h.

◆ ParsedTemplateTy

Definition at line 255 of file Ownership.h.

◆ ParsedType

An opaque type for threading parsed type information through the parser.

Definition at line 229 of file Ownership.h.

◆ PartialDiagnosticAt

A partial diagnostic along with the source location where this diagnostic occurs.

Definition at line 205 of file PartialDiagnostic.h.

◆ PragmaHandlerRegistry

using clang::PragmaHandlerRegistry = typedef llvm::Registry<PragmaHandler>

Registry of pragma handlers added by plugins.

Definition at line 2964 of file Preprocessor.h.

◆ SearchDirIterator

Definition at line 246 of file HeaderSearch.h.

◆ SearchDirRange

using clang::SearchDirRange = typedef llvm::iterator_range<SearchDirIterator>

Definition at line 249 of file HeaderSearch.h.

◆ SpecializationOrInstantiationInfo

Definition at line 1793 of file DeclTemplate.h.

◆ StmtResult

using clang::StmtResult = typedef ActionResult<Stmt *>

Definition at line 249 of file Ownership.h.

◆ TemplateParameter

Stores a template parameter of any kind.

Definition at line 63 of file DeclTemplate.h.

◆ TextDiagnosticFormat

Definition at line 146 of file DiagnosticOptions.h.

◆ TypeDependence

Definition at line 80 of file DependenceFlags.h.

◆ TypeIsArrayType

template<typename T >
using clang::TypeIsArrayType = typedef std::integral_constant<bool, std::is_same<T, ArrayType>::value || std::is_base_of<ArrayType, T>::value>

Definition at line 8154 of file Type.h.

◆ TypeResult

Definition at line 250 of file Ownership.h.

◆ UnexpandedParameterPack

typedef std::pair<llvm::PointerUnion<const TemplateTypeParmType *, NamedDecl *>, SourceLocation> clang::UnexpandedParameterPack

Definition at line 242 of file Sema.h.

◆ UnionParsedTemplateTy

Definition at line 256 of file Ownership.h.

◆ UnionParsedType

Definition at line 230 of file Ownership.h.

◆ UnsatisfiedConstraintRecord

using clang::UnsatisfiedConstraintRecord = typedef std::pair<const Expr *, llvm::PointerUnion<Expr *, std::pair<SourceLocation, StringRef> *> >

Pairs of unsatisfied atomic constraint expressions along with the substituted constraint expr, if the template arguments could be substituted into them, or a diagnostic if substitution resulted in an invalid expression.

Definition at line 82 of file ASTConcept.h.

◆ VarGrpRef

using clang::VarGrpRef = typedef ArrayRef<const VarDecl *>

Definition at line 25 of file UnsafeBufferUsage.h.

◆ VarGrpTy

using clang::VarGrpTy = typedef std::vector<const VarDecl *>

Definition at line 24 of file UnsafeBufferUsage.h.

◆ VPtrInfoVector

typedef SmallVector<std::unique_ptr<VPtrInfo>, 2> clang::VPtrInfoVector

Definition at line 495 of file VTableBuilder.h.

◆ WeakTopologicalOrdering

using clang::WeakTopologicalOrdering = typedef std::vector<const CFGBlock *>

A weak topological ordering (WTO) of CFG nodes provides a total order over the CFG (defined in WTOCompare, below), which can guide the order in which to visit nodes in fixpoint computations over the CFG.

Roughly, a WTO a) groups the blocks so that loop heads are grouped with their bodies and any nodes they dominate after the loop and b) orders the groups topologically. As a result, the blocks in a series of loops are ordered such that all nodes in loop i are earlier in the order than nodes in loop j. This ordering, when combined with widening, bounds the number of times a node must be visited for a dataflow algorithm to reach a fixpoint. For the precise definition of a WTO and its properties, see [Bourdoncle1993].

Here, we provide a simplified WTO which drops its nesting structure, maintaining only the ordering itself. The ordering is built from the limit flow graph of Cfg (derived from iteratively partitioning it into intervals) if and only if it is reducible (its limit flow graph has one node). Returns nullopt when Cfg is not reducible.

This WTO construction is described in Section 4.2 of [Bourdoncle1993].

Definition at line 49 of file IntervalPartition.h.

◆ XRayInstrMask

using clang::XRayInstrMask = typedef uint32_t

Definition at line 25 of file XRayInstr.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TypeAlignmentInBits 
TypeAlignment 

Definition at line 71 of file Type.h.

◆ anonymous enum

anonymous enum

IdentifierInfo and other related classes are aligned to 8 bytes so that DeclarationName can use the lower 3 bits of a pointer to one of these classes.

Enumerator
IdentifierInfoAlignment 

Definition at line 85 of file IdentifierTable.h.

◆ anonymous enum

anonymous enum

Enough bits to store any enumerator in ObjCMethodFamily or InvalidObjCMethodFamily.

Enumerator
ObjCMethodFamilyBitWidth 

Definition at line 819 of file IdentifierTable.h.

◆ anonymous enum

anonymous enum

An invalid value of ObjCMethodFamily.

Enumerator
InvalidObjCMethodFamily 

Definition at line 822 of file IdentifierTable.h.

◆ anonymous enum

anonymous enum
Enumerator
HMAP_HeaderMagicNumber 
HMAP_HeaderVersion 
HMAP_EmptyBucketKey 

Definition at line 16 of file HeaderMapTypes.h.

◆ anonymous enum

anonymous enum

Default priority values for code-completion results based on their kind.

Enumerator
CCP_NextInitializer 

Priority for the next initialization in a constructor initializer list.

CCP_EnumInCase 

Priority for an enumeration constant inside a switch whose condition is of the enumeration type.

CCP_SuperCompletion 

Priority for a send-to-super completion.

CCP_LocalDeclaration 

Priority for a declaration that is in the local scope.

CCP_MemberDeclaration 

Priority for a member declaration found from the current method or member function.

CCP_Keyword 

Priority for a language keyword (that isn't any of the other categories).

CCP_CodePattern 

Priority for a code pattern.

CCP_Declaration 

Priority for a non-type declaration.

CCP_Type 

Priority for a type.

CCP_Constant 

Priority for a constant value (e.g., enumerator).

CCP_Macro 

Priority for a preprocessor macro.

CCP_NestedNameSpecifier 

Priority for a nested-name-specifier.

CCP_Unlikely 

Priority for a result that isn't likely to be what the user wants, but is included for completeness.

CCP_ObjC_cmd 

Priority for the Objective-C "_cmd" implicit parameter.

Definition at line 53 of file CodeCompleteConsumer.h.

◆ anonymous enum

anonymous enum

Priority value deltas that are added to code-completion results based on the context of the result.

Enumerator
CCD_InBaseClass 

The result is in a base class.

CCD_ObjectQualifierMatch 

The result is a C++ non-static member function whose qualifiers exactly match the object type on which the member function can be called.

CCD_SelectorMatch 

The selector of the given message exactly matches the selector of the current method, which might imply that some kind of delegation is occurring.

CCD_bool_in_ObjC 

Adjustment to the "bool" type in Objective-C, where the typedef "BOOL" is preferred.

CCD_ProbablyNotObjCCollection 

Adjustment for KVC code pattern priorities when it doesn't look like the.

CCD_MethodAsProperty 

An Objective-C method being used as a property.

CCD_BlockPropertySetter 

An Objective-C block property completed as a setter with a block placeholder.

Definition at line 104 of file CodeCompleteConsumer.h.

◆ anonymous enum

anonymous enum

Priority value factors by which we will divide or multiply the priority of a code-completion result.

Enumerator
CCF_ExactTypeMatch 

Divide by this factor when a code-completion result's type exactly matches the type we expect.

CCF_SimilarTypeMatch 

Divide by this factor when a code-completion result's type is similar to the type we expect (e.g., both arithmetic types, both Objective-C object pointer types).

Definition at line 135 of file CodeCompleteConsumer.h.

◆ anonymous enum

anonymous enum
Enumerator
TileRegLow 
TileRegHigh 

Definition at line 423 of file SemaX86.cpp.

◆ anonymous enum

anonymous enum
Enumerator
NumObjCPropertyAttrsBits 

Number of bits fitting all the property attributes.

Definition at line 48 of file DeclObjCCommon.h.

◆ AccessKinds

Kinds of access we can perform on an object, for diagnostics.

Note that we consider a member function call to be a kind of access, even though it is not formally an access of the object, because it has (largely) the same set of semantic restrictions.

Enumerator
AK_Read 
AK_ReadObjectRepresentation 
AK_Assign 
AK_Increment 
AK_Decrement 
AK_MemberCall 
AK_DynamicCast 
AK_TypeId 
AK_Construct 
AK_Destroy 

Definition at line 26 of file State.h.

◆ AccessSpecifier

A C++ access specifier (public, private, protected), plus the special value "none" which means different things in different contexts.

Enumerator
AS_public 
AS_protected 
AS_private 
AS_none 

Definition at line 120 of file Specifiers.h.

◆ AlignRequirementKind

Enumerator
None 

The alignment was not explicit in code.

RequiredByTypedef 

The alignment comes from an alignment attribute on a typedef.

RequiredByRecord 

The alignment comes from an alignment attribute on a record type.

RequiredByEnum 

The alignment comes from an alignment attribute on a enum type.

Definition at line 141 of file ASTContext.h.

◆ AnalysisConstraints

AnalysisConstraints - Set of available constraint models.

Enumerator
NumConstraints 

Definition at line 35 of file AnalyzerOptions.h.

◆ AnalysisDiagClients

AnalysisDiagClients - Set of available diagnostic clients for rendering analysis results.

Enumerator
PD_NONE 
NUM_ANALYSIS_DIAG_CLIENTS 

Definition at line 43 of file AnalyzerOptions.h.

◆ AnalysisInliningMode

AnalysisInlineFunctionSelection - Set of inlining function selection heuristics.

Enumerator
NumInliningModes 

Definition at line 58 of file AnalyzerOptions.h.

◆ AnalysisPurgeMode

AnalysisPurgeModes - Set of available strategies for dead symbol removal.

Enumerator
NumPurgeModes 

Definition at line 51 of file AnalyzerOptions.h.

◆ ArraySizeModifier

Capture whether this is a normal array (e.g.

int X[4]) an array with a static size (e.g. int X[static 4]), or an array with a star size (e.g. int X[*]). 'static' is only allowed on function parameters.

Enumerator
Normal 
Static 
Star 

Definition at line 3526 of file Type.h.

◆ ArrayTypeTrait

Names for the array type traits.

Enumerator
ATT_Last 

Definition at line 42 of file TypeTraits.h.

◆ ASTDumpOutputFormat

Used to specify the format for printing AST dump information.

Enumerator
ADOF_Default 
ADOF_JSON 

Definition at line 21 of file ASTDumperUtils.h.

◆ AtomicScopeModelKind

Defines the kind of atomic scope models.

Enumerator
None 
OpenCL 
HIP 
Generic 

Definition at line 95 of file SyncScope.h.

◆ AttributeArgumentNType

These constants match the enumerated choices of err_attribute_argument_n_type and err_attribute_argument_type.

Enumerator
AANT_ArgumentIntOrBool 
AANT_ArgumentIntegerConstant 
AANT_ArgumentString 
AANT_ArgumentIdentifier 
AANT_ArgumentConstantExpr 
AANT_ArgumentBuiltinFunction 

Definition at line 1084 of file ParsedAttr.h.

◆ AttributeDeclKind

These constants match the enumerated choices of warn_attribute_wrong_decl_type and err_attribute_wrong_decl_type.

Enumerator
ExpectedFunction 
ExpectedUnion 
ExpectedVariableOrFunction 
ExpectedFunctionOrMethod 
ExpectedFunctionMethodOrBlock 
ExpectedFunctionMethodOrParameter 
ExpectedVariable 
ExpectedVariableOrField 
ExpectedVariableFieldOrTag 
ExpectedTypeOrNamespace 
ExpectedFunctionVariableOrClass 
ExpectedKernelFunction 
ExpectedFunctionWithProtoType 

Definition at line 1095 of file ParsedAttr.h.

◆ AutoTypeKeyword

Which keyword(s) were used to create an AutoType.

Enumerator
Auto 

auto

DecltypeAuto 

decltype(auto)

GNUAutoType 

__auto_type (GNU extension)

Definition at line 1772 of file Type.h.

◆ AvailabilityResult

Captures the result of checking the availability of a declaration.

Enumerator
AR_Available 
AR_NotYetIntroduced 
AR_Deprecated 
AR_Unavailable 

Definition at line 72 of file DeclBase.h.

◆ BackendAction

Enumerator
Backend_EmitAssembly 

Emit native assembly files.

Backend_EmitBC 

Emit LLVM bitcode files.

Backend_EmitLL 

Emit human-readable LLVM assembly.

Backend_EmitNothing 

Don't emit anything (benchmarking mode)

Backend_EmitMCNull 

Run CodeGen, but don't emit anything.

Backend_EmitObj 

Emit native object files.

Definition at line 35 of file BackendUtil.h.

◆ BinaryOperatorKind

Definition at line 25 of file OperationKinds.h.

◆ BuildPreambleError

Enumerator
CouldntCreateTempFile 
CouldntCreateTargetInfo 
BeginSourceFileFailed 
CouldntEmitPCH 
BadInputs 

Definition at line 242 of file PrecompiledPreamble.h.

◆ BuiltinTemplateKind

Kinds of BuiltinTemplateDecl.

Enumerator
BTK__make_integer_seq 

This names the __make_integer_seq BuiltinTemplateDecl.

BTK__type_pack_element 

This names the __type_pack_element BuiltinTemplateDecl.

Definition at line 302 of file Builtins.h.

◆ CallingConv

CallingConv - Specifies the calling convention that a function uses.

Enumerator
CC_C 
CC_X86StdCall 
CC_X86FastCall 
CC_X86ThisCall 
CC_X86VectorCall 
CC_X86Pascal 
CC_Win64 
CC_X86_64SysV 
CC_X86RegCall 
CC_AAPCS 
CC_AAPCS_VFP 
CC_IntelOclBicc 
CC_SpirFunction 
CC_OpenCLKernel 
CC_Swift 
CC_SwiftAsync 
CC_PreserveMost 
CC_PreserveAll 
CC_AArch64VectorCall 
CC_AArch64SVEPCS 
CC_AMDGPUKernelCall 
CC_M68kRTD 
CC_PreserveNone 
CC_RISCVVectorCall 

Definition at line 275 of file Specifiers.h.

◆ CanThrowResult

Possible results from evaluation of a noexcept expression.

Enumerator
CT_Cannot 
CT_Dependent 
CT_Can 

Definition at line 59 of file ExceptionSpecificationType.h.

◆ CaptureDiagsKind

Enumerates the available kinds for capturing diagnostics.

Enumerator
None 
All 
AllWithoutNonErrorsFromIncludes 

Definition at line 86 of file ASTUnit.h.

◆ CapturedRegionKind

The different kinds of captured statement.

Enumerator
CR_Default 
CR_ObjCAtFinally 
CR_OpenMP 

Definition at line 16 of file CapturedStmt.h.

◆ CastKind

CastKind - The kind of operation required for a conversion.

Definition at line 20 of file OperationKinds.h.

◆ CharacterLiteralKind

Enumerator
Ascii 
Wide 
UTF8 
UTF16 
UTF32 

Definition at line 1584 of file Expr.h.

◆ CheckedConversionKind

The kind of conversion being performed.

Enumerator
Implicit 

An implicit conversion.

CStyleCast 

A C-style cast.

FunctionalCast 

A functional-style cast.

OtherCast 

A cast other than a C-style cast.

ForBuiltinOverloadedOp 

A conversion for an operand of a builtin overloaded operator.

Definition at line 440 of file Sema.h.

◆ CheckSubobjectKind

The order of this enum is important for diagnostics.

Enumerator
CSK_Base 
CSK_Derived 
CSK_Field 
CSK_ArrayToPointer 
CSK_ArrayIndex 
CSK_Real 
CSK_Imag 

Definition at line 40 of file State.h.

◆ ComparisonCategoryResult

An enumeration representing the possible results of a three-way comparison.

These values map onto instances of comparison category types defined in the standard library. e.g. 'std::strong_ordering::less'.

Enumerator
Equal 
Equivalent 
Less 
Greater 
Unordered 
Last 

Definition at line 67 of file ComparisonCategories.h.

◆ ComparisonCategoryType

An enumeration representing the different comparison categories types.

C++20 [cmp.categories.pre] The types partial_ordering, weak_ordering, and strong_ordering are collectively termed the comparison category types.

Enumerator
PartialOrdering 
WeakOrdering 
StrongOrdering 
First 
Last 

Definition at line 44 of file ComparisonCategories.h.

◆ ConflictMarkerKind

ConflictMarkerKind - Kinds of conflict marker which the lexer might be recovering from.

Enumerator
CMK_None 

Not within a conflict marker.

CMK_Normal 

A normal or diff3 conflict marker, initiated by at least 7 "<"s, separated by at least 7 "="s or "|"s, and terminated by at least 7 ">"s.

CMK_Perforce 

A Perforce-style conflict marker, initiated by 4 ">"s, separated by 4 "="s, and terminated by 4 "<"s.

Definition at line 44 of file Lexer.h.

◆ ConstantResultStorageKind

Describes the kind of result that can be tail-allocated.

Enumerator
None 
Int64 
APValue 

Definition at line 1066 of file Expr.h.

◆ ConstexprSpecKind

Define the kind of constexpr specifier.

Enumerator
Unspecified 
Constexpr 
Consteval 
Constinit 

Definition at line 35 of file Specifiers.h.

◆ CTUPhase1InliningKind

Enumerator
None 
Small 
All 

Definition at line 125 of file AnalyzerOptions.h.

◆ CudaArch

enum clang::CudaArch
strong
Enumerator
UNUSED 
UNKNOWN 
SM_20 
SM_21 
SM_30 
SM_32_ 
SM_35 
SM_37 
SM_50 
SM_52 
SM_53 
SM_60 
SM_61 
SM_62 
SM_70 
SM_72 
SM_75 
SM_80 
SM_86 
SM_87 
SM_89 
SM_90 
SM_90a 
GFX600 
GFX601 
GFX602 
GFX700 
GFX701 
GFX702 
GFX703 
GFX704 
GFX705 
GFX801 
GFX802 
GFX803 
GFX805 
GFX810 
GFX900 
GFX902 
GFX904 
GFX906 
GFX908 
GFX909 
GFX90a 
GFX90c 
GFX940 
GFX941 
GFX942 
GFX1010 
GFX1011 
GFX1012 
GFX1013 
GFX1030 
GFX1031 
GFX1032 
GFX1033 
GFX1034 
GFX1035 
GFX1036 
GFX1100 
GFX1101 
GFX1102 
GFX1103 
GFX1150 
GFX1151 
GFX1200 
GFX1201 
Generic 
LAST 
CudaDefault 
HIPDefault 

Definition at line 54 of file Cuda.h.

◆ CudaFeature

enum clang::CudaFeature
strong
Enumerator
CUDA_USES_NEW_LAUNCH 
CUDA_USES_FATBIN_REGISTER_END 

Definition at line 162 of file Cuda.h.

◆ CUDAFunctionTarget

Enumerator
Device 
Global 
Host 
HostDevice 
InvalidTarget 

Definition at line 132 of file Cuda.h.

◆ CudaVersion

enum clang::CudaVersion
strong
Enumerator
UNKNOWN 
CUDA_70 
CUDA_75 
CUDA_80 
CUDA_90 
CUDA_91 
CUDA_92 
CUDA_100 
CUDA_101 
CUDA_102 
CUDA_110 
CUDA_111 
CUDA_112 
CUDA_113 
CUDA_114 
CUDA_115 
CUDA_116 
CUDA_117 
CUDA_118 
CUDA_120 
CUDA_121 
CUDA_122 
CUDA_123 
CUDA_124 
FULLY_SUPPORTED 
PARTIALLY_SUPPORTED 
NEW 

Definition at line 20 of file Cuda.h.

◆ CXXConstructionKind

Enumerator
Complete 
NonVirtualBase 
VirtualBase 
Delegating 

Definition at line 1534 of file ExprCXX.h.

◆ CXXCtorType

C++ constructor types.

Enumerator
Ctor_Complete 

Complete object ctor.

Ctor_Base 

Base object ctor.

Ctor_Comdat 

The COMDAT used for ctors.

Ctor_CopyingClosure 

Copying closure variant of a ctor.

Ctor_DefaultClosure 

Default closure variant of a ctor.

Definition at line 24 of file ABI.h.

◆ CXXDtorType

C++ destructor types.

Enumerator
Dtor_Deleting 

Deleting dtor.

Dtor_Complete 

Complete object dtor.

Dtor_Base 

Base object dtor.

Dtor_Comdat 

The COMDAT used for dtors.

Definition at line 33 of file ABI.h.

◆ CXXInlineableMemberKind

Describes the different kinds of C++ member functions which can be considered for inlining by the analyzer.

These options are cumulative; enabling one kind of member function will enable all kinds with lower enum values.

Enumerator
CIMK_None 

A dummy mode in which no C++ inlining is enabled.

CIMK_MemberFunctions 

Refers to regular member function and operator calls.

CIMK_Constructors 

Refers to constructors (implicit or explicit).

Note that a constructor will not be inlined if the corresponding destructor is non-trivial.

CIMK_Destructors 

Refers to destructors (implicit or explicit).

Definition at line 69 of file AnalyzerOptions.h.

◆ CXXNewInitializationStyle

Enumerator
None 

New-expression has no initializer as written.

Parens 

New-expression has a C++98 paren-delimited initializer.

Braces 

New-expression has a C++11 list-initializer.

Definition at line 2221 of file ExprCXX.h.

◆ CXXSpecialMemberKind

Kinds of C++ special members.

Enumerator
DefaultConstructor 
CopyConstructor 
MoveConstructor 
CopyAssignment 
MoveAssignment 
Destructor 
Invalid 

Definition at line 429 of file Sema.h.

◆ DeclaratorContext

Enumerator
File 
Prototype 
ObjCResult 
ObjCParameter 
KNRTypeList 
TypeName 
FunctionalCast 
Member 
Block 
ForInit 
SelectionInit 
Condition 
TemplateParam 
CXXNew 
CXXCatch 
ObjCCatch 
BlockLiteral 
LambdaExpr 
LambdaExprParameter 
ConversionId 
TrailingReturn 
TrailingReturnVar 
TemplateArg 
TemplateTypeArg 
AliasDecl 
AliasTemplate 
RequiresExpr 
Association 

Definition at line 1850 of file DeclSpec.h.

◆ DeductionCandidate

enum clang::DeductionCandidate : unsigned char
strong

Only used by CXXDeductionGuideDecl.

Enumerator
Normal 
Copy 
Aggregate 

Definition at line 1408 of file DeclBase.h.

◆ DependencyOutputFormat

DependencyOutputFormat - Format for the compiler dependency file.

Enumerator
Make 
NMake 

Definition at line 22 of file DependencyOutputOptions.h.

◆ DiagnosticLevelMask

A bitmask representing the diagnostic levels used by VerifyDiagnosticConsumer.

Enumerator
None 
Note 
Remark 
Warning 
Error 
All 

Definition at line 39 of file DiagnosticOptions.h.

◆ DisableValidationForModuleKind

Whether to disable the normal validation performed on precompiled headers and module files when they are loaded.

Enumerator
None 

Perform validation, don't disable it.

PCH 

Disable validation for a precompiled header and the modules it depends on.

Module 

Disable validation for module files.

All 

Disable validation for all kinds.

Definition at line 48 of file PreprocessorOptions.h.

◆ DynamicInitKind

Enumerator
NoStub 
Initializer 
AtExit 
GlobalArrayDestructor 

Definition at line 32 of file GlobalDecl.h.

◆ ElaboratedTypeKeyword

The elaboration keyword that precedes a qualified type name or introduces an elaborated-type-specifier.

Enumerator
Struct 

The "struct" keyword introduces the elaborated-type-specifier.

Interface 

The "__interface" keyword introduces the elaborated-type-specifier.

Union 

The "union" keyword introduces the elaborated-type-specifier.

Class 

The "class" keyword introduces the elaborated-type-specifier.

Enum 

The "enum" keyword introduces the elaborated-type-specifier.

Typename 

The "typename" keyword precedes the qualified type name, e.g., typename T::type.

None 

No keyword precedes the qualified type name.

Definition at line 6285 of file Type.h.

◆ EscapeChar

enum clang::EscapeChar
strong
Enumerator
Single 
Double 
SingleAndDouble 

Definition at line 182 of file CharInfo.h.

◆ ExceptionSpecificationType

The various types of exception specifications that exist in C++11.

Enumerator
EST_None 

no exception specification

EST_DynamicNone 

throw()

EST_Dynamic 

throw(T1, T2)

EST_MSAny 

Microsoft throw(...) extension.

EST_NoThrow 

Microsoft __declspec(nothrow) extension.

EST_BasicNoexcept 

noexcept

EST_DependentNoexcept 

noexcept(expression), value-dependent

EST_NoexceptFalse 

noexcept(expression), evals to 'false'

EST_NoexceptTrue 

noexcept(expression), evals to 'true'

EST_Unevaluated 

not evaluated yet, for special member function

EST_Uninstantiated 

not instantiated yet

EST_Unparsed 

not parsed yet

Definition at line 20 of file ExceptionSpecificationType.h.

◆ ExplicitSpecKind

Define the meaning of possible values of the kind in ExplicitSpecifier.

Enumerator
ResolvedFalse 
ResolvedTrue 
Unresolved 

Definition at line 28 of file Specifiers.h.

◆ ExplorationStrategyKind

Enumerator
DFS 
BFS 
UnexploredFirst 
UnexploredFirstQueue 
UnexploredFirstLocationQueue 
BFSBlockDFSContents 

Definition at line 107 of file AnalyzerOptions.h.

◆ ExpressionTrait

Enumerator
ET_Last 

Definition at line 21 of file ExpressionTraits.h.

◆ ExprObjectKind

A further classification of the kind of object referenced by an l-value or x-value.

Enumerator
OK_Ordinary 

An ordinary object is located at an address in memory.

OK_BitField 

A bitfield object is a bitfield on a C or C++ record.

OK_VectorComponent 

A vector component is an element or range of elements on a vector.

OK_ObjCProperty 

An Objective-C property is a logical field of an Objective-C object which is read and written via Objective-C method calls.

OK_ObjCSubscript 

An Objective-C array/dictionary subscripting which reads an object or writes at the subscripted array/dictionary element via Objective-C method calls.

OK_MatrixComponent 

A matrix component is a single element of a matrix.

Definition at line 146 of file Specifiers.h.

◆ ExprValueKind

The categorization of expression values, currently following the C++11 scheme.

Enumerator
VK_PRValue 

A pr-value expression (in the C++11 taxonomy) produces a temporary value.

VK_LValue 

An l-value expression is a reference to an object with independent storage.

VK_XValue 

An x-value expression is a reference to an object with independent storage but which can be "moved", i.e.

efficiently cannibalized for its resources.

Definition at line 129 of file Specifiers.h.

◆ ExtraDepKind

ExtraDepKind - The kind of extra dependency file.

Enumerator
EDK_SanitizeIgnorelist 
EDK_ProfileList 
EDK_ModuleFile 
EDK_DepFileEntry 

Definition at line 25 of file DependencyOutputOptions.h.

◆ FloatModeKind

enum clang::FloatModeKind
strong
Enumerator
NoFloat 
Half 
Float 
Double 
LongDouble 
Float128 
Ibm128 

Definition at line 72 of file TargetInfo.h.

◆ FunctionDefinitionKind

Described the kind of function definition (if any) provided for a function.

Enumerator
Declaration 
Definition 
Defaulted 
Deleted 

Definition at line 1843 of file DeclSpec.h.

◆ GVALinkage

A more specific kind of linkage than enum Linkage.

This is relevant to CodeGen and AST file reading.

Enumerator
GVA_Internal 
GVA_AvailableExternally 
GVA_DiscardableODR 
GVA_StrongExternal 
GVA_StrongODR 

Definition at line 72 of file Linkage.h.

◆ HeaderIncludeFilteringKind

Whether header information is filtered or not.

If HIFIL_Only_Direct_System is used, only information on system headers directly included from non-system headers is emitted.

Enumerator
HIFIL_None 
HIFIL_Only_Direct_System 

Definition at line 27 of file HeaderInclude.h.

◆ HeaderIncludeFormatKind

The format in which header information is emitted.

Enumerator
HIFMT_None 
HIFMT_Textual 
HIFMT_JSON 

Definition at line 22 of file HeaderInclude.h.

◆ IfStatementKind

In an if statement, this denotes whether the statement is a constexpr or consteval if statement.

Enumerator
Ordinary 
Constexpr 
ConstevalNonNegated 
ConstevalNegated 

Definition at line 39 of file Specifiers.h.

◆ ImplicitConversionKind

ImplicitConversionKind - The kind of implicit conversion used to convert an argument to a parameter's type.

The enumerator values match with the table titled 'Conversions' in [over.ics.scs] and are listed such that better conversion kinds have smaller values.

Enumerator
ICK_Identity 

Identity conversion (no conversion)

ICK_Lvalue_To_Rvalue 

Lvalue-to-rvalue conversion (C++ [conv.lval])

ICK_Array_To_Pointer 

Array-to-pointer conversion (C++ [conv.array])

ICK_Function_To_Pointer 

Function-to-pointer (C++ [conv.array])

ICK_Function_Conversion 

Function pointer conversion (C++17 [conv.fctptr])

ICK_Qualification 

Qualification conversions (C++ [conv.qual])

ICK_Integral_Promotion 

Integral promotions (C++ [conv.prom])

ICK_Floating_Promotion 

Floating point promotions (C++ [conv.fpprom])

ICK_Complex_Promotion 

Complex promotions (Clang extension)

ICK_Integral_Conversion 

Integral conversions (C++ [conv.integral])

ICK_Floating_Conversion 

Floating point conversions (C++ [conv.double].

ICK_Complex_Conversion 

Complex conversions (C99 6.3.1.6)

ICK_Floating_Integral 

Floating-integral conversions (C++ [conv.fpint])

ICK_Pointer_Conversion 

Pointer conversions (C++ [conv.ptr])

ICK_Pointer_Member 

Pointer-to-member conversions (C++ [conv.mem])

ICK_Boolean_Conversion 

Boolean conversions (C++ [conv.bool])

ICK_Compatible_Conversion 

Conversions between compatible types in C99.

ICK_Derived_To_Base 

Derived-to-base (C++ [over.best.ics])

ICK_Vector_Conversion 

Vector conversions.

ICK_SVE_Vector_Conversion 

Arm SVE Vector conversions.

ICK_RVV_Vector_Conversion 

RISC-V RVV Vector conversions.

ICK_Vector_Splat 

A vector splat from an arithmetic type.

ICK_Complex_Real 

Complex-real conversions (C99 6.3.1.7)

ICK_Block_Pointer_Conversion 

Block Pointer conversions.

ICK_TransparentUnionConversion 

Transparent Union Conversions.

ICK_Writeback_Conversion 

Objective-C ARC writeback conversion.

ICK_Zero_Event_Conversion 

Zero constant to event (OpenCL1.2 6.12.10)

ICK_Zero_Queue_Conversion 

Zero constant to queue.

ICK_C_Only_Conversion 

Conversions allowed in C, but not C++.

ICK_Incompatible_Pointer_Conversion 

C-only conversion between pointers with incompatible types.

ICK_Fixed_Point_Conversion 

Fixed point type conversions according to N1169.

ICK_HLSL_Vector_Truncation 

HLSL vector truncation.

ICK_HLSL_Array_RValue 

HLSL non-decaying array rvalue cast.

ICK_Num_Conversion_Kinds 

The number of conversion kinds.

Definition at line 104 of file Overload.h.

◆ ImplicitConversionRank

ImplicitConversionRank - The rank of an implicit conversion kind.

The enumerator values match with Table 9 of (C++ 13.3.3.1.1) and are listed such that better conversion ranks have smaller values.

Enumerator
ICR_Exact_Match 

Exact Match.

ICR_Promotion 

Promotion.

ICR_Conversion 

Conversion.

ICR_OCL_Scalar_Widening 

OpenCL Scalar Widening.

ICR_Complex_Real_Conversion 

Complex <-> Real conversion.

ICR_Writeback_Conversion 

ObjC ARC writeback conversion.

ICR_C_Conversion 

Conversion only allowed in the C standard (e.g. void* to char*).

ICR_C_Conversion_Extension 

Conversion not allowed by the C standard, but that we accept as an extension anyway.

Definition at line 212 of file Overload.h.

◆ ImplicitParamKind

Defines the kind of the implicit parameter: is this an implicit parameter with pointer to 'this', 'self', '_cmd', virtual table pointers, captured context or something else.

Enumerator
ObjCSelf 

Parameter for Objective-C 'self' argument.

ObjCCmd 

Parameter for Objective-C '_cmd' argument.

CXXThis 

Parameter for C++ 'this' argument.

CXXVTT 

Parameter for C++ virtual table pointers.

CapturedContext 

Parameter for captured context.

ThreadPrivateVar 

Parameter for Thread private variable.

Other 

Other implicit parameter.

Definition at line 1698 of file Decl.h.

◆ ImplicitTypenameContext

Enumerator
No 
Yes 

Definition at line 1883 of file DeclSpec.h.

◆ InClassInitStyle

In-class initialization styles for non-static data members.

Enumerator
ICIS_NoInit 

No in-class initializer.

ICIS_CopyInit 

Copy initialization.

ICIS_ListInit 

Direct list-initialization.

Definition at line 268 of file Specifiers.h.

◆ InterestingIdentifier

The "layout" of InterestingIdentifier is:

  • ObjCKeywordKind enumerators
  • NotableIdentifierKind enumerators
  • Builtin::ID enumerators
  • NotInterestingIdentifier
Enumerator
OBJC_AT_KEYWORD 
NUM_OBJC_KEYWORDS 
NOTABLE_IDENTIFIER 
NUM_OBJC_KEYWORDS_AND_NOTABLE_IDENTIFIERS 
NotBuiltin 
BUILTIN 
FirstTSBuiltin 
NotInterestingIdentifier 

Definition at line 94 of file IdentifierTable.h.

◆ IPAKind

Describes the different modes of inter-procedural analysis.

Enumerator
IPAK_None 

Perform only intra-procedural analysis.

IPAK_BasicInlining 

Inline C functions and blocks when their definitions are available.

IPAK_Inlining 

Inline callees(C, C++, ObjC) when their definitions are available.

IPAK_DynamicDispatch 

Enable inlining of dynamically dispatched methods.

IPAK_DynamicDispatchBifurcate 

Enable inlining of dynamically dispatched methods, bifurcate paths when exact type info is unavailable.

Definition at line 89 of file AnalyzerOptions.h.

◆ KernelReferenceKind

Enumerator
Kernel 
Stub 

Definition at line 39 of file GlobalDecl.h.

◆ LambdaCaptureDefault

The default, if any, capture method for a lambda expression.

Enumerator
LCD_None 
LCD_ByCopy 
LCD_ByRef 

Definition at line 22 of file Lambda.h.

◆ LambdaCaptureInitKind

Enumerator
NoInit 

[a]

CopyInit 

[a = b], [a = {b}]

DirectInit 

[a(b)]

ListInit 

[a{b}]

Definition at line 2824 of file DeclSpec.h.

◆ LambdaCaptureKind

The different capture forms in a lambda introducer.

C++11 allows capture of this, or of local variables by copy or by reference. C++1y also allows "init-capture", where the initializer is an expression.

Enumerator
LCK_This 

Capturing the *this object by reference.

LCK_StarThis 

Capturing the *this object by copy.

LCK_ByCopy 

Capturing by copy (a.k.a., by value)

LCK_ByRef 

Capturing by reference.

LCK_VLAType 

Capturing variable-length array type.

Definition at line 33 of file Lambda.h.

◆ LangAS

enum clang::LangAS : unsigned
strong

Defines the address space values used by the address space qualifier of QualType.

Enumerator
Default 
opencl_global 
opencl_local 
opencl_constant 
opencl_private 
opencl_generic 
opencl_global_device 
opencl_global_host 
cuda_device 
cuda_constant 
cuda_shared 
sycl_global 
sycl_global_device 
sycl_global_host 
sycl_local 
sycl_private 
ptr32_sptr 
ptr32_uptr 
ptr64 
hlsl_groupshared 
wasm_funcref 
FirstTargetAddressSpace 

Definition at line 25 of file AddressSpaces.h.

◆ LangFeatures

Enumerator
LineComment 
C99 
C11 
C17 
C23 
CPlusPlus 
CPlusPlus11 
CPlusPlus14 
CPlusPlus17 
CPlusPlus20 
CPlusPlus23 
CPlusPlus26 
Digraphs 
GNUMode 
HexFloat 
OpenCL 
OpenCL 
HLSL 
HLSL 

Definition at line 49 of file LangStandard.h.

◆ Language

enum clang::Language : uint8_t
strong

The language for the input, used to select and validate the language standard and possible actions.

Enumerator
Unknown 
Asm 

Assembly: we accept this only so that we can preprocess it.

CIR 

LLVM IR & CIR: we accept these so that we can run the optimizer on them, and compile them to assembly or object code (or LLVM for CIR).

LLVM_IR 

Languages that the frontend can parse and compile.

CXX 
ObjC 
ObjCXX 
OpenCL 
OpenCLCXX 
CUDA 
RenderScript 
HIP 
HLSL 

Definition at line 23 of file LangStandard.h.

◆ LanguageID

enum clang::LanguageID : uint16_t
Enumerator
GNU_LANG 
C_LANG 
CXX_LANG 
OBJC_LANG 
MS_LANG 
OMP_LANG 
CUDA_LANG 
COR_LANG 
OCL_GAS 
OCL_PIPE 
OCL_DSE 
ALL_OCL_LANGUAGES 
HLSL_LANG 
ALL_LANGUAGES 
ALL_GNU_LANGUAGES 
ALL_MS_LANGUAGES 

Definition at line 32 of file Builtins.h.

◆ LanguageLinkage

Describes the different kinds of language linkage (C++ [dcl.link]) that an entity may have.

Enumerator
CLanguageLinkage 
CXXLanguageLinkage 
NoLanguageLinkage 

Definition at line 63 of file Linkage.h.

◆ Linkage

enum clang::Linkage : unsigned char
strong

Describes the different kinds of linkage (C++ [basic.link], C99 6.2.2) that an entity may have.

Enumerator
Invalid 
None 

No linkage, which means that the entity is unique and can only be referred to from within its scope.

Internal 

Internal linkage, which indicates that the entity can be referred to from within the translation unit (but not other translation units).

UniqueExternal 

External linkage within a unique namespace.

From the language perspective, these entities have external linkage. However, since they reside in an anonymous namespace, their names are unique to this translation unit, which is equivalent to having internal linkage from the code-generation point of view.

VisibleNone 

No linkage according to the standard, but is visible from other translation units because of types defined in a inline function.

Module 

Module linkage, which indicates that the entity can be referred to from other translation units within the same module, and indirectly from arbitrary other translation units through inline functions and templates in the module interface.

External 

External linkage, which indicates that the entity can be referred to from other translation units.

Definition at line 24 of file Linkage.h.

◆ LinkageSpecLanguageIDs

Represents the language in a linkage specification.

The values are part of the serialization ABI for ASTs and cannot be changed without altering that ABI.

Enumerator
CXX 

Definition at line 2926 of file DeclCXX.h.

◆ MacroUse

Context in which macro name is used.

Enumerator
MU_Other 
MU_Define 
MU_Undef 

Definition at line 111 of file Preprocessor.h.

◆ MSInheritanceModel

Assigned inheritance model for a class in the MS C++ ABI.

Must match order of spellings in MSInheritanceAttr.

Enumerator
Single 
Multiple 
Virtual 
Unspecified 

Definition at line 389 of file Specifiers.h.

◆ MSVtorDispMode

enum clang::MSVtorDispMode
strong

In the Microsoft ABI, this controls the placement of virtual displacement members used to implement virtual inheritance.

Enumerator
Never 
ForVBaseOverride 
ForVFTable 

Definition at line 35 of file LangOptions.h.

◆ MultiVersionKind

Enumerator
None 
Target 
CPUSpecific 
CPUDispatch 
TargetClones 
TargetVersion 

Definition at line 1951 of file Decl.h.

◆ NarrowingKind

NarrowingKind - The kind of narrowing conversion being performed by a standard conversion sequence according to C++11 [dcl.init.list]p7.

Enumerator
NK_Not_Narrowing 

Not a narrowing conversion.

NK_Type_Narrowing 

A narrowing conversion by virtue of the source and destination types.

NK_Constant_Narrowing 

A narrowing conversion, because a constant expression got narrowed.

NK_Variable_Narrowing 

A narrowing conversion, because a non-constant-expression variable might have got narrowed.

NK_Dependent_Narrowing 

Cannot tell whether this is a narrowing conversion because the expression is value-dependent.

Definition at line 243 of file Overload.h.

◆ NeverCalledReason

Enumerator
IfThen 
IfElse 
Switch 
SwitchSkipped 
LoopEntered 
LoopSkipped 
FallbackReason 
LARGEST_VALUE 

Definition at line 36 of file CalledOnceCheck.h.

◆ NonOdrUseReason

The reason why a DeclRefExpr does not constitute an odr-use.

Enumerator
NOUR_None 

This is an odr-use.

NOUR_Unevaluated 

This name appears in an unevaluated operand.

NOUR_Constant 

This name appears as a potential result of an lvalue-to-rvalue conversion that is a constant expression.

NOUR_Discarded 

This name appears as a potential result of a discarded value expression.

Definition at line 170 of file Specifiers.h.

◆ NullabilityKind

enum clang::NullabilityKind : uint8_t
strong

Describes the nullability of a particular type.

Enumerator
NonNull 

Values of this type can never be null.

Nullable 

Values of this type can be null.

Unspecified 

Whether values of this type can be null is (explicitly) unspecified.

This captures a (fairly rare) case where we can't conclude anything about the nullability of the type even though it has been considered.

NullableResult 

Definition at line 333 of file Specifiers.h.

◆ ObjCBridgeCastKind

The kind of bridging performed by the Objective-C bridge cast.

Enumerator
OBC_Bridge 

Bridging via __bridge, which does nothing but reinterpret the bits.

OBC_BridgeTransfer 

Bridging via __bridge_transfer, which transfers ownership of an Objective-C pointer into ARC.

OBC_BridgeRetained 

Bridging via __bridge_retain, which makes an ARC object available as a +1 C pointer.

Definition at line 36 of file OperationKinds.h.

◆ ObjCImplementationControl

Enumerator
None 
Required 
Optional 

Definition at line 118 of file DeclObjC.h.

◆ ObjCInstanceTypeFamily

A family of Objective-C methods.

These are family of methods whose result type is initially 'id', but but are candidate for the result type to be changed to 'instancetype'.

Enumerator
OIT_None 
OIT_Array 
OIT_Dictionary 
OIT_Singleton 
OIT_Init 
OIT_ReturnsSelf 

Definition at line 828 of file IdentifierTable.h.

◆ ObjCMethodFamily

A family of Objective-C methods.

These families have no inherent meaning in the language, but are nonetheless central enough in the existing implementations to merit direct AST support. While, in theory, arbitrary methods can be considered to form families, we focus here on the methods involving allocation and retain-count management, as these are the most "core" and the most likely to be useful to diverse clients without extra information.

Both selectors and actual method declarations may be classified into families. Method families may impose additional restrictions beyond their selector name; for example, a method called '_init' that returns void is not considered to be in the 'init' family (but would be if it returned 'id'). It is also possible to explicitly change or remove a method's family. Therefore the method's family should be considered the single source of truth.

Enumerator
OMF_None 

No particular method family.

OMF_alloc 
OMF_copy 
OMF_init 
OMF_mutableCopy 
OMF_new 
OMF_autorelease 
OMF_dealloc 
OMF_finalize 
OMF_release 
OMF_retain 
OMF_retainCount 
OMF_self 
OMF_initialize 
OMF_performSelector 

Definition at line 788 of file IdentifierTable.h.

◆ ObjCPropertyQueryKind

enum clang::ObjCPropertyQueryKind : uint8_t
strong
Enumerator
OBJC_PR_query_unknown 
OBJC_PR_query_instance 
OBJC_PR_query_class 

Definition at line 718 of file DeclObjC.h.

◆ ObjCStringFormatFamily

Enumerator
SFF_None 
SFF_NSString 
SFF_CFString 

Definition at line 837 of file IdentifierTable.h.

◆ ObjCSubstitutionContext

The kind of type we are substituting Objective-C type arguments into.

The kind of substitution affects the replacement of type parameters when no concrete type information is provided, e.g., when dealing with an unspecialized type.

Enumerator
Ordinary 

An ordinary type.

Result 

The result type of a method or function.

Parameter 

The parameter type of a method or function.

Property 

The type of a property.

Superclass 

The superclass of a type.

Definition at line 903 of file Type.h.

◆ ObjCTypeParamVariance

enum clang::ObjCTypeParamVariance : uint8_t
strong

Describes the variance of a given generic parameter.

Enumerator
Invariant 

The parameter is invariant: must match exactly.

Covariant 

The parameter is covariant, e.g., X<T> is a subtype of X when the type parameter is covariant and T is a subtype of U.

Contravariant 

The parameter is contravariant, e.g., X<T> is a subtype of X when the type parameter is covariant and U is a subtype of T.

Definition at line 553 of file DeclObjC.h.

◆ ObjCXXARCStandardLibraryKind

Enumerate the kinds of standard library that.

Enumerator
ARCXX_nolib 
ARCXX_libcxx 

libc++

ARCXX_libstdcxx 

libstdc++

Definition at line 36 of file PreprocessorOptions.h.

◆ OMPDeclareReductionInitKind

Enumerator
Call 
Direct 
Copy 

Definition at line 161 of file DeclOpenMP.h.

◆ OpenACCAtomicKind

Enumerator
Read 
Write 
Update 
Capture 
Invalid 

Definition at line 155 of file OpenACCKinds.h.

◆ OpenACCClauseKind

Represents the kind of an OpenACC clause.

Enumerator
Finalize 

'finalize' clause, allowed on 'exit data' directive.

IfPresent 

'if_present' clause, allowed on 'host_data' and 'update' directives.

Seq 

'seq' clause, allowed on 'loop' and 'routine' directives.

Independent 

'independent' clause, allowed on 'loop' directives.

Auto 

'auto' clause, allowed on 'loop' directives.

Worker 

'worker' clause, allowed on 'loop', Combined, and 'routine' directives.

Vector 

'vector' clause, allowed on 'loop', Combined, and 'routine' directives.

NoHost 

'nohost' clause, allowed on 'routine' directives.

Default 

'default' clause, allowed on parallel, serial, kernel (and compound) constructs.

If 

'if' clause, allowed on all the Compute Constructs, Data Constructs, Executable Constructs, and Combined Constructs.

Self 

'self' clause, allowed on Compute and Combined Constructs, plus 'update'.

Copy 

'copy' clause, allowed on Compute and Combined Constructs, plus 'data' and 'declare'.

PCopy 

'copy' clause alias 'pcopy'. Preserved for diagnostic purposes.

PresentOrCopy 

'copy' clause alias 'present_or_copy'. Preserved for diagnostic purposes.

UseDevice 

'use_device' clause, allowed on 'host_data' construct.

Attach 

'attach' clause, allowed on Compute and Combined constructs, plus 'data' and 'enter data'.

Delete 

'delete' clause, allowed on the 'exit data' construct.

Detach 

'detach' clause, allowed on the 'exit data' construct.

Device 

'device' clause, allowed on the 'update' construct.

DevicePtr 

'deviceptr' clause, allowed on Compute and Combined Constructs, plus 'data' and 'declare'.

DeviceResident 

'device_resident' clause, allowed on the 'declare' construct.

FirstPrivate 

'firstprivate' clause, allowed on 'parallel', 'serial', 'parallel loop', and 'serial loop' constructs.

Host 

'host' clause, allowed on 'update' construct.

Link 

'link' clause, allowed on 'declare' construct.

NoCreate 

'no_create' clause, allowed on allowed on Compute and Combined constructs, plus 'data'.

Present 

'present' clause, allowed on Compute and Combined constructs, plus 'data' and 'declare'.

Private 

'private' clause, allowed on 'parallel', 'serial', 'loop', 'parallel loop', and 'serial loop' constructs.

CopyOut 

'copyout' clause, allowed on Compute and Combined constructs, plus 'data', 'exit data', and 'declare'.

PCopyOut 

'copyout' clause alias 'pcopyout'. Preserved for diagnostic purposes.

PresentOrCopyOut 

'copyout' clause alias 'present_or_copyout'.

Preserved for diagnostic purposes.

CopyIn 

'copyin' clause, allowed on Compute and Combined constructs, plus 'data', 'enter data', and 'declare'.

PCopyIn 

'copyin' clause alias 'pcopyin'. Preserved for diagnostic purposes.

PresentOrCopyIn 

'copyin' clause alias 'present_or_copyin'.

Preserved for diagnostic purposes.

Create 

'create' clause, allowed on Compute and Combined constructs, plus 'data', 'enter data', and 'declare'.

PCreate 

'create' clause alias 'pcreate'. Preserved for diagnostic purposes.

PresentOrCreate 

'create' clause alias 'present_or_create'.

Preserved for diagnostic purposes.

Reduction 

'reduction' clause, allowed on Parallel, Serial, Loop, and the combined constructs.

Collapse 

'collapse' clause, allowed on 'loop' and Combined constructs.

Bind 

'bind' clause, allowed on routine constructs.

VectorLength 

'vector_length' clause, allowed on 'parallel', 'kernels', 'parallel loop', and 'kernels loop' constructs.

NumGangs 

'num_gangs' clause, allowed on 'parallel', 'kernels', parallel loop', and 'kernels loop' constructs.

NumWorkers 

'num_workers' clause, allowed on 'parallel', 'kernels', parallel loop', and 'kernels loop' constructs.

DeviceNum 

'device_num' clause, allowed on 'init', 'shutdown', and 'set' constructs.

DefaultAsync 

'default_async' clause, allowed on 'set' construct.

DeviceType 

'device_type' clause, allowed on Compute, 'data', 'init', 'shutdown', 'set', update', 'loop', 'routine', and Combined constructs.

DType 

'dtype' clause, an alias for 'device_type', stored separately for diagnostic purposes.

Async 

'async' clause, allowed on Compute, Data, 'update', 'wait', and Combined constructs.

Tile 

'tile' clause, allowed on 'loop' and Combined constructs.

Gang 

'gang' clause, allowed on 'loop' and Combined constructs.

Wait 

'wait' clause, allowed on Compute, Data, 'update', and Combined constructs.

Invalid 

Represents an invalid clause, for the purposes of parsing.

Definition at line 164 of file OpenACCKinds.h.

◆ OpenACCDefaultClauseKind

Enumerator
None 

'none' option.

Present 

'present' option.

Invalid 

Not a valid option.

Definition at line 462 of file OpenACCKinds.h.

◆ OpenACCDirectiveKind

Enumerator
Parallel 
Serial 
Kernels 
Data 
EnterData 
ExitData 
HostData 
Loop 
Cache 
ParallelLoop 
SerialLoop 
KernelsLoop 
Atomic 
Declare 
Init 
Shutdown 
Set 
Update 
Wait 
Routine 
Invalid 

Definition at line 25 of file OpenACCKinds.h.

◆ OpenACCReductionOperator

Enumerator
Addition 

'+'.

Multiplication 

'*'.

Max 

'max'.

Min 

'min'.

BitwiseAnd 

'&'.

BitwiseOr 

'|'.

BitwiseXOr 

'^'.

And 

'&&'.

Or 

'||'.

Invalid 

Invalid Reduction Clause Kind.

Definition at line 495 of file OpenACCKinds.h.

◆ OpenCLTypeKind

enum clang::OpenCLTypeKind : uint8_t

OpenCL type kinds.

Enumerator
OCLTK_Default 
OCLTK_ClkEvent 
OCLTK_Event 
OCLTK_Image 
OCLTK_Pipe 
OCLTK_Queue 
OCLTK_ReserveID 
OCLTK_Sampler 

Definition at line 204 of file TargetInfo.h.

◆ OpenMPAdjustArgsOpKind

OpenMP adjust-op kinds for 'adjust_args' clause.

Enumerator
OMPC_ADJUST_ARGS_unknown 

Definition at line 193 of file OpenMPKinds.h.

◆ OpenMPAtClauseKind

OpenMP attributes for 'at' clause.

Enumerator
OMPC_AT_unknown 

Definition at line 135 of file OpenMPKinds.h.

◆ OpenMPAtomicDefaultMemOrderClauseKind

OpenMP attributes for 'atomic_default_mem_order' clause.

Enumerator
OMPC_ATOMIC_DEFAULT_MEM_ORDER_unknown 

Definition at line 127 of file OpenMPKinds.h.

◆ OpenMPBindClauseKind

OpenMP bindings for the 'bind' clause.

Enumerator
OMPC_BIND_unknown 

Definition at line 200 of file OpenMPKinds.h.

◆ OpenMPDefaultmapClauseKind

OpenMP attributes for 'defaultmap' clause.

Enumerator
OMPC_DEFAULTMAP_unknown 

Definition at line 110 of file OpenMPKinds.h.

◆ OpenMPDefaultmapClauseModifier

OpenMP modifiers for 'defaultmap' clause.

Enumerator
OMPC_DEFAULTMAP_MODIFIER_unknown 
OMPC_DEFAULTMAP_MODIFIER_last 

Definition at line 118 of file OpenMPKinds.h.

◆ OpenMPDependClauseKind

OpenMP attributes for 'depend' clause.

Enumerator
OMPC_DEPEND_unknown 

Definition at line 54 of file OpenMPKinds.h.

◆ OpenMPDeviceClauseModifier

OpenMP modifiers for 'device' clause.

Enumerator
OMPC_DEVICE_unknown 

Definition at line 47 of file OpenMPKinds.h.

◆ OpenMPDeviceType

OpenMP device type for 'device_type' clause.

Enumerator
OMPC_DEVICE_TYPE_unknown 

Definition at line 149 of file OpenMPKinds.h.

◆ OpenMPDistScheduleClauseKind

OpenMP attributes for 'dist_schedule' clause.

Enumerator
OMPC_DIST_SCHEDULE_unknown 

Definition at line 103 of file OpenMPKinds.h.

◆ OpenMPDoacrossClauseModifier

OpenMP dependence types for 'doacross' clause.

Enumerator
OMPC_DOACROSS_unknown 

Definition at line 219 of file OpenMPKinds.h.

◆ OpenMPGrainsizeClauseModifier

Enumerator
OMPC_GRAINSIZE_unknown 

Definition at line 206 of file OpenMPKinds.h.

◆ OpenMPLastprivateModifier

OpenMP 'lastprivate' clause modifier.

Enumerator
OMPC_LASTPRIVATE_unknown 

Definition at line 157 of file OpenMPKinds.h.

◆ OpenMPLinearClauseKind

OpenMP attributes for 'linear' clause.

Enumerator
OMPC_LINEAR_unknown 

Definition at line 62 of file OpenMPKinds.h.

◆ OpenMPMapClauseKind

OpenMP mapping kind for 'map' clause.

Enumerator
OMPC_MAP_unknown 

Definition at line 70 of file OpenMPKinds.h.

◆ OpenMPMapModifierKind

OpenMP modifier kind for 'map' clause.

Enumerator
OMPC_MAP_MODIFIER_unknown 
OMPC_MAP_MODIFIER_last 

Definition at line 78 of file OpenMPKinds.h.

◆ OpenMPMotionModifierKind

OpenMP modifier kind for 'to' or 'from' clause.

Enumerator
OMPC_MOTION_MODIFIER_unknown 

Definition at line 91 of file OpenMPKinds.h.

◆ OpenMPNumTasksClauseModifier

Enumerator
OMPC_NUMTASKS_unknown 

Definition at line 212 of file OpenMPKinds.h.

◆ OpenMPOrderClauseKind

OpenMP attributes for 'order' clause.

Enumerator
OMPC_ORDER_unknown 

Definition at line 164 of file OpenMPKinds.h.

◆ OpenMPOrderClauseModifier

OpenMP modifiers for 'order' clause.

Enumerator
OMPC_ORDER_MODIFIER_unknown 
OMPC_ORDER_MODIFIER_last 

Definition at line 171 of file OpenMPKinds.h.

◆ OpenMPReductionClauseModifier

OpenMP modifiers for 'reduction' clause.

Enumerator
OMPC_REDUCTION_unknown 

Definition at line 186 of file OpenMPKinds.h.

◆ OpenMPScheduleClauseKind

OpenMP attributes for 'schedule' clause.

Enumerator
OMPC_SCHEDULE_unknown 

Definition at line 30 of file OpenMPKinds.h.

◆ OpenMPScheduleClauseModifier

OpenMP modifiers for 'schedule' clause.

Enumerator
OMPC_SCHEDULE_MODIFIER_unknown 
OMPC_SCHEDULE_MODIFIER_last 

Definition at line 38 of file OpenMPKinds.h.

◆ OpenMPSeverityClauseKind

OpenMP attributes for 'severity' clause.

Enumerator
OMPC_SEVERITY_unknown 

Definition at line 142 of file OpenMPKinds.h.

◆ OverloadCandidateDisplayKind

Enumerator
OCD_AllCandidates 

Requests that all candidates be shown.

Viable candidates will be printed first.

OCD_ViableCandidates 

Requests that only viable candidates be shown.

OCD_AmbiguousCandidates 

Requests that only tied-for-best candidates be shown.

Definition at line 64 of file Overload.h.

◆ OverloadCandidateParamOrder

The parameter ordering that will be used for the candidate.

This is used to represent C++20 binary operator rewrites that reverse the order of the arguments. If the parameter ordering is Reversed, the Args list is reversed (but obviously the ParamDecls for the function are not).

After forming an OverloadCandidate with reversed parameters, the list of conversions will (as always) be indexed by argument, so will be in reverse parameter order.

Enumerator
Normal 
Reversed 

Definition at line 84 of file Overload.h.

◆ OverloadCandidateRewriteKind

The kinds of rewrite we perform on overload candidates.

Note that the values here are chosen to serve as both bitflags and as a rank (lower values are preferred by overload resolution).

Enumerator
CRK_None 

Candidate is not a rewritten candidate.

CRK_DifferentOperator 

Candidate is a rewritten candidate with a different operator name.

CRK_Reversed 

Candidate is a rewritten candidate with a reversed order of parameters.

Definition at line 89 of file Overload.h.

◆ OverloadedOperatorKind

Enumeration specifying the different kinds of C++ overloaded operators.

Enumerator
OO_None 

Not an overloaded operator.

NUM_OVERLOADED_OPERATORS 

Definition at line 21 of file OperatorKinds.h.

◆ OverloadFailureKind

Enumerator
ovl_fail_too_many_arguments 
ovl_fail_too_few_arguments 
ovl_fail_bad_conversion 
ovl_fail_bad_deduction 
ovl_fail_trivial_conversion 

This conversion candidate was not considered because it duplicates the work of a trivial or derived-to-base conversion.

ovl_fail_illegal_constructor 

This conversion candidate was not considered because it is an illegal instantiation of a constructor temploid: it is callable with one argument, we only have one argument, and its first parameter type is exactly the type of the class.

Defining such a constructor directly is illegal, and template-argument deduction is supposed to ignore such instantiations, but we can still get one with the right kind of implicit instantiation.

ovl_fail_bad_final_conversion 

This conversion candidate is not viable because its result type is not implicitly convertible to the desired type.

ovl_fail_final_conversion_not_exact 

This conversion function template specialization candidate is not viable because the final conversion was not an exact match.

ovl_fail_bad_target 

(CUDA) This candidate was not viable because the callee was not accessible from the caller's target (i.e.

host->device, global->host, device->host).

ovl_fail_enable_if 

This candidate function was not viable because an enable_if attribute disabled it.

ovl_fail_explicit 

This candidate constructor or conversion function is explicit but the context doesn't permit explicit functions.

ovl_fail_addr_not_available 

This candidate was not viable because its address could not be taken.

ovl_fail_inhctor_slice 

This inherited constructor is not viable because it would slice the argument.

ovl_non_default_multiversion_function 

This candidate was not viable because it is a non-default multiversioned function.

ovl_fail_object_addrspace_mismatch 

This constructor/conversion candidate fail due to an address space mismatch between the object being constructed and the overload candidate.

ovl_fail_constraints_not_satisfied 

This candidate was not viable because its associated constraints were not satisfied.

ovl_fail_module_mismatched 

This candidate was not viable because it has internal linkage and is from a different module unit than the use.

Definition at line 774 of file Overload.h.

◆ OverloadFixItKind

Enumerator
OFIK_Undefined 
OFIK_Dereference 
OFIK_TakeAddress 
OFIK_RemoveDereference 
OFIK_RemoveTakeAddress 

Definition at line 19 of file SemaFixItUtils.h.

◆ OverloadingResult

OverloadingResult - Capture the result of performing overload resolution.

Enumerator
OR_Success 

Overload resolution succeeded.

OR_No_Viable_Function 

No viable function found.

OR_Ambiguous 

Ambiguous candidates found.

OR_Deleted 

Succeeded, but refers to a deleted function.

Definition at line 50 of file Overload.h.

◆ OverloadsShown

Specifies which overload candidates to display when overload resolution fails.

Enumerator
Ovl_All 

Show all overloads.

Ovl_Best 

Show just the "best" overload candidates.

Definition at line 29 of file DiagnosticOptions.h.

◆ ParameterABI

enum clang::ParameterABI
strong

Kinds of parameter ABI.

Enumerator
Ordinary 

This parameter uses ordinary ABI rules for its type.

SwiftIndirectResult 

This parameter (which must have pointer type) is a Swift indirect result parameter.

SwiftErrorResult 

This parameter (which must have pointer-to-pointer type) uses the special Swift error-result ABI treatment.

There can be at most one parameter on a given function that uses this treatment.

SwiftContext 

This parameter (which must have pointer type) uses the special Swift context-pointer ABI treatment.

There can be at most one parameter on a given function that uses this treatment.

SwiftAsyncContext 

This parameter (which must have pointer type) uses the special Swift asynchronous context-pointer ABI treatment.

There can be at most one parameter on a given function that uses this treatment.

Definition at line 363 of file Specifiers.h.

◆ PointerAuthenticationMode

Enumerator
None 
Strip 
SignAndStrip 
SignAndAuth 

Definition at line 60 of file LangOptions.h.

◆ PragmaFloatControlKind

Enumerator
PFC_Unknown 
PFC_Precise 
PFC_NoPrecise 
PFC_Except 
PFC_NoExcept 
PFC_Push 
PFC_Pop 

Definition at line 28 of file PragmaKinds.h.

◆ PragmaFPKind

Enumerator
PFK_Contract 
PFK_Reassociate 
PFK_Reciprocal 
PFK_Exceptions 
PFK_EvalMethod 

Definition at line 38 of file PragmaKinds.h.

◆ PragmaIntroducerKind

Describes how the pragma was introduced, e.g., with #pragma, _Pragma, or __pragma.

Enumerator
PIK_HashPragma 

The pragma was introduced via #pragma.

PIK__Pragma 

The pragma was introduced via the C99 _Pragma(string-literal).

PIK___pragma 

The pragma was introduced via the Microsoft __pragma(token-string).

Definition at line 32 of file Pragma.h.

◆ PragmaMSCommentKind

Enumerator
PCK_Unknown 
PCK_Linker 
PCK_Lib 
PCK_Compiler 
PCK_ExeStr 
PCK_User 

Definition at line 14 of file PragmaKinds.h.

◆ PragmaMSStructKind

Enumerator
PMSST_OFF 
PMSST_ON 

Definition at line 23 of file PragmaKinds.h.

◆ PredefinedDeclIDs

Predefined declaration IDs.

These declaration IDs correspond to predefined declarations in the AST context, such as the NULL declaration ID. Such declarations are never actually serialized, since they will be built by the AST context when it is created.

Enumerator
PREDEF_DECL_NULL_ID 

The NULL declaration.

PREDEF_DECL_TRANSLATION_UNIT_ID 

The translation unit.

PREDEF_DECL_OBJC_ID_ID 

The Objective-C 'id' type.

PREDEF_DECL_OBJC_SEL_ID 

The Objective-C 'SEL' type.

PREDEF_DECL_OBJC_CLASS_ID 

The Objective-C 'Class' type.

PREDEF_DECL_OBJC_PROTOCOL_ID 

The Objective-C 'Protocol' type.

PREDEF_DECL_INT_128_ID 

The signed 128-bit integer type.

PREDEF_DECL_UNSIGNED_INT_128_ID 

The unsigned 128-bit integer type.

PREDEF_DECL_OBJC_INSTANCETYPE_ID 

The internal 'instancetype' typedef.

PREDEF_DECL_BUILTIN_VA_LIST_ID 

The internal '__builtin_va_list' typedef.

PREDEF_DECL_VA_LIST_TAG 

The internal '__va_list_tag' struct, if any.

PREDEF_DECL_BUILTIN_MS_VA_LIST_ID 

The internal '__builtin_ms_va_list' typedef.

PREDEF_DECL_BUILTIN_MS_GUID_ID 

The predeclared '_GUID' struct.

PREDEF_DECL_EXTERN_C_CONTEXT_ID 

The extern "C" context.

PREDEF_DECL_MAKE_INTEGER_SEQ_ID 

The internal '__make_integer_seq' template.

PREDEF_DECL_CF_CONSTANT_STRING_ID 

The internal '__NSConstantString' typedef.

PREDEF_DECL_CF_CONSTANT_STRING_TAG_ID 

The internal '__NSConstantString' tag type.

PREDEF_DECL_TYPE_PACK_ELEMENT_ID 

The internal '__type_pack_element' template.

Definition at line 30 of file DeclID.h.

◆ PredefinedIdentKind

Enumerator
Func 
Function 
LFunction 
FuncDName 
FuncSig 
LFuncSig 
PrettyFunction 
PrettyFunctionNoVirtual 

The same as PrettyFunction, except that the 'virtual' keyword is omitted for virtual member functions.

Definition at line 1970 of file Expr.h.

◆ RecordArgPassingKind

Enum that represents the different ways arguments are passed to and returned from function calls.

This takes into account the target-specific and version-specific rules along with the rules determined by the language.

Enumerator
CanPassInRegs 

The argument of this type can be passed directly in registers.

CannotPassInRegs 

The argument of this type cannot be passed directly in registers.

Records containing this type as a subobject are not forced to be passed indirectly. This value is used only in C++. This value is required by C++ because, in uncommon situations, it is possible for a class to have only trivial copy/move constructors even when one of its subobjects has a non-trivial copy/move constructor (if e.g. the corresponding copy/move constructor in the derived class is deleted).

CanNeverPassInRegs 

The argument of this type cannot be passed directly in registers.

Records containing this type as a subobject are forced to be passed indirectly.

Definition at line 4148 of file Decl.h.

◆ RefQualifierKind

The kind of C++11 ref-qualifier associated with a function type.

This determines whether a member function's "this" object can be an lvalue, rvalue, or neither.

Enumerator
RQ_None 

No ref-qualifier was provided.

RQ_LValue 

An lvalue ref-qualifier was provided (&).

RQ_RValue 

An rvalue ref-qualifier was provided (&&).

Definition at line 1760 of file Type.h.

◆ ReservedIdentifierStatus

Enumerator
NotReserved 
StartsWithUnderscoreAtGlobalScope 
StartsWithUnderscoreAndIsExternC 
StartsWithDoubleUnderscore 
StartsWithUnderscoreFollowedByCapitalLetter 
ContainsDoubleUnderscore 

Definition at line 48 of file IdentifierTable.h.

◆ ReservedLiteralSuffixIdStatus

Enumerator
NotReserved 
NotStartsWithUnderscore 
ContainsDoubleUnderscore 

Definition at line 57 of file IdentifierTable.h.

◆ SarifResultLevel

The level of severity associated with a SarifResult.

Of all the levels, None is the only one that is not associated with a failure.

A typical mapping for clang's DiagnosticKind to SarifResultLevel would look like:

  • None: clang::DiagnosticsEngine::Level::Remark, clang::DiagnosticsEngine::Level::Ignored
  • Note: clang::DiagnosticsEngine::Level::Note
  • Warning: clang::DiagnosticsEngine::Level::Warning
  • Error could be generated from one of:
    • clang::DiagnosticsEngine::Level::Warning with -Werror
    • clang::DiagnosticsEngine::Level::Error
    • clang::DiagnosticsEngine::Level::Fatal when clang::DiagnosticsEngine::ErrorsAsFatal is set.

Reference:

  1. level property
Enumerator
None 
Note 
Warning 
Error 

Definition at line 165 of file Sarif.h.

◆ SelectorLocationsKind

Whether all locations of the selector identifiers are in a "standard" position.

Enumerator
SelLoc_NonStandard 

Non-standard.

SelLoc_StandardNoSpace 

For nullary selectors, immediately before the end: "[foo release]" / "-(void)release;" Or immediately before the arguments: "[foo first:1 second:2]" / "-(id)first:(int)x second:(int)y;.

SelLoc_StandardWithSpace 

For nullary selectors, immediately before the end: "[foo release]" / "-(void)release;" Or with a space between the arguments: "[foo first: 1 second: 2]" / "-(id)first: (int)x second: (int)y;.

Definition at line 27 of file SelectorLocationsKind.h.

◆ ShaderStage

enum clang::ShaderStage
strong

Shader programs run in specific pipeline stages.

The order of these values matters, and must be kept in sync with the Triple Environment enum in llvm::Triple. The ordering is enforced in static_asserts in Triple.cpp and in clang/Basic/HLSLRuntime.h.

Enumerator
Pixel 
Vertex 
Geometry 
Hull 
Domain 
Compute 
Library 
RayGeneration 
Intersection 
AnyHit 
ClosestHit 
Miss 
Callable 
Mesh 
Amplification 
Invalid 

Definition at line 41 of file LangOptions.h.

◆ ShowIncludesDestination

ShowIncludesDestination - Destination for /showIncludes output.

Enumerator
None 
Stdout 
Stderr 

Definition at line 19 of file DependencyOutputOptions.h.

◆ SimplifiedTypeClass

A simplified classification of types used when determining "similar" types for code completion.

Enumerator
STC_Arithmetic 
STC_Array 
STC_Block 
STC_Function 
STC_ObjectiveC 
STC_Other 
STC_Pointer 
STC_Record 
STC_Void 

Definition at line 148 of file CodeCompleteConsumer.h.

◆ SkipFunctionBodiesScope

Enumerates the available scopes for skipping function bodies.

Enumerator
None 
Preamble 
PreambleAndMainFile 

Definition at line 83 of file ASTUnit.h.

◆ SourceLocIdentKind

Enumerator
Function 
FuncSig 
File 
FileName 
Line 
Column 
SourceLocStruct 

Definition at line 4766 of file Expr.h.

◆ StorageClass

Storage classes.

Enumerator
SC_None 
SC_Extern 
SC_Static 
SC_PrivateExtern 
SC_Auto 
SC_Register 

Definition at line 245 of file Specifiers.h.

◆ StorageDuration

The storage duration for an object (per C++ [basic.stc]).

Enumerator
SD_FullExpression 

Full-expression storage duration (for temporaries).

SD_Automatic 

Automatic storage duration (most local variables).

SD_Thread 

Thread storage duration.

SD_Static 

Static storage duration.

SD_Dynamic 

Dynamic storage duration.

Definition at line 324 of file Specifiers.h.

◆ StringLiteralEvalMethod

Enumerator
Evaluated 
Unevaluated 

Definition at line 223 of file LiteralSupport.h.

◆ StringLiteralKind

Enumerator
Ordinary 
Wide 
UTF8 
UTF16 
UTF32 
Unevaluated 

Definition at line 1744 of file Expr.h.

◆ StructuralEquivalenceKind

Whether to perform a normal or minimal equivalence check.

In case of Minimal, we do not perform a recursive check of decls with external storage.

Enumerator
Default 
Minimal 

Definition at line 36 of file ASTStructuralEquivalence.h.

◆ SyncScope

enum clang::SyncScope
strong

Defines synch scope values used internally by clang.

The enum values start from 0 and are contiguous. They are mainly used for enumerating all supported synch scope values and mapping them to LLVM synch scopes. Their numerical values may be different from the corresponding synch scope enums used in source languages.

In atomic builtin and expressions, language-specific synch scope enums are used. Currently only OpenCL memory scope enums are supported and assumed to be used by all languages. However, in the future, other languages may define their own set of synch scope enums. The language-specific synch scope values are represented by class AtomicScopeModel and its derived classes.

To add a new enum value: Add the enum value to enum class SyncScope. Update enum value Last if necessary. Update getAsString.

Enumerator
SystemScope 
DeviceScope 
WorkgroupScope 
WavefrontScope 
SingleScope 
HIPSingleThread 
HIPWavefront 
HIPWorkgroup 
HIPAgent 
HIPSystem 
OpenCLWorkGroup 
OpenCLDevice 
OpenCLAllSVMDevices 
OpenCLSubGroup 
Last 

Definition at line 42 of file SyncScope.h.

◆ TagTypeKind

enum clang::TagTypeKind
strong

The kind of a tag type.

Enumerator
Struct 

The "struct" keyword.

Interface 

The "__interface" keyword.

Union 

The "union" keyword.

Class 

The "class" keyword.

Enum 

The "enum" keyword.

Definition at line 6310 of file Type.h.

◆ TagUseKind

enum clang::TagUseKind
strong
Enumerator
Reference 
Declaration 
Definition 
Friend 

Definition at line 453 of file Sema.h.

◆ TemplateDeductionFlags

Various flags that control template argument deduction.

These flags can be bitwise-OR'd together.

Enumerator
TDF_None 

No template argument deduction flags, which indicates the strictest results for template argument deduction (as used for, e.g., matching class template partial specializations).

TDF_ParamWithReferenceType 

Within template argument deduction from a function call, we are matching with a parameter type for which the original parameter was a reference.

TDF_IgnoreQualifiers 

Within template argument deduction from a function call, we are matching in a case where we ignore cv-qualifiers.

TDF_DerivedClass 

Within template argument deduction from a function call, we are matching in a case where we can perform template argument deduction from a template-id of a derived class of the argument type.

TDF_SkipNonDependent 

Allow non-dependent types to differ, e.g., when performing template argument deduction from a function call where conversions may apply.

TDF_TopLevelParameterTypeList 

Whether we are performing template argument deduction for parameters and arguments in a top-level template argument.

TDF_AllowCompatibleFunctionType 

Within template argument deduction from overload resolution per C++ [over.over] allow matching function types that are compatible in terms of noreturn and default calling convention adjustments, or similarly matching a declared template specialization against a possible template, per C++ [temp.deduct.decl].

In either case, permit deduction where the parameter is a function type that can be converted to the argument type.

TDF_ArgWithReferenceType 

Within template argument deduction for a conversion function, we are matching with an argument type for which the original argument was a reference.

Definition at line 67 of file SemaTemplateDeduction.cpp.

◆ TemplateDeductionResult

Describes the result of template argument deduction.

The TemplateDeductionResult enumeration describes the result of template argument deduction, as returned from DeduceTemplateArguments(). The separate TemplateDeductionInfo structure provides additional information about the results of template argument deduction, e.g., the deduced template argument list (if successful) or the specific template parameters or deduced arguments that were involved in the failure.

Enumerator
Success 

Template argument deduction was successful.

Invalid 

The declaration was invalid; do nothing.

InstantiationDepth 

Template argument deduction exceeded the maximum template instantiation depth (which has already been diagnosed).

Incomplete 

Template argument deduction did not deduce a value for every template parameter.

IncompletePack 

Template argument deduction did not deduce a value for every expansion of an expanded template parameter pack.

Inconsistent 

Template argument deduction produced inconsistent deduced values for the given template parameter.

Underqualified 

Template argument deduction failed due to inconsistent cv-qualifiers on a template parameter type that would otherwise be deduced, e.g., we tried to deduce T in "const T" but were given a non-const "X".

SubstitutionFailure 

Substitution of the deduced template argument values resulted in an error.

DeducedMismatch 

After substituting deduced template arguments, a dependent parameter type did not match the corresponding argument.

DeducedMismatchNested 

After substituting deduced template arguments, an element of a dependent parameter type did not match the corresponding element of the corresponding argument (when deducing from an initializer list).

NonDeducedMismatch 

A non-depnedent component of the parameter did not match the corresponding component of the argument.

TooManyArguments 

When performing template argument deduction for a function template, there were too many call arguments.

TooFewArguments 

When performing template argument deduction for a function template, there were too few call arguments.

InvalidExplicitArguments 

The explicitly-specified template arguments were not valid template arguments for the given template.

NonDependentConversionFailure 

Checking non-dependent argument conversions failed.

ConstraintsNotSatisfied 

The deduced arguments did not satisfy the constraints associated with the template.

MiscellaneousDeductionFailure 

Deduction failed; that's all we know.

CUDATargetMismatch 

CUDA Target attributes do not match.

AlreadyDiagnosed 

Some error which was already diagnosed.

Definition at line 371 of file Sema.h.

◆ TemplateNameKind

Specifies the kind of template name that an identifier refers to.

Be careful when changing this: this enumeration is used in diagnostics.

Enumerator
TNK_Non_template 

The name does not refer to a template.

TNK_Function_template 

The name refers to a function template or a set of overloaded functions that includes at least one function template, or (in C++20) refers to a set of non-template functions but is followed by a '<'.

TNK_Type_template 

The name refers to a template whose specialization produces a type.

The template itself could be a class template, template template parameter, or template alias.

TNK_Var_template 

The name refers to a variable template whose specialization produces a variable.

TNK_Dependent_template_name 

The name refers to a dependent template name:

template<typename MetaFun, typename T1, typename T2> struct apply2 {
typedef typename MetaFun::template apply<T1, T2>::type type;
};
const internal::VariadicAllOfMatcher< Type > type
Matches Types in the clang AST.

Here, "apply" is a dependent template name within the typename specifier in the typedef. "apply" is a nested template, and whether the template name is assumed to refer to a type template or a function template depends on the context in which the template name occurs.

TNK_Undeclared_template 

Lookup for the name failed, but we're assuming it was a template name anyway.

In C++20, this is mandatory in order to parse ADL-only function template specialization calls.

TNK_Concept_template 

The name refers to a concept.

Definition at line 20 of file TemplateKinds.h.

◆ TemplateSpecializationKind

Describes the kind of template specialization that a particular template specialization declaration represents.

Enumerator
TSK_Undeclared 

This template specialization was formed from a template-id but has not yet been declared, defined, or instantiated.

TSK_ImplicitInstantiation 

This template specialization was implicitly instantiated from a template.

(C++ [temp.inst]).

TSK_ExplicitSpecialization 

This template specialization was declared or defined by an explicit specialization (C++ [temp.expl.spec]) or partial specialization (C++ [temp.class.spec]).

TSK_ExplicitInstantiationDeclaration 

This template specialization was instantiated from a template due to an explicit instantiation declaration request (C++11 [temp.explicit]).

TSK_ExplicitInstantiationDefinition 

This template specialization was instantiated from a template due to an explicit instantiation definition request (C++ [temp.explicit]).

Definition at line 185 of file Specifiers.h.

◆ TemplateSubstitutionKind

enum clang::TemplateSubstitutionKind : char
strong

The kind of template substitution being performed.

Enumerator
Specialization 

We are substituting template parameters for template arguments in order to form a template specialization.

Rewrite 

We are substituting template parameters for (typically) other template parameters in order to rewrite a declaration as a different declaration (for example, when forming a deduction guide from a constructor).

Definition at line 47 of file Template.h.

◆ TestLanguage

Enumerator
Lang_C89 
Lang_C99 
Lang_CXX03 
Lang_CXX11 
Lang_CXX14 
Lang_CXX17 
Lang_CXX20 
Lang_CXX23 
Lang_OpenCL 
Lang_OBJC 
Lang_OBJCXX 

Definition at line 23 of file CommandLineArgs.h.

◆ ThreadFlowImportance

Enumerator
Important 
Essential 
Unimportant 

Definition at line 146 of file Sarif.h.

◆ ThreadStorageClassSpecifier

Thread storage-class-specifier.

Enumerator
TSCS_unspecified 
TSCS___thread 

GNU __thread.

TSCS_thread_local 

C++11 thread_local.

Implies 'static' at block scope, but not at class scope.

TSCS__Thread_local 

C11 _Thread_local.

Must be combined with either 'static' or 'extern' if used at block scope.

Definition at line 232 of file Specifiers.h.

◆ TPOC

The context in which partial ordering of function templates occurs.

Enumerator
TPOC_Call 

Partial ordering of function templates for a function call.

TPOC_Conversion 

Partial ordering of function templates for a call to a conversion function.

TPOC_Other 

Partial ordering of function templates in other contexts, e.g., taking the address of a function template or matching a function template specialization to a function template.

Definition at line 298 of file Template.h.

◆ TranslationUnitKind

Describes the kind of translation unit being processed.

Enumerator
TU_Complete 

The translation unit is a complete translation unit.

TU_Prefix 

The translation unit is a prefix to a translation unit, and is not complete.

TU_ClangModule 

The translation unit is a clang module.

TU_Incremental 

The translation unit is a is a complete translation unit that we might incrementally extend later.

Definition at line 1074 of file LangOptions.h.

◆ TraversalKind

Defines how we descend a level in the AST when we pass through expressions.

Enumerator
TK_AsIs 

Will traverse all child nodes.

TK_IgnoreUnlessSpelledInSource 

Ignore AST nodes not written in the source.

Definition at line 38 of file ASTTypeTraits.h.

◆ TypeOfKind

enum clang::TypeOfKind : uint8_t
strong

The kind of 'typeof' expression we're after.

Enumerator
Qualified 
Unqualified 

Definition at line 921 of file Type.h.

◆ TypeSpecifierSign

Specifies the signedness of a type, e.g., signed or unsigned.

Enumerator
Unspecified 
Signed 
Unsigned 

Definition at line 50 of file Specifiers.h.

◆ TypeSpecifiersPipe

Enumerator
Unspecified 
Pipe 

Definition at line 52 of file Specifiers.h.

◆ TypeSpecifierType

Specifies the kind of type.

Enumerator
TST_unspecified 
TST_void 
TST_char 
TST_wchar 
TST_char8 
TST_char16 
TST_char32 
TST_int 
TST_int128 
TST_bitint 
TST_half 
TST_Float16 
TST_Accum 
TST_Fract 
TST_BFloat16 
TST_float 
TST_double 
TST_float128 
TST_ibm128 
TST_bool 
TST_decimal32 
TST_decimal64 
TST_decimal128 
TST_enum 
TST_union 
TST_struct 
TST_class 
TST_interface 
TST_typename 
TST_typeofType 
TST_typeofExpr 
TST_typeof_unqualType 
TST_typeof_unqualExpr 
TST_decltype 
TST_auto 
TST_decltype_auto 
TST_auto_type 
TST_unknown_anytype 
TST_atomic 
TST_typename_pack_indexing 
TST_error 

Definition at line 55 of file Specifiers.h.

◆ TypeSpecifierWidth

Specifies the width of a type, e.g., short, long, or long long.

Enumerator
Unspecified 
Short 
Long 
LongLong 

Definition at line 47 of file Specifiers.h.

◆ TypeTrait

Names for traits that operate specifically on types.

Enumerator
UTT_Last 
BTT_Last 
TT_Last 

Definition at line 21 of file TypeTraits.h.

◆ UnaryExprOrTypeTrait

Names for the "expression or type" traits.

Enumerator
UETT_Last 

Definition at line 51 of file TypeTraits.h.

◆ UnaryOperatorKind

Definition at line 30 of file OperationKinds.h.

◆ UnqualifiedIdKind

Describes the kind of unqualified-id parsed.

Enumerator
IK_Identifier 

An identifier.

IK_OperatorFunctionId 

An overloaded operator name, e.g., operator+.

IK_ConversionFunctionId 

A conversion function name, e.g., operator int.

IK_LiteralOperatorId 

A user-defined literal name, e.g., operator "" _i.

IK_ConstructorName 

A constructor name.

IK_ConstructorTemplateId 

A constructor named via a template-id.

IK_DestructorName 

A destructor name.

IK_TemplateId 

A template-id, e.g., f<int>.

IK_ImplicitSelfParam 

An implicit 'self' parameter.

IK_DeductionGuideName 

A deduction-guide name (a template-name)

Definition at line 1001 of file DeclSpec.h.

◆ UserModeKind

Describes the kinds for high-level analyzer mode.

Enumerator
UMK_Shallow 

Perform shallow but fast analyzes.

UMK_Deep 

Perform deep analyzes.

Definition at line 117 of file AnalyzerOptions.h.

◆ VectorKind

enum clang::VectorKind
strong
Enumerator
Generic 

not a target-specific vector type

AltiVecVector 

is AltiVec vector

AltiVecPixel 

is AltiVec 'vector Pixel'

AltiVecBool 

is AltiVec 'vector bool ...'

Neon 

is ARM Neon vector

NeonPoly 

is ARM Neon polynomial vector

SveFixedLengthData 

is AArch64 SVE fixed-length data vector

SveFixedLengthPredicate 

is AArch64 SVE fixed-length predicate vector

RVVFixedLengthData 

is RISC-V RVV fixed-length data vector

RVVFixedLengthMask 

is RISC-V RVV fixed-length mask vector

Definition at line 3943 of file Type.h.

◆ Visibility

Describes the different kinds of visibility that a declaration may have.

Visibility determines how a declaration interacts with the dynamic linker. It may also affect whether the symbol can be found by runtime symbol lookup APIs.

Visibility is not described in any language standard and (nonetheless) sometimes has odd behavior. Not all platforms support all visibility kinds.

Enumerator
HiddenVisibility 

Objects with "hidden" visibility are not seen by the dynamic linker.

ProtectedVisibility 

Objects with "protected" visibility are seen by the dynamic linker but always dynamically resolve to an object within this shared object.

DefaultVisibility 

Objects with "default" visibility are seen by the dynamic linker and act like normal objects.

Definition at line 34 of file Visibility.h.

Function Documentation

◆ addHash() [1/2]

template<typename HasherT , llvm::endianness Endianness>
void clang::addHash ( llvm::HashBuilder< HasherT, Endianness > &  HBuilder,
const HeaderSearchOptions::Entry E 
)
inline

◆ addHash() [2/2]

template<typename HasherT , llvm::endianness Endianness>
void clang::addHash ( llvm::HashBuilder< HasherT, Endianness > &  HBuilder,
const HeaderSearchOptions::SystemHeaderPrefix SHP 
)
inline

◆ alignedAllocMinVersion()

llvm::VersionTuple clang::alignedAllocMinVersion ( llvm::Triple::OSType  OS)
inline

◆ allocateDefaultArgStorageChain()

void * clang::allocateDefaultArgStorageChain ( const ASTContext C)

◆ ApplyHeaderSearchOptions()

void clang::ApplyHeaderSearchOptions ( HeaderSearch HS,
const HeaderSearchOptions HSOpts,
const LangOptions Lang,
const llvm::Triple &  triple 
)

◆ applyObjCTypeArgs()

static QualType clang::applyObjCTypeArgs ( Sema S,
SourceLocation  loc,
QualType  type,
ArrayRef< TypeSourceInfo * >  typeArgs,
SourceRange  typeArgsRange,
bool  failOnError,
bool  rebuilding 
)
static

Apply Objective-C type arguments to the given type.

Definition at line 505 of file SemaObjC.cpp.

◆ AsanDetectStackUseAfterReturnModeFromString()

llvm::AsanDetectStackUseAfterReturnMode clang::AsanDetectStackUseAfterReturnModeFromString ( StringRef  modeStr)

Definition at line 107 of file Sanitizers.cpp.

◆ AsanDetectStackUseAfterReturnModeToString()

StringRef clang::AsanDetectStackUseAfterReturnModeToString ( llvm::AsanDetectStackUseAfterReturnMode  mode)

Definition at line 91 of file Sanitizers.cpp.

Referenced by clang::driver::SanitizerArgs::addArgs().

◆ AsanDtorKindFromString()

llvm::AsanDtorKind clang::AsanDtorKindFromString ( StringRef  kind)

Definition at line 84 of file Sanitizers.cpp.

References clang::XRayInstrKind::None.

◆ AsanDtorKindToString()

StringRef clang::AsanDtorKindToString ( llvm::AsanDtorKind  kind)

Definition at line 72 of file Sanitizers.cpp.

References clang::XRayInstrKind::None.

Referenced by clang::driver::SanitizerArgs::addArgs().

◆ asOpenCLLangAS()

LangAS clang::asOpenCLLangAS ( LangAS  AS)
inline

◆ AssertSuccess() [1/2]

Expr* clang::AssertSuccess ( ExprResult  R)
inline

◆ AssertSuccess() [2/2]

Stmt* clang::AssertSuccess ( StmtResult  R)
inline

◆ asSYCLLangAS()

LangAS clang::asSYCLLangAS ( LangAS  AS)
inline

◆ AttachDependencyGraphGen()

void clang::AttachDependencyGraphGen ( Preprocessor PP,
StringRef  OutputFile,
StringRef  SysRoot 
)

AttachDependencyGraphGen - Create a dependency graph generator, and attach it to the given preprocessor.

Definition at line 63 of file DependencyGraph.cpp.

References clang::Preprocessor::addPPCallbacks().

Referenced by clang::CompilerInstance::createPreprocessor().

◆ AttachHeaderIncludeGen()

void clang::AttachHeaderIncludeGen ( Preprocessor PP,
const DependencyOutputOptions DepOpts,
bool  ShowAllHeaders = false,
StringRef  OutputPath = {},
bool  ShowDepth = true,
bool  MSStyle = false 
)

AttachHeaderIncludeGen - Create a header include list generator, and attach it to the given preprocessor.

Parameters
DepOpts- Options controlling the output.
ShowAllHeaders- If true, show all header information instead of just headers following the predefines buffer. This is useful for making sure includes mentioned on the command line are also reported, but differs from the default behavior used by -H.
OutputPath- If non-empty, a path to write the header include information to, instead of writing to stderr.
ShowDepth- Whether to indent to show the nesting of the includes.
MSStyle- Whether to print in cl.exe /showIncludes style.

Definition at line 138 of file HeaderIncludeGen.cpp.

References clang::Preprocessor::addPPCallbacks(), clang::DependencyOutputOptions::ExtraDeps, clang::Preprocessor::getDiagnostics(), clang::DependencyOutputOptions::HeaderIncludeFiltering, clang::DependencyOutputOptions::HeaderIncludeFormat, HIFIL_None, HIFIL_Only_Direct_System, HIFMT_JSON, HIFMT_None, HIFMT_Textual, PrintHeaderInfo(), clang::DiagnosticsEngine::Report(), clang::DependencyOutputOptions::ShowIncludesDest, Stderr, and Stdout.

Referenced by clang::CompilerInstance::createPreprocessor().

◆ atTemplateBegin()

template<class TemplateInstantiationCallbackPtrs >
void clang::atTemplateBegin ( TemplateInstantiationCallbackPtrs &  Callbacks,
const Sema TheSema,
const Sema::CodeSynthesisContext Inst 
)

◆ atTemplateEnd()

template<class TemplateInstantiationCallbackPtrs >
void clang::atTemplateEnd ( TemplateInstantiationCallbackPtrs &  Callbacks,
const Sema TheSema,
const Sema::CodeSynthesisContext Inst 
)

◆ canDynamicCastThrow()

static CanThrowResult clang::canDynamicCastThrow ( const CXXDynamicCastExpr DC)
static

◆ CanElideDeclDef()

bool clang::CanElideDeclDef ( const Decl D)

If we can elide the definition of.

Parameters
Din reduced BMI.

Generally, we can elide the definition of a declaration if it won't affect the ABI. e.g., the non-inline function bodies.

Definition at line 278 of file ASTWriterDecl.cpp.

References TSK_ImplicitInstantiation.

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

◆ canExprResolveTo()

static bool clang::canExprResolveTo ( const Expr Source,
const Expr Target 
)
static

Definition at line 24 of file ExprMutationAnalyzer.cpp.

◆ canSubStmtsThrow()

static CanThrowResult clang::canSubStmtsThrow ( Sema Self,
const Stmt S 
)
static

Definition at line 1005 of file SemaExceptionSpec.cpp.

◆ canTypeidThrow()

static CanThrowResult clang::canTypeidThrow ( Sema S,
const CXXTypeidExpr DC 
)
static

Definition at line 1113 of file SemaExceptionSpec.cpp.

◆ canVarDeclThrow()

static CanThrowResult clang::canVarDeclThrow ( Sema Self,
const VarDecl VD 
)
static

◆ cast()

template<class U >
U clang::cast ( CodeGen::Address  addr)
inline

◆ cast_away_const()

StmtIterator clang::cast_away_const ( const ConstStmtIterator RHS)
inline

◆ CheckBundledSection()

Expected< bool > clang::CheckBundledSection ( const OffloadBundlerConfig BundlerConfig)

◆ checkCalledOnceParameters()

void clang::checkCalledOnceParameters ( AnalysisDeclContext AC,
CalledOnceCheckHandler Handler,
bool  CheckConventionalParameters 
)

Check given CFG for 'called once' parameter violations.

It traverses the function and tracks how such parameters are used. It detects two main violations:

  • parameter is called twice
  • parameter is not called
Parameters
AC– context.
Handler– a handler for found violations.
CheckConventionalParameters– true, if we want to check parameters not explicitly marked as 'called once', but having the same requirements according to conventions.

Definition at line 1701 of file CalledOnceCheck.cpp.

◆ CheckEquivalentExceptionSpecImpl()

static bool clang::CheckEquivalentExceptionSpecImpl ( Sema S,
const PartialDiagnostic DiagID,
const PartialDiagnostic NoteID,
const FunctionProtoType Old,
SourceLocation  OldLoc,
const FunctionProtoType New,
SourceLocation  NewLoc,
bool MissingExceptionSpecification,
bool MissingEmptyExceptionSpecification,
bool  AllowNoexceptAllMatchWithNoSpec,
bool  IsOperatorNew 
)
static

CheckEquivalentExceptionSpec - Check if the two types have compatible exception specifications.

See C++ [except.spec]p3.

Returns
false if the exception specifications match, true if there is a problem. If true is returned, either a diagnostic has already been produced or *MissingExceptionSpecification is set to true.

Definition at line 523 of file SemaExceptionSpec.cpp.

Referenced by clang::Sema::CheckEquivalentExceptionSpec().

◆ checkFailClauseParameter()

bool clang::checkFailClauseParameter ( OpenMPClauseKind  FailClauseParameter)

Checks if the parameter to the fail clause in "#pragma atomic compare fail" is restricted only to memory order clauses of "OMPC_acquire", "OMPC_relaxed" and "OMPC_seq_cst".

Definition at line 840 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPFailClause().

◆ CheckInvalidVLENandLMUL()

static bool clang::CheckInvalidVLENandLMUL ( const TargetInfo TI,
CallExpr TheCall,
Sema S,
QualType  Type,
int  EGW 
)
static

Definition at line 527 of file SemaRISCV.cpp.

◆ CheckSpecForTypesEquivalent()

static bool clang::CheckSpecForTypesEquivalent ( Sema S,
const PartialDiagnostic DiagID,
const PartialDiagnostic NoteID,
QualType  Target,
SourceLocation  TargetLoc,
QualType  Source,
SourceLocation  SourceLoc 
)
static

Definition at line 878 of file SemaExceptionSpec.cpp.

Referenced by clang::Sema::CheckParamExceptionSpec().

◆ checkUnsafeBufferUsage()

void clang::checkUnsafeBufferUsage ( const Decl D,
UnsafeBufferUsageHandler Handler,
bool  EmitSuggestions 
)

◆ commonComparisonType()

ComparisonCategoryType clang::commonComparisonType ( ComparisonCategoryType  A,
ComparisonCategoryType  B 
)
inline

Determine the common comparison type, as defined in C++2a [class.spaceship]p4.

Definition at line 54 of file ComparisonCategories.h.

◆ computeDependence() [1/90]

ExprDependence clang::computeDependence ( ArrayInitLoopExpr E)

◆ computeDependence() [2/90]

ExprDependence clang::computeDependence ( ArraySectionExpr E)

◆ computeDependence() [3/90]

ExprDependence clang::computeDependence ( ArraySubscriptExpr E)

◆ computeDependence() [4/90]

ExprDependence clang::computeDependence ( ArrayTypeTraitExpr E)

◆ computeDependence() [5/90]

ExprDependence clang::computeDependence ( AsTypeExpr E)

◆ computeDependence() [6/90]

ExprDependence clang::computeDependence ( AtomicExpr E)

◆ computeDependence() [7/90]

ExprDependence clang::computeDependence ( BinaryConditionalOperator E)

◆ computeDependence() [8/90]

ExprDependence clang::computeDependence ( BinaryOperator E)

◆ computeDependence() [9/90]

ExprDependence clang::computeDependence ( BlockExpr E)

◆ computeDependence() [10/90]

ExprDependence clang::computeDependence ( CallExpr E,
llvm::ArrayRef< Expr * >  PreArgs 
)

◆ computeDependence() [11/90]

ExprDependence clang::computeDependence ( ChooseExpr E)

◆ computeDependence() [12/90]

ExprDependence clang::computeDependence ( CompoundLiteralExpr E)

◆ computeDependence() [13/90]

ExprDependence clang::computeDependence ( ConceptSpecializationExpr E,
bool  ValueDependent 
)

◆ computeDependence() [14/90]

ExprDependence clang::computeDependence ( ConditionalOperator E)

◆ computeDependence() [15/90]

ExprDependence clang::computeDependence ( ConvertVectorExpr E)

◆ computeDependence() [16/90]

ExprDependence clang::computeDependence ( CoroutineSuspendExpr E)

◆ computeDependence() [17/90]

ExprDependence clang::computeDependence ( CXXBindTemporaryExpr E)

◆ computeDependence() [18/90]

ExprDependence clang::computeDependence ( CXXConstructExpr E)

◆ computeDependence() [19/90]

ExprDependence clang::computeDependence ( CXXDefaultArgExpr E)

◆ computeDependence() [20/90]

ExprDependence clang::computeDependence ( CXXDefaultInitExpr E)

◆ computeDependence() [21/90]

ExprDependence clang::computeDependence ( CXXDeleteExpr E)

◆ computeDependence() [22/90]

ExprDependence clang::computeDependence ( CXXDependentScopeMemberExpr E)

◆ computeDependence() [23/90]

ExprDependence clang::computeDependence ( CXXFoldExpr E)

◆ computeDependence() [24/90]

ExprDependence clang::computeDependence ( CXXNewExpr E)

◆ computeDependence() [25/90]

ExprDependence clang::computeDependence ( CXXNoexceptExpr E,
CanThrowResult  CT 
)

◆ computeDependence() [26/90]

ExprDependence clang::computeDependence ( CXXParenListInitExpr E)

◆ computeDependence() [27/90]

ExprDependence clang::computeDependence ( CXXPseudoDestructorExpr E)

◆ computeDependence() [28/90]

ExprDependence clang::computeDependence ( CXXRewrittenBinaryOperator E)

◆ computeDependence() [29/90]

ExprDependence clang::computeDependence ( CXXScalarValueInitExpr E)

◆ computeDependence() [30/90]

ExprDependence clang::computeDependence ( CXXStdInitializerListExpr E)

◆ computeDependence() [31/90]

ExprDependence clang::computeDependence ( CXXTemporaryObjectExpr E)

◆ computeDependence() [32/90]

ExprDependence clang::computeDependence ( CXXThisExpr E)

◆ computeDependence() [33/90]

ExprDependence clang::computeDependence ( CXXThrowExpr E)

◆ computeDependence() [34/90]

ExprDependence clang::computeDependence ( CXXTypeidExpr E)

◆ computeDependence() [35/90]

ExprDependence clang::computeDependence ( CXXUnresolvedConstructExpr E)

◆ computeDependence() [36/90]

ExprDependence clang::computeDependence ( CXXUuidofExpr E)

◆ computeDependence() [37/90]

ExprDependence clang::computeDependence ( DeclRefExpr E,
const ASTContext Ctx 
)

◆ computeDependence() [38/90]

ExprDependence clang::computeDependence ( DependentCoawaitExpr E)

◆ computeDependence() [39/90]

ExprDependence clang::computeDependence ( DependentScopeDeclRefExpr E)

◆ computeDependence() [40/90]

ExprDependence clang::computeDependence ( DesignatedInitExpr E)

◆ computeDependence() [41/90]

ExprDependence clang::computeDependence ( ExplicitCastExpr E)

◆ computeDependence() [42/90]

ExprDependence clang::computeDependence ( ExpressionTraitExpr E)

◆ computeDependence() [43/90]

ExprDependence clang::computeDependence ( ExtVectorElementExpr E)

◆ computeDependence() [44/90]

ExprDependence clang::computeDependence ( FullExpr E)

Definition at line 24 of file ComputeDependence.cpp.

References clang::Expr::getDependence(), and clang::FullExpr::getSubExpr().

Referenced by clang::ArrayInitLoopExpr::ArrayInitLoopExpr(), clang::ArraySectionExpr::ArraySectionExpr(), clang::ArraySubscriptExpr::ArraySubscriptExpr(), clang::ArrayTypeTraitExpr::ArrayTypeTraitExpr(), clang::AsTypeExpr::AsTypeExpr(), clang::AtomicExpr::AtomicExpr(), clang::BinaryConditionalOperator::BinaryConditionalOperator(), clang::BinaryOperator::BinaryOperator(), clang::BlockExpr::BlockExpr(), clang::ChooseExpr::ChooseExpr(), clang::CompoundLiteralExpr::CompoundLiteralExpr(), clang::CallExpr::computeDependence(), computeDependence(), clang::ConditionalOperator::ConditionalOperator(), clang::ConvertVectorExpr::ConvertVectorExpr(), clang::CoroutineSuspendExpr::CoroutineSuspendExpr(), clang::CXXConstructExpr::CXXConstructExpr(), clang::CXXDeleteExpr::CXXDeleteExpr(), clang::CXXFoldExpr::CXXFoldExpr(), clang::CXXNoexceptExpr::CXXNoexceptExpr(), clang::CXXRewrittenBinaryOperator::CXXRewrittenBinaryOperator(), clang::CXXScalarValueInitExpr::CXXScalarValueInitExpr(), clang::CXXStdInitializerListExpr::CXXStdInitializerListExpr(), clang::CXXThrowExpr::CXXThrowExpr(), clang::CXXTypeidExpr::CXXTypeidExpr(), clang::CXXUuidofExpr::CXXUuidofExpr(), clang::DeclRefExpr::DeclRefExpr(), clang::DependentCoawaitExpr::DependentCoawaitExpr(), clang::ExplicitCastExpr::ExplicitCastExpr(), clang::ExpressionTraitExpr::ExpressionTraitExpr(), clang::ExtVectorElementExpr::ExtVectorElementExpr(), clang::FullExpr::FullExpr(), clang::ImplicitValueInitExpr::ImplicitValueInitExpr(), clang::InitListExpr::InitListExpr(), clang::MaterializeTemporaryExpr::MaterializeTemporaryExpr(), clang::MatrixSubscriptExpr::MatrixSubscriptExpr(), clang::MSPropertyRefExpr::MSPropertyRefExpr(), clang::MSPropertySubscriptExpr::MSPropertySubscriptExpr(), clang::NoInitExpr::NoInitExpr(), clang::ObjCBoxedExpr::ObjCBoxedExpr(), clang::ObjCEncodeExpr::ObjCEncodeExpr(), clang::ObjCIndirectCopyRestoreExpr::ObjCIndirectCopyRestoreExpr(), clang::ObjCIsaExpr::ObjCIsaExpr(), clang::ObjCIvarRefExpr::ObjCIvarRefExpr(), clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr(), clang::ObjCSubscriptRefExpr::ObjCSubscriptRefExpr(), clang::OpaqueValueExpr::OpaqueValueExpr(), clang::PackExpansionExpr::PackExpansionExpr(), clang::ParenExpr::ParenExpr(), clang::CXXThisExpr::setCapturedByCopyInLambdaWithExplicitObjectParameter(), clang::DeclRefExpr::setDecl(), clang::MemberExpr::setMemberDecl(), clang::ShuffleVectorExpr::ShuffleVectorExpr(), clang::StmtExpr::StmtExpr(), clang::SYCLBuiltinNumBasesExpr::SYCLBuiltinNumBasesExpr(), clang::SYCLBuiltinNumFieldsExpr::SYCLBuiltinNumFieldsExpr(), clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(), clang::UnaryOperator::UnaryOperator(), clang::CXXParenListInitExpr::updateDependence(), and clang::VAArgExpr::VAArgExpr().

◆ computeDependence() [45/90]

ExprDependence clang::computeDependence ( GenericSelectionExpr E,
bool  ContainsUnexpandedPack 
)

◆ computeDependence() [46/90]

ExprDependence clang::computeDependence ( ImplicitCastExpr E)

◆ computeDependence() [47/90]

ExprDependence clang::computeDependence ( ImplicitValueInitExpr E)

◆ computeDependence() [48/90]

ExprDependence clang::computeDependence ( InitListExpr E)

◆ computeDependence() [49/90]

ExprDependence clang::computeDependence ( LambdaExpr E,
bool  ContainsUnexpandedParameterPack 
)

◆ computeDependence() [50/90]

ExprDependence clang::computeDependence ( MaterializeTemporaryExpr E)

◆ computeDependence() [51/90]

ExprDependence clang::computeDependence ( MatrixSubscriptExpr E)

◆ computeDependence() [52/90]

ExprDependence clang::computeDependence ( MemberExpr E)

◆ computeDependence() [53/90]

ExprDependence clang::computeDependence ( MSPropertyRefExpr E)

◆ computeDependence() [54/90]

ExprDependence clang::computeDependence ( MSPropertySubscriptExpr E)

◆ computeDependence() [55/90]

ExprDependence clang::computeDependence ( NoInitExpr E)

◆ computeDependence() [56/90]

ExprDependence clang::computeDependence ( ObjCArrayLiteral E)

◆ computeDependence() [57/90]

ExprDependence clang::computeDependence ( ObjCBoxedExpr E)

◆ computeDependence() [58/90]

ExprDependence clang::computeDependence ( ObjCDictionaryLiteral E)

◆ computeDependence() [59/90]

ExprDependence clang::computeDependence ( ObjCEncodeExpr E)

◆ computeDependence() [60/90]

ExprDependence clang::computeDependence ( ObjCIndirectCopyRestoreExpr E)

◆ computeDependence() [61/90]

ExprDependence clang::computeDependence ( ObjCIsaExpr E)

◆ computeDependence() [62/90]

ExprDependence clang::computeDependence ( ObjCIvarRefExpr E)

◆ computeDependence() [63/90]

ExprDependence clang::computeDependence ( ObjCMessageExpr E)

◆ computeDependence() [64/90]

ExprDependence clang::computeDependence ( ObjCPropertyRefExpr E)

◆ computeDependence() [65/90]

ExprDependence clang::computeDependence ( ObjCSubscriptRefExpr E)

◆ computeDependence() [66/90]

ExprDependence clang::computeDependence ( OffsetOfExpr E)

◆ computeDependence() [67/90]

ExprDependence clang::computeDependence ( OMPArrayShapingExpr E)

◆ computeDependence() [68/90]

ExprDependence clang::computeDependence ( OMPIteratorExpr E)

◆ computeDependence() [69/90]

ExprDependence clang::computeDependence ( OpaqueValueExpr E)

◆ computeDependence() [70/90]

ExprDependence clang::computeDependence ( OverloadExpr E,
bool  KnownDependent,
bool  KnownInstantiationDependent,
bool  KnownContainsUnexpandedParameterPack 
)

◆ computeDependence() [71/90]

ExprDependence clang::computeDependence ( PackExpansionExpr E)

◆ computeDependence() [72/90]

ExprDependence clang::computeDependence ( PackIndexingExpr E)

◆ computeDependence() [73/90]

ExprDependence clang::computeDependence ( ParenExpr E)

◆ computeDependence() [74/90]

ExprDependence clang::computeDependence ( ParenListExpr E)

Definition at line 219 of file ComputeDependence.cpp.

References clang::XRayInstrKind::None, and P.

◆ computeDependence() [75/90]

ExprDependence clang::computeDependence ( PredefinedExpr E)

◆ computeDependence() [76/90]

ExprDependence clang::computeDependence ( PseudoObjectExpr E)

◆ computeDependence() [77/90]

ExprDependence clang::computeDependence ( RecoveryExpr E)

◆ computeDependence() [78/90]

ExprDependence clang::computeDependence ( ShuffleVectorExpr E)

◆ computeDependence() [79/90]

ExprDependence clang::computeDependence ( StmtExpr E,
unsigned  TemplateDepth 
)

◆ computeDependence() [80/90]

ExprDependence clang::computeDependence ( SubstNonTypeTemplateParmExpr E)

◆ computeDependence() [81/90]

ExprDependence clang::computeDependence ( SYCLBuiltinBaseTypeExpr E)

◆ computeDependence() [82/90]

ExprDependence clang::computeDependence ( SYCLBuiltinFieldTypeExpr E)

◆ computeDependence() [83/90]

ExprDependence clang::computeDependence ( SYCLBuiltinNumBasesExpr E)

◆ computeDependence() [84/90]

ExprDependence clang::computeDependence ( SYCLBuiltinNumFieldsExpr E)

◆ computeDependence() [85/90]

ExprDependence clang::computeDependence ( SYCLUniqueStableIdExpr E)

◆ computeDependence() [86/90]

ExprDependence clang::computeDependence ( SYCLUniqueStableNameExpr E)

◆ computeDependence() [87/90]

ExprDependence clang::computeDependence ( TypeTraitExpr E)

◆ computeDependence() [88/90]

ExprDependence clang::computeDependence ( UnaryExprOrTypeTraitExpr E)

◆ computeDependence() [89/90]

ExprDependence clang::computeDependence ( UnaryOperator E,
const ASTContext Ctx 
)

◆ computeDependence() [90/90]

ExprDependence clang::computeDependence ( VAArgExpr E)

◆ ComputePreambleBounds()

PreambleBounds clang::ComputePreambleBounds ( const LangOptions LangOpts,
const llvm::MemoryBufferRef &  Buffer,
unsigned  MaxLines 
)

Runs lexer to compute suggested preamble bounds.

Definition at line 352 of file PrecompiledPreamble.cpp.

Referenced by clang::PrecompiledPreamble::OverridePreamble().

◆ considerVariable()

static bool clang::considerVariable ( VarDecl var,
Expr ref,
RetainCycleOwner &  owner 
)
static

Consider whether capturing the given variable can possibly lead to a retain cycle.

Definition at line 770 of file SemaObjC.cpp.

References clang::Qualifiers::OCL_Strong, and clang::dataflow::var().

Referenced by clang::SemaObjC::checkRetainCycles().

◆ ConvertQualTypeToKind()

static Value::Kind clang::ConvertQualTypeToKind ( const ASTContext Ctx,
QualType  QT 
)
static

◆ CreateAndPopulateDiagOpts()

std::unique_ptr< DiagnosticOptions > clang::CreateAndPopulateDiagOpts ( ArrayRef< const char * >  Argv)

◆ CreateASTDeclNodeLister()

std::unique_ptr< ASTConsumer > clang::CreateASTDeclNodeLister ( )

Definition at line 178 of file ASTConsumers.cpp.

Referenced by clang::ASTDeclListAction::CreateASTConsumer().

◆ CreateASTDumper()

std::unique_ptr< ASTConsumer > clang::CreateASTDumper ( std::unique_ptr< raw_ostream >  OS,
StringRef  FilterString,
bool  DumpDecls,
bool  Deserialize,
bool  DumpLookups,
bool  DumpDeclTypes,
ASTDumpOutputFormat  Format 
)

◆ CreateASTPrinter()

std::unique_ptr< ASTConsumer > clang::CreateASTPrinter ( std::unique_ptr< raw_ostream >  OS,
StringRef  FilterString 
)

Definition at line 160 of file ASTConsumers.cpp.

References ADOF_Default.

Referenced by clang::ASTPrintAction::CreateASTConsumer().

◆ CreateASTViewer()

std::unique_ptr< ASTConsumer > clang::CreateASTViewer ( )

Definition at line 214 of file ASTConsumers.cpp.

Referenced by clang::ASTViewAction::CreateASTConsumer().

◆ createChainedIncludesSource()

IntrusiveRefCntPtr< ExternalSemaSource > clang::createChainedIncludesSource ( CompilerInstance CI,
IntrusiveRefCntPtr< ExternalSemaSource > &  Reader 
)

◆ CreateDGPtrFrom()

Sema::DeclGroupPtrTy clang::CreateDGPtrFrom ( Sema S,
Decl D 
)

Definition at line 39 of file InterpreterUtils.cpp.

◆ CreateFrontendAction()

std::unique_ptr< FrontendAction > clang::CreateFrontendAction ( CompilerInstance CI)

◆ CreateFrontendBaseAction()

static std::unique_ptr<FrontendAction> clang::CreateFrontendBaseAction ( CompilerInstance CI)
static

Definition at line 40 of file ExecuteCompilerInvocation.cpp.

References clang::FrontendOptions::ActionName, clang::frontend::ASTDeclList, clang::frontend::ASTDump, clang::frontend::ASTPrint, clang::frontend::ASTView, clang::PluginASTAction::CmdlineAfterMainAction, clang::frontend::DumpCompilerOptions, clang::frontend::DumpRawTokens, clang::frontend::DumpTokens, clang::frontend::EmitAssembly, clang::frontend::EmitBC, clang::frontend::EmitCIR, clang::frontend::EmitCodeGenOnly, clang::frontend::EmitHTML, clang::frontend::EmitLLVM, clang::frontend::EmitLLVMOnly, clang::frontend::EmitObj, clang::frontend::ExtractAPI, clang::frontend::FixIt, clang::frontend::GenerateHeaderUnit, clang::frontend::GenerateInterfaceStubs, clang::frontend::GenerateModule, clang::frontend::GenerateModuleInterface, clang::frontend::GeneratePCH, clang::frontend::GenerateReducedModuleInterface, clang::CompilerInstance::getDiagnostics(), clang::CompilerInstance::getFrontendOpts(), clang::CompilerInstance::getPreprocessorOutputOpts(), clang::frontend::InitOnly, clang::frontend::MigrateSource, clang::frontend::ModuleFileInfo, P, clang::frontend::ParseSyntaxOnly, clang::frontend::PluginAction, clang::FrontendOptions::PluginArgs, clang::frontend::PrintDependencyDirectivesSourceMinimizerOutput, clang::frontend::PrintPreamble, clang::frontend::PrintPreprocessedInput, clang::FrontendOptions::ProgramAction, clang::PluginASTAction::ReplaceAction, clang::DiagnosticsEngine::Report(), clang::PreprocessorOutputOptions::RewriteImports, clang::PreprocessorOutputOptions::RewriteIncludes, clang::frontend::RewriteMacros, clang::frontend::RewriteObjC, clang::frontend::RewriteTest, clang::frontend::RunAnalysis, clang::frontend::RunPreprocessorOnly, clang::frontend::TemplightDump, and clang::frontend::VerifyPCH.

Referenced by CreateFrontendAction().

◆ CreateHTMLPrinter()

std::unique_ptr< ASTConsumer > clang::CreateHTMLPrinter ( std::unique_ptr< raw_ostream >  OS,
Preprocessor PP,
bool  SyntaxHighlight = true,
bool  HighlightMacros = true 
)

CreateHTMLPrinter - Create an AST consumer which rewrites source code to HTML with syntax highlighting suitable for viewing in a web-browser.

Definition at line 49 of file HTMLPrint.cpp.

References clang::html::HighlightMacros(), and clang::html::SyntaxHighlight().

Referenced by clang::HTMLPrintAction::CreateASTConsumer().

◆ createInvocation()

std::unique_ptr< CompilerInvocation > clang::createInvocation ( ArrayRef< const char * >  Args,
CreateInvocationOptions  Opts = {} 
)

Interpret clang arguments in preparation to parse a file.

This simulates a number of steps Clang takes when its driver is invoked:

  • choosing actions (e.g compile + link) to run
  • probing the system for settings like standard library locations
  • spawning a cc1 subprocess to compile code, with more explicit arguments
  • in the cc1 process, assembling those arguments into a CompilerInvocation which is used to configure the parser

This simulation is lossy, e.g. in some situations one driver run would result in multiple parses. (Multi-arch, CUDA, ...). This function tries to select a reasonable invocation that tools should use.

Args[0] should be the driver name, such as "clang" or "/usr/bin/g++". Absolute path is preferred - this affects searching for system headers.

May return nullptr if an invocation could not be determined. See CreateInvocationOptions::ShouldRecoverOnErrors to try harder!

Definition at line 30 of file CreateInvocationFromCommandLine.cpp.

References clang::driver::Driver::BuildCompilation(), clang::CreateInvocationOptions::CC1Args, Cmd, clang::CompilerInstance::createDiagnostics(), clang::CompilerInvocation::CreateFromArgs(), clang::CreateInvocationOptions::Diags, clang::driver::JobList::end(), clang::driver::JobList::Print(), clang::CreateInvocationOptions::ProbePrecompiled, clang::CreateInvocationOptions::RecoverOnError, clang::driver::Driver::setCheckInputsExist(), clang::driver::Driver::setProbePrecompiled(), clang::driver::JobList::size(), and clang::CreateInvocationOptions::VFS.

Referenced by clang::ASTUnit::LoadFromCommandLine().

◆ CreateItaniumCXXABI()

CXXABI * clang::CreateItaniumCXXABI ( ASTContext Ctx)

Creates an instance of a C++ ABI class.

Definition at line 293 of file ItaniumCXXABI.cpp.

◆ createItaniumNumberingContext()

std::unique_ptr< MangleNumberingContext > clang::createItaniumNumberingContext ( MangleContext Mangler)

Definition at line 298 of file ItaniumCXXABI.cpp.

◆ CreateLLVMCodeGen()

CodeGenerator * clang::CreateLLVMCodeGen ( DiagnosticsEngine Diags,
llvm::StringRef  ModuleName,
IntrusiveRefCntPtr< llvm::vfs::FileSystem >  FS,
const HeaderSearchOptions HeaderSearchOpts,
const PreprocessorOptions PreprocessorOpts,
const CodeGenOptions CGO,
llvm::LLVMContext &  C,
CoverageSourceInfo CoverageInfo = nullptr 
)

CreateLLVMCodeGen - Create a CodeGenerator instance.

It is the responsibility of the caller to call delete on the allocated CodeGenerator instance.

Definition at line 368 of file ModuleBuilder.cpp.

◆ CreateMicrosoftCXXABI()

CXXABI * clang::CreateMicrosoftCXXABI ( ASTContext Ctx)

Definition at line 333 of file MicrosoftCXXABI.cpp.

◆ CreateModernObjCRewriter()

std::unique_ptr< ASTConsumer > clang::CreateModernObjCRewriter ( const std::string &  InFile,
std::unique_ptr< raw_ostream >  OS,
DiagnosticsEngine Diags,
const LangOptions LOpts,
bool  SilenceRewriteMacroWarning,
bool  LineInfo 
)

Definition at line 664 of file RewriteModernObjC.cpp.

References OS.

Referenced by clang::RewriteObjCAction::CreateASTConsumer().

◆ CreateObjCRewriter()

std::unique_ptr< ASTConsumer > clang::CreateObjCRewriter ( const std::string &  InFile,
std::unique_ptr< raw_ostream >  OS,
DiagnosticsEngine Diags,
const LangOptions LOpts,
bool  SilenceRewriteMacroWarning 
)

Definition at line 593 of file RewriteObjC.cpp.

References OS.

Referenced by clang::RewriteObjCAction::CreateASTConsumer().

◆ CreateRISCVIntrinsicManager()

std::unique_ptr< clang::sema::RISCVIntrinsicManager > clang::CreateRISCVIntrinsicManager ( Sema S)

Definition at line 503 of file SemaRISCV.cpp.

◆ createVFSFromCompilerInvocation() [1/2]

IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::createVFSFromCompilerInvocation ( const CompilerInvocation CI,
DiagnosticsEngine Diags 
)

◆ createVFSFromCompilerInvocation() [2/2]

IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::createVFSFromCompilerInvocation ( const CompilerInvocation CI,
DiagnosticsEngine Diags,
IntrusiveRefCntPtr< llvm::vfs::FileSystem >  BaseFS 
)

◆ createVFSFromOverlayFiles()

IntrusiveRefCntPtr< llvm::vfs::FileSystem > clang::createVFSFromOverlayFiles ( ArrayRef< std::string >  VFSOverlayFiles,
DiagnosticsEngine Diags,
IntrusiveRefCntPtr< llvm::vfs::FileSystem >  BaseFS 
)

Definition at line 5216 of file CompilerInvocation.cpp.

References File, and clang::DiagnosticsEngine::Report().

Referenced by createVFSFromCompilerInvocation().

◆ CStyleCastPtrExpr() [1/2]

Expr * clang::CStyleCastPtrExpr ( Sema S,
QualType  Ty,
Expr E 
)

Definition at line 22 of file InterpreterUtils.cpp.

◆ CStyleCastPtrExpr() [2/2]

Expr * clang::CStyleCastPtrExpr ( Sema S,
QualType  Ty,
uintptr_t  Ptr 
)

Definition at line 34 of file InterpreterUtils.cpp.

◆ CudaArchToString()

const char * clang::CudaArchToString ( CudaArch  A)

◆ CudaArchToVirtualArchString()

const char * clang::CudaArchToVirtualArchString ( CudaArch  A)

Definition at line 160 of file Cuda.cpp.

References arch_names.

Referenced by clang::driver::tools::NVPTX::FatBinary::ConstructJob().

◆ CudaFeatureEnabled() [1/2]

bool clang::CudaFeatureEnabled ( CudaVersion  Version,
CudaFeature  Feature 
)

Definition at line 249 of file Cuda.cpp.

References CUDA_101, CUDA_92, CUDA_USES_FATBIN_REGISTER_END, and CUDA_USES_NEW_LAUNCH.

◆ CudaFeatureEnabled() [2/2]

bool clang::CudaFeatureEnabled ( llvm::VersionTuple  Version,
CudaFeature  Feature 
)

Definition at line 245 of file Cuda.cpp.

References ToCudaVersion().

Referenced by clang::SemaCUDA::getConfigureFuncName().

◆ CudaStringToVersion()

CudaVersion clang::CudaStringToVersion ( const llvm::Twine &  S)

Definition at line 58 of file Cuda.cpp.

◆ CudaVersionToString()

const char * clang::CudaVersionToString ( CudaVersion  V)

◆ CustomizableOptional()

template<typename T >
clang::CustomizableOptional ( const T ) -> CustomizableOptional< T >

◆ declaresSameEntity()

bool clang::declaresSameEntity ( const Decl D1,
const Decl D2 
)
inline

◆ DeclAttrsMatchCUDAMode()

bool clang::DeclAttrsMatchCUDAMode ( const LangOptions LangOpts,
Decl D 
)
inline

Definition at line 44 of file SemaInternal.h.

◆ DEF_TRAVERSE_TYPE() [1/23]

clang::DEF_TRAVERSE_TYPE ( AdjustedType  ,
{ TRY_TO(TraverseType(T->getOriginalType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [2/23]

clang::DEF_TRAVERSE_TYPE ( AttributedType  ,
{ TRY_TO(TraverseType(T->getModifiedType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [3/23]

clang::DEF_TRAVERSE_TYPE ( BlockPointerType  ,
{ TRY_TO(TraverseType(T->getPointeeType()));}   
)

◆ DEF_TRAVERSE_TYPE() [4/23]

clang::DEF_TRAVERSE_TYPE ( BTFTagAttributedType  ,
{ TRY_TO(TraverseType(T->getWrappedType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [5/23]

clang::DEF_TRAVERSE_TYPE ( ComplexType  ,
{ TRY_TO(TraverseType(T->getElementType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [6/23]

clang::DEF_TRAVERSE_TYPE ( ConstantArrayType  ,
{ TRY_TO(TraverseType(T->getElementType()));if(T->getSizeExpr()) TRY_TO(TraverseStmt(const_cast< Expr * >(T->getSizeExpr())));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [7/23]

clang::DEF_TRAVERSE_TYPE ( ConstantMatrixType  ,
{ TRY_TO(TraverseType(T->getElementType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [8/23]

clang::DEF_TRAVERSE_TYPE ( DecltypeType  ,
{ TRY_TO(TraverseStmt(T->getUnderlyingExpr()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [9/23]

clang::DEF_TRAVERSE_TYPE ( DeducedTemplateSpecializationType  ,
{ TRY_TO(TraverseTemplateName(T->getTemplateName()));TRY_TO(TraverseType(T->getDeducedType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [10/23]

clang::DEF_TRAVERSE_TYPE ( DependentNameType  ,
{ TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [11/23]

clang::DEF_TRAVERSE_TYPE ( DependentSizedArrayType  ,
{ TRY_TO(TraverseType(T->getElementType()));if(T->getSizeExpr()) TRY_TO(TraverseStmt(T->getSizeExpr()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [12/23]

clang::DEF_TRAVERSE_TYPE ( DependentVectorType  ,
{ if(T->getSizeExpr()) TRY_TO(TraverseStmt(T->getSizeExpr()));TRY_TO(TraverseType(T->getElementType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [13/23]

clang::DEF_TRAVERSE_TYPE ( FunctionNoProtoType  ,
{ TRY_TO(TraverseType(T->getReturnType()));}   
)

◆ DEF_TRAVERSE_TYPE() [14/23]

clang::DEF_TRAVERSE_TYPE ( IncompleteArrayType  ,
{ TRY_TO(TraverseType(T->getElementType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [15/23]

clang::DEF_TRAVERSE_TYPE ( MacroQualifiedType  ,
{ TRY_TO(TraverseType(T->getUnderlyingType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [16/23]

clang::DEF_TRAVERSE_TYPE ( ObjCObjectPointerType  ,
{ TRY_TO(TraverseType(T->getPointeeType()));}   
)

◆ DEF_TRAVERSE_TYPE() [17/23]

clang::DEF_TRAVERSE_TYPE ( PackExpansionType  ,
{ TRY_TO(TraverseType(T->getPattern()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [18/23]

clang::DEF_TRAVERSE_TYPE ( PipeType  ,
{ TRY_TO(TraverseType(T->getElementType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [19/23]

clang::DEF_TRAVERSE_TYPE ( RValueReferenceType  ,
{ TRY_TO(TraverseType(T->getPointeeType()));}   
)

◆ DEF_TRAVERSE_TYPE() [20/23]

clang::DEF_TRAVERSE_TYPE ( SubstTemplateTypeParmPackType  ,
{ TRY_TO(TraverseTemplateArgument(T->getArgumentPack()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [21/23]

clang::DEF_TRAVERSE_TYPE ( TypeOfExprType  ,
{ TRY_TO(TraverseStmt(T->getUnderlyingExpr()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [22/23]

clang::DEF_TRAVERSE_TYPE ( UnaryTransformType  ,
{ TRY_TO(TraverseType(T->getBaseType()));TRY_TO(TraverseType(T->getUnderlyingType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPE() [23/23]

clang::DEF_TRAVERSE_TYPE ( VectorType  ,
{ TRY_TO(TraverseType(T->getElementType()));}   
)

References T, and TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [1/20]

clang::DEF_TRAVERSE_TYPELOC ( AdjustedType  ,
{ TRY_TO(TraverseTypeLoc(TL.getOriginalLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [2/20]

clang::DEF_TRAVERSE_TYPELOC ( AttributedType  ,
{ TRY_TO(TraverseTypeLoc(TL.getModifiedLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [3/20]

clang::DEF_TRAVERSE_TYPELOC ( BlockPointerType  ,
{ TRY_TO(TraverseTypeLoc(TL.getPointeeLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [4/20]

clang::DEF_TRAVERSE_TYPELOC ( BTFTagAttributedType  ,
{ TRY_TO(TraverseTypeLoc(TL.getWrappedLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [5/20]

clang::DEF_TRAVERSE_TYPELOC ( ComplexType  ,
{ TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [6/20]

clang::DEF_TRAVERSE_TYPELOC ( ConstantArrayType  ,
{ TRY_TO(TraverseTypeLoc(TL.getElementLoc()));TRY_TO(TraverseArrayTypeLocHelper(TL));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [7/20]

clang::DEF_TRAVERSE_TYPELOC ( ConstantMatrixType  ,
{ TRY_TO(TraverseStmt(TL.getAttrRowOperand()));TRY_TO(TraverseStmt(TL.getAttrColumnOperand()));TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [8/20]

clang::DEF_TRAVERSE_TYPELOC ( DecltypeType  ,
{ TRY_TO(TraverseStmt(TL.getTypePtr() ->getUnderlyingExpr()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [9/20]

clang::DEF_TRAVERSE_TYPELOC ( DeducedTemplateSpecializationType  ,
{ TRY_TO(TraverseTemplateName(TL.getTypePtr() ->getTemplateName()));TRY_TO(TraverseType(TL.getTypePtr() ->getDeducedType()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [10/20]

clang::DEF_TRAVERSE_TYPELOC ( DependentNameType  ,
{ TRY_TO(TraverseNestedNameSpecifierLoc(TL.getQualifierLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [11/20]

clang::DEF_TRAVERSE_TYPELOC ( DependentSizedArrayType  ,
{ TRY_TO(TraverseTypeLoc(TL.getElementLoc()));TRY_TO(TraverseArrayTypeLocHelper(TL));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [12/20]

clang::DEF_TRAVERSE_TYPELOC ( DependentSizedExtVectorType  ,
{ if(TL.getTypePtr() ->getSizeExpr()) TRY_TO(TraverseStmt(TL.getTypePtr() ->getSizeExpr()));TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [13/20]

clang::DEF_TRAVERSE_TYPELOC ( DependentVectorType  ,
{ if(TL.getTypePtr() ->getSizeExpr()) TRY_TO(TraverseStmt(TL.getTypePtr() ->getSizeExpr()));TRY_TO(TraverseType(TL.getTypePtr() ->getElementType()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [14/20]

clang::DEF_TRAVERSE_TYPELOC ( FunctionNoProtoType  ,
{ TRY_TO(TraverseTypeLoc(TL.getReturnLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [15/20]

clang::DEF_TRAVERSE_TYPELOC ( IncompleteArrayType  ,
{ TRY_TO(TraverseTypeLoc(TL.getElementLoc()));TRY_TO(TraverseArrayTypeLocHelper(TL));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [16/20]

clang::DEF_TRAVERSE_TYPELOC ( ParenType  ,
{ TRY_TO(TraverseTypeLoc(TL.getInnerLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [17/20]

clang::DEF_TRAVERSE_TYPELOC ( RValueReferenceType  ,
{ TRY_TO(TraverseTypeLoc(TL.getPointeeLoc()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [18/20]

clang::DEF_TRAVERSE_TYPELOC ( SubstTemplateTypeParmPackType  ,
{ TRY_TO(TraverseTemplateArgument(TL.getTypePtr() ->getArgumentPack()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [19/20]

clang::DEF_TRAVERSE_TYPELOC ( TypeOfExprType  ,
{ TRY_TO(TraverseStmt(TL.getUnderlyingExpr()));}   
)

References TRY_TO().

◆ DEF_TRAVERSE_TYPELOC() [20/20]

clang::DEF_TRAVERSE_TYPELOC ( UnaryTransformType  ,
{ TRY_TO(TraverseTypeLoc(TL.getUnderlyingTInfo() ->getTypeLoc()));}   
)

References TRY_TO().

◆ desugarForDiagnostic()

QualType clang::desugarForDiagnostic ( ASTContext Context,
QualType  QT,
bool ShouldAKA 
)

Returns a desugared version of the QualType, and marks ShouldAKA as true whenever we remove significant sugar from the type.

Make sure ShouldAKA is initialized before passing it in.

Definition at line 30 of file ASTDiagnostic.cpp.

◆ diagGroupFromCLWarningID()

std::optional< diag::Group > clang::diagGroupFromCLWarningID ( unsigned  CLWarningID)

For cl.exe warning IDs that cleany map to clang diagnostic groups, returns the corresponding group.

Else, returns an empty Optional.

Definition at line 20 of file CLWarnings.cpp.

◆ diagnoseRetainCycle()

static void clang::diagnoseRetainCycle ( Sema S,
Expr capturer,
RetainCycleOwner &  owner 
)
static

Definition at line 959 of file SemaObjC.cpp.

Referenced by clang::SemaObjC::checkRetainCycles().

◆ doesKeywordAttributeTakeArgs()

bool clang::doesKeywordAttributeTakeArgs ( tok::TokenKind  Kind)
inline

Definition at line 259 of file AttributeCommonInfo.h.

◆ DoPrintPreprocessedInput()

void clang::DoPrintPreprocessedInput ( Preprocessor PP,
raw_ostream *  OS,
const PreprocessorOutputOptions Opts 
)

DoPrintPreprocessedInput - Implement -E mode.

DoPrintPreprocessedInput - This implements -E mode.

Definition at line 1018 of file PrintPreprocessedOutput.cpp.

References clang::Preprocessor::addPPCallbacks(), clang::Preprocessor::AddPragmaHandler(), clang::PreprocessorOutputOptions::DirectivesOnly, DoPrintMacros(), clang::Preprocessor::EnterMainSourceFile(), clang::comments::tok::eof, clang::PresumedLoc::getFilename(), clang::Preprocessor::getLangOpts(), clang::Token::getLocation(), clang::Preprocessor::getPreprocessorOpts(), clang::SourceManager::getPresumedLoc(), clang::Preprocessor::getSourceManager(), clang::PreprocessorOptions::IncludeFooter, clang::Token::is(), clang::SourceLocation::isFileID(), clang::PresumedLoc::isInvalid(), clang::PreprocessorOutputOptions::KeepSystemIncludes, clang::Preprocessor::Lex(), Loc, clang::PreprocessorOutputOptions::MinimizeWhitespace, PrintIncludeFooter(), PrintPreprocessedTokens(), clang::Preprocessor::RemovePragmaHandler(), clang::Preprocessor::SetCommentRetentionState(), clang::Preprocessor::SetMacroExpansionOnlyInDirectives(), clang::PreprocessorOutputOptions::ShowComments, clang::PreprocessorOutputOptions::ShowCPP, clang::PreprocessorOutputOptions::ShowIncludeDirectives, clang::PreprocessorOutputOptions::ShowLineMarkers, clang::PreprocessorOutputOptions::ShowMacroComments, clang::PreprocessorOutputOptions::ShowMacros, and clang::PreprocessorOutputOptions::UseLineDirectives.

Referenced by clang::PrintPreprocessedAction::ExecuteAction().

◆ DoRewriteTest()

void clang::DoRewriteTest ( Preprocessor PP,
raw_ostream *  OS 
)

DoRewriteTest - A simple test for the TokenRewriter class.

Definition at line 18 of file RewriteTest.cpp.

References clang::Preprocessor::getSourceManager(), and SM.

Referenced by clang::RewriteTestAction::ExecuteAction().

◆ EmbedBitcode()

void clang::EmbedBitcode ( llvm::Module *  M,
const CodeGenOptions CGOpts,
llvm::MemoryBufferRef  Buf 
)

◆ EmbedObject()

void clang::EmbedObject ( llvm::Module *  M,
const CodeGenOptions CGOpts,
DiagnosticsEngine Diags 
)

◆ EmitBackendOutput()

void clang::EmitBackendOutput ( DiagnosticsEngine Diags,
const HeaderSearchOptions HeaderOpts,
const CodeGenOptions CGOpts,
const TargetOptions TOpts,
const LangOptions LOpts,
StringRef  TDesc,
llvm::Module *  M,
BackendAction  Action,
llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem >  VFS,
std::unique_ptr< raw_pwrite_stream >  OS,
BackendConsumer BC = nullptr 
)

◆ escapeCStyle()

template<EscapeChar Opt, class CharT >
LLVM_READONLY auto clang::escapeCStyle ( CharT  Ch) -> StringRef
inline

Return C-style escaped string for special characters, or an empty string if there is no such mapping.

Definition at line 191 of file CharInfo.h.

References Double, and Single.

◆ EscapeStringForDiagnostic()

void clang::EscapeStringForDiagnostic ( StringRef  Str,
SmallVectorImpl< char > &  OutStr 
)

EscapeStringForDiagnostic - Append Str to the diagnostic buffer, escaping non-printable characters and ill-formed code unit sequences.

Definition at line 805 of file Diagnostic.cpp.

References Begin, End, isPrintable(), and isWhitespace().

Referenced by WriteCharValueForDiagnostic().

◆ exceptionSpecNotKnownYet()

static bool clang::exceptionSpecNotKnownYet ( const FunctionDecl FD)
static

◆ ExecuteCompilerInvocation()

bool clang::ExecuteCompilerInvocation ( CompilerInstance Clang)

◆ expandSanitizerGroups()

SanitizerMask clang::expandSanitizerGroups ( SanitizerMask  Kinds)

For each sanitizer group bit set in Kinds, set the bits for sanitizers this group enables.

Definition at line 47 of file Sanitizers.cpp.

Referenced by describeSanitizeArg(), lastArgumentForMask(), and clang::driver::SanitizerArgs::SanitizerArgs().

◆ expandUCNs()

void clang::expandUCNs ( SmallVectorImpl< char > &  Buf,
StringRef  Input 
)

Copy characters from Input to Buf, expanding any UCNs.

Definition at line 380 of file LiteralSupport.cpp.

References appendCodePoint().

Referenced by clang::CharLiteralParser::CharLiteralParser(), and clang::Preprocessor::LookUpIdentifierInfo().

◆ ExprEmpty()

ExprResult clang::ExprEmpty ( )
inline

Definition at line 271 of file Ownership.h.

◆ ExprError() [1/2]

ExprResult clang::ExprError ( )
inline

Definition at line 264 of file Ownership.h.

Referenced by clang::Sema::ActOnBuiltinBitCastExpr(), clang::Sema::ActOnCaseExpr(), clang::Sema::ActOnCharacterConstant(), clang::Sema::ActOnCXXAssumeAttr(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXNamedCast(), clang::Sema::ActOnCXXNew(), clang::Sema::ActOnCXXThis(), clang::Sema::ActOnCXXTypeConstructExpr(), clang::Sema::ActOnCXXTypeid(), clang::Sema::ActOnDecltypeExpression(), clang::Sema::ActOnDependentIdExpression(), clang::Sema::ActOnDependentMemberExpr(), clang::Sema::ActOnExpressionTrait(), clang::Sema::ActOnFinishFullExpr(), clang::Sema::ActOnNumericConstant(), clang::SemaObjC::ActOnObjCAtSynchronizedOperand(), clang::Sema::ActOnRequiresClause(), clang::Sema::ActOnRequiresExpr(), clang::Sema::ActOnStmtExprResult(), clang::Sema::ActOnStringLiteral(), clang::Sema::ActOnUnaryExprOrTypeTraitExpr(), clang::Sema::ActOnUnevaluatedStringLiteral(), clang::SemaSYCL::ActOnUniqueStableNameExpr(), clang::SemaOpenACC::ActOnVar(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBuiltinBitCastExpr(), clang::Sema::BuildCallExpr(), clang::Sema::BuildCoyieldExpr(), clang::Sema::BuildCStyleCastExpr(), clang::Sema::BuildCXXAssumeExpr(), clang::Sema::BuildCXXConstructExpr(), clang::Sema::BuildCXXDefaultArgExpr(), clang::Sema::BuildCXXDefaultInitExpr(), clang::Sema::BuildCXXFunctionalCastExpr(), clang::Sema::BuildCXXNamedCast(), clang::Sema::BuildCXXNoexceptExpr(), clang::Sema::BuildCXXTypeConstructExpr(), clang::Sema::BuildCXXTypeId(), clang::Sema::BuildCXXUuidof(), clang::Sema::BuildDeclarationNameExpr(), clang::Sema::BuildExpressionTrait(), clang::Sema::BuildLambdaExpr(), clang::Sema::BuildLiteralOperatorCall(), clang::Sema::BuildPseudoDestructorExpr(), clang::Sema::BuildQualifiedDeclarationNameExpr(), clang::Sema::BuildQualifiedTemplateIdExpr(), clang::Sema::BuildResolvedCallExpr(), clang::Sema::BuildResolvedCoawaitExpr(), clang::SemaSYCL::BuildSYCLBuiltinBaseTypeExpr(), clang::SemaSYCL::BuildSYCLBuiltinFieldTypeExpr(), clang::SemaSYCL::BuildSYCLBuiltinNumBasesExpr(), clang::SemaSYCL::BuildSYCLBuiltinNumFieldsExpr(), clang::Sema::BuildSynthesizedThreeWayComparison(), clang::Sema::BuildTemplateIdExpr(), clang::Sema::BuildTypeTrait(), clang::SemaSYCL::BuildUniqueStableIdExpr(), clang::Sema::BuildUnresolvedCoawaitExpr(), clang::Sema::BuildVAArgExpr(), clang::Sema::BuildVectorLiteral(), clang::Sema::BuiltinShuffleVector(), clang::Sema::CheckBooleanCondition(), clang::Sema::CheckConditionVariable(), CheckConvertibilityForTypeTraits(), clang::SemaPseudoObject::checkIncDec(), clang::Sema::CheckLValueToRValueConversionOperand(), clang::Sema::CheckPackExpansion(), clang::SemaOpenACC::CheckReductionVar(), clang::Sema::checkUnknownAnyArg(), clang::Sema::checkUnknownAnyCast(), clang::Sema::CheckVarTemplateId(), clang::Sema::ConvertVectorExpr(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateBuiltinUnaryOp(), clang::Sema::CreateOverloadedArraySubscriptExpr(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), clang::Sema::DefaultArgumentPromotion(), clang::Sema::DefaultFunctionArrayConversion(), clang::Sema::DefaultFunctionArrayLvalueConversion(), clang::Sema::DefaultLvalueConversion(), clang::Sema::DefaultVariadicArgumentPromotion(), diagnoseAmbiguousConversion(), clang::Sema::EvaluateConvertedConstantExpression(), clang::Sema::EvaluateStaticAssertMessageAsString(), ExprError(), clang::Sema::FixOverloadedFunctionReference(), clang::SemaOpenMP::getOpenMPCapturedExpr(), clang::Sema::HandleExprEvaluationContextForTypeof(), clang::Sema::ImpCastExprToType(), clang::Sema::LookupInlineAsmIdentifier(), clang::Sema::MaybeBindToTemporary(), clang::Sema::MaybeCreateExprWithCleanups(), clang::Parser::ParseAssignmentExpression(), clang::Parser::ParseConditionalExpression(), clang::Parser::ParseConstraintExpression(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::Parser::ParseConstraintLogicalOrExpression(), clang::Parser::ParseOpenMPParensExpr(), clang::Sema::PerformContextuallyConvertToBool(), clang::Sema::PerformContextuallyConvertToObjCPointer(), clang::Sema::PerformCopyInitialization(), clang::Sema::PerformImplicitConversion(), clang::SemaOpenMP::PerformOpenMPImplicitIntegerConversion(), clang::TreeTransform< Derived >::RebuildCoawaitExpr(), clang::TreeTransform< Derived >::RebuildCXXConstructExpr(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), clang::TreeTransform< Derived >::RebuildCXXThisExpr(), clang::TreeTransform< Derived >::RebuildDesignatedInitExpr(), clang::TreeTransform< Derived >::RebuildUnaryExprOrTypeTrait(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), clang::Sema::TemporaryMaterializationConversion(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformRequiresTypeParams(), TryReinterpretCast(), TryStaticCast(), clang::Sema::tryToRecoverWithCall(), clang::Sema::UsualUnaryConversions(), clang::Sema::VerifyBitField(), clang::SemaOpenMP::VerifyPositiveIntegerConstantInClause(), and widenIterationCount().

◆ ExprError() [2/2]

ExprResult clang::ExprError ( const StreamingDiagnostic )
inline

Definition at line 268 of file Ownership.h.

References ExprError().

◆ extractElementInitializerFromNestedAILE()

Expr * clang::extractElementInitializerFromNestedAILE ( const ArrayInitLoopExpr AILE)

Definition at line 1360 of file CFG.cpp.

References clang::ArrayInitLoopExpr::getSubExpr().

Referenced by bindRequiredArrayElementToEnvironment().

◆ finalize()

template<class TemplateInstantiationCallbackPtrs >
void clang::finalize ( TemplateInstantiationCallbackPtrs &  Callbacks,
const Sema TheSema 
)

◆ findCapturingExpr()

static Expr* clang::findCapturingExpr ( Sema S,
Expr e,
RetainCycleOwner &  owner 
)
static

Check whether the given argument is a block which captures a variable.

Definition at line 924 of file SemaObjC.cpp.

Referenced by clang::SemaObjC::checkRetainCycles().

◆ findRetainCycleOwner()

static bool clang::findRetainCycleOwner ( Sema S,
Expr e,
RetainCycleOwner &  owner 
)
static

Definition at line 783 of file SemaObjC.cpp.

Referenced by clang::SemaObjC::checkRetainCycles().

◆ FixedPointValueToString()

void clang::FixedPointValueToString ( SmallVectorImpl< char > &  Str,
llvm::APSInt  Val,
unsigned  Scale 
)

Definition at line 5007 of file Type.cpp.

◆ for() [1/4]

clang::for ( auto typeArg :T->  getTypeArgsAsWritten())

Definition at line 1174 of file RecursiveASTVisitor.h.

References TRY_TO().

◆ for() [2/4]

clang::for ( const auto &A :T->  param_types())

◆ for() [3/4]

clang::for ( const auto &E :T->  exceptions())

Definition at line 1073 of file RecursiveASTVisitor.h.

References TRY_TO().

◆ for() [4/4]

clang::for ( unsigned  I = 0,
= TL.getNumParams(); I != E; ++I 
)
Initial value:
{
TRY_TO(TraverseTemplateName(TL.getTypePtr()->getTemplateName()))
#define TRY_TO(CALL_EXPR)

Definition at line 1355 of file RecursiveASTVisitor.h.

References clang::FunctionProtoType::getParamType(), T, and TRY_TO().

◆ FormatASTNodeDiagnosticArgument()

void clang::FormatASTNodeDiagnosticArgument ( DiagnosticsEngine::ArgumentKind  Kind,
intptr_t  Val,
StringRef  Modifier,
StringRef  Argument,
ArrayRef< DiagnosticsEngine::ArgumentValue PrevArgs,
SmallVectorImpl< char > &  Output,
void *  Cookie,
ArrayRef< intptr_t QualTypeVals 
)

DiagnosticsEngine argument formatting function for diagnostics that involve AST nodes.

This function formats diagnostic arguments for various AST nodes, including types, declaration names, nested name specifiers, and declaration contexts, into strings that can be printed as part of diagnostics. It is meant to be used as the argument to DiagnosticsEngine::SetArgToStringFn(), where the cookie is an ASTContext pointer.

Definition at line 356 of file ASTDiagnostic.cpp.

Referenced by clang::ASTMergeAction::ExecuteAction().

◆ FTIHasNonVoidParameters()

bool clang::FTIHasNonVoidParameters ( const DeclaratorChunk::FunctionTypeInfo FTI)
inline

◆ FTIHasSingleVoidParameter()

bool clang::FTIHasSingleVoidParameter ( const DeclaratorChunk::FunctionTypeInfo FTI)
inline

◆ getAccessSpelling()

llvm::StringRef clang::getAccessSpelling ( AccessSpecifier  AS)
inline

Definition at line 398 of file Specifiers.h.

References AS_none, AS_private, AS_protected, and AS_public.

Referenced by clang::TextNodeDumper::dumpAccessSpecifier().

◆ getAllPossibleAMDGPUTargetIDFeatures()

static llvm::SmallVector<llvm::StringRef, 4> clang::getAllPossibleAMDGPUTargetIDFeatures ( const llvm::Triple &  T,
llvm::StringRef  Proc 
)
static

Definition at line 20 of file TargetID.cpp.

References clang::interp::Ret(), and T.

Referenced by getAllPossibleTargetIDFeatures().

◆ getAllPossibleTargetIDFeatures()

llvm::SmallVector< llvm::StringRef, 4 > clang::getAllPossibleTargetIDFeatures ( const llvm::Triple &  T,
llvm::StringRef  Processor 
)

Get all feature strings that can be used in target ID for Processor.

Target ID is a processor name with optional feature strings postfixed by a plus or minus sign delimited by colons, e.g. gfx908:xnack+:sramecc-. Each processor have a limited number of predefined features when showing up in a target ID.

Definition at line 38 of file TargetID.cpp.

References getAllPossibleAMDGPUTargetIDFeatures(), clang::interp::Ret(), and T.

Referenced by clang::driver::tools::amdgpu::getAMDGPUTargetFeatures(), clang::targets::AMDGPUTargetInfo::handleTargetFeatures(), and parseTargetID().

◆ getAnyTargetForTesting()

std::string clang::getAnyTargetForTesting ( )

Find a target name such that looking for it in TargetRegistry by that name returns the same target.

We expect that there is at least one target configured with this property.

Definition at line 120 of file CommandLineArgs.cpp.

◆ getAsFileEvents()

std::vector< DirectoryWatcher::Event > clang::getAsFileEvents ( const std::vector< std::string > &  Scan)

Create event with EventKind::Added for every element in Scan.

Definition at line 44 of file DirectoryScanner.cpp.

References File, clang::DirectoryWatcher::Event::Modified, and Scan().

◆ getAsNamedDecl()

NamedDecl * clang::getAsNamedDecl ( TemplateParameter  P)
inline

Definition at line 3289 of file DeclTemplate.h.

References P.

◆ getAsString()

llvm::StringRef clang::getAsString ( SyncScope  S)
inline

◆ getAsTypeTemplateDecl()

TemplateDecl* clang::getAsTypeTemplateDecl ( Decl D)
inline

Definition at line 3297 of file DeclTemplate.h.

Referenced by clang::FunctionCallFilterCCC::ValidateCandidate().

◆ getAttributePluginInstances()

const std::list< std::unique_ptr< ParsedAttrInfo > > & clang::getAttributePluginInstances ( )

Definition at line 24 of file ParsedAttrInfo.cpp.

Referenced by clang::ParsedAttrInfo::get().

◆ getBinOpPrecedence()

prec::Level clang::getBinOpPrecedence ( tok::TokenKind  Kind,
bool  GreaterThanIsOperator,
bool  CPlusPlus11 
)

◆ getCanonicalForwardRedeclChain() [1/2]

SmallVector< Decl *, 2 > clang::getCanonicalForwardRedeclChain ( Decl D)

◆ getCanonicalForwardRedeclChain() [2/2]

template<class T >
SmallVector<Decl *, 2> clang::getCanonicalForwardRedeclChain ( Redeclarable< T > *  D)

Definition at line 110 of file ASTImporter.cpp.

References clang::Redeclarable< decl_type >::getFirstDecl().

◆ getCanonicalProcessorName()

static llvm::StringRef clang::getCanonicalProcessorName ( const llvm::Triple &  T,
llvm::StringRef  Processor 
)
static

Returns canonical processor name or empty string if Processor is invalid.

Definition at line 47 of file TargetID.cpp.

References T.

Referenced by getProcessorFromTargetID(), and parseTargetID().

◆ getCanonicalTargetID()

std::string clang::getCanonicalTargetID ( llvm::StringRef  Processor,
const llvm::StringMap< bool > &  Features 
)

Returns canonical target ID, assuming Processor is canonical and all entries in Features are valid.

Definition at line 130 of file TargetID.cpp.

Referenced by getCanonicalArchString(), and clang::targets::AMDGPUTargetInfo::getTargetID().

◆ getCC1ArgsForTesting()

std::vector< std::string > clang::getCC1ArgsForTesting ( TestLanguage  Lang)

◆ getClangCompleteOpts()

clang::CodeCompleteOptions clang::getClangCompleteOpts ( )

◆ getClangFullCPPVersion()

std::string clang::getClangFullCPPVersion ( )

Retrieves a string representing the complete clang version suitable for use in the CPP VERSION macro, which includes the clang version number, the repository version, and the vendor tag.

Definition at line 113 of file Version.cpp.

References getClangFullRepositoryVersion(), and getClangVendor().

◆ getClangFullRepositoryVersion()

std::string clang::getClangFullRepositoryVersion ( )

◆ getClangFullVersion()

std::string clang::getClangFullVersion ( )

Retrieves a string representing the complete clang version, which includes the clang version number, the repository version, and the vendor tag.

Definition at line 96 of file Version.cpp.

References getClangToolFullVersion().

Referenced by clang::driver::Driver::generateCompilationDiagnostics(), and clang::driver::Driver::PrintVersion().

◆ getClangRepositoryPath()

std::string clang::getClangRepositoryPath ( )

Retrieves the repository path (e.g., Subversion path) that identifies the particular Clang branch, tag, or trunk from which this Clang was built.

Definition at line 24 of file Version.cpp.

Referenced by getClangFullRepositoryVersion().

◆ getClangRevision()

std::string clang::getClangRevision ( )

Retrieves the repository revision number (or identifier) from which this Clang was built.

Definition at line 44 of file Version.cpp.

Referenced by getClangFullRepositoryVersion().

◆ getClangToolFullVersion() [1/2]

std::string clang::getClangToolFullVersion ( llvm::StringRef  ToolName)

Like getClangFullVersion(), but with a custom tool name.

Referenced by getClangFullVersion(), and clang::driver::Driver::PrintVersion().

◆ getClangToolFullVersion() [2/2]

std::string clang::getClangToolFullVersion ( StringRef  ToolName)

Definition at line 100 of file Version.cpp.

References getClangFullRepositoryVersion(), and getClangVendor().

◆ getClangVendor()

std::string clang::getClangVendor ( )

Retrieves the Clang vendor tag.

Definition at line 60 of file Version.cpp.

Referenced by getClangFullCPPVersion(), getClangToolFullVersion(), and clang::CodeGen::CodeGenModule::Release().

◆ getCommandLineArgsForTesting()

std::vector< std::string > clang::getCommandLineArgsForTesting ( TestLanguage  Lang)

◆ getComparisonCategoryForBuiltinCmp()

std::optional< ComparisonCategoryType > clang::getComparisonCategoryForBuiltinCmp ( QualType  T)

Get the comparison category that should be used when comparing values of type T.

Definition at line 25 of file ComparisonCategories.cpp.

References clang::Type::isIntegralOrEnumerationType(), clang::Type::isObjectPointerType(), clang::Type::isRealFloatingType(), and T.

◆ getCompletionComment()

const RawComment * clang::getCompletionComment ( const ASTContext Ctx,
const NamedDecl Decl 
)

Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Declaration.

Definition at line 3767 of file SemaCodeComplete.cpp.

References clang::ObjCPropertyDecl::findPropertyDecl(), and clang::ASTContext::getRawCommentForAnyRedecl().

Referenced by clang::CodeCompletionResult::createCodeCompletionStringForDecl().

◆ getCompletionKindString()

StringRef clang::getCompletionKindString ( CodeCompletionContext::Kind  Kind)

Get string representation of Kind, useful for debugging.

Definition at line 94 of file CodeCompleteConsumer.cpp.

◆ getConflictTargetIDCombination()

std::optional< std::pair< llvm::StringRef, llvm::StringRef > > clang::getConflictTargetIDCombination ( const std::set< llvm::StringRef > &  TargetIDs)

Get the conflicted pair of target IDs for a compilation or a bundled code object, assuming TargetIDs are canonicalized.

If there is no conflicts, returns std::nullopt.

Definition at line 145 of file TargetID.cpp.

References ID, Loc, and parseTargetIDWithFormatCheckingOnly().

Referenced by CheckHeterogeneousArchive(), and getConflictOffloadArchCombination().

◆ getConstructorInfo()

ConstructorInfo clang::getConstructorInfo ( NamedDecl ND)
inline

◆ GetConversionRank()

ImplicitConversionRank clang::GetConversionRank ( ImplicitConversionKind  Kind)

GetConversionRank - Retrieve the implicit conversion rank corresponding to the given implicit conversion kind.

Definition at line 129 of file SemaOverload.cpp.

References ICK_Num_Conversion_Kinds, ICR_C_Conversion, ICR_C_Conversion_Extension, ICR_Complex_Real_Conversion, ICR_Conversion, ICR_Exact_Match, ICR_OCL_Scalar_Widening, ICR_Promotion, ICR_Writeback_Conversion, and int.

Referenced by clang::StandardConversionSequence::getRank().

◆ getCursorKindForDecl()

CXCursorKind clang::getCursorKindForDecl ( const Decl D)

◆ getDeclUsageType()

QualType clang::getDeclUsageType ( ASTContext C,
const NamedDecl ND 
)

Determine the type that this declaration will have if it is used as a type or in an expression.

Get the type that a given expression will have if this declaration is used as an expression in its "typical" code-completion form.

Definition at line 940 of file SemaCodeComplete.cpp.

References Block, Function, clang::Type::getAs(), clang::Decl::getAsFunction(), clang::Type::getPointeeType(), clang::Value::getType(), clang::NamedDecl::getUnderlyingDecl(), Property, and T.

◆ getDefaultLanguageStandard()

LangStandard::Kind clang::getDefaultLanguageStandard ( clang::Language  Lang,
const llvm::Triple &  T 
)

Definition at line 92 of file LangStandards.cpp.

References Asm, C, CIR, CUDA, CXX, HIP, HLSL, LLVM_IR, ObjC, ObjCXX, OpenCL, OpenCLCXX, RenderScript, T, and Unknown.

Referenced by clang::LangOptions::setLangDefaults().

◆ getDepthAndIndex() [1/2]

std::pair<unsigned, unsigned> clang::getDepthAndIndex ( NamedDecl ND)
inline

Retrieve the depth and index of a template parameter.

Definition at line 65 of file SemaInternal.h.

Referenced by getDepthAndIndex().

◆ getDepthAndIndex() [2/2]

std::pair<unsigned, unsigned> clang::getDepthAndIndex ( UnexpandedParameterPack  UPP)
inline

Retrieve the depth and index of an unexpanded parameter pack.

Definition at line 78 of file SemaInternal.h.

References getDepthAndIndex().

◆ getDLLAttr()

InheritableAttr* clang::getDLLAttr ( Decl D)
inline

◆ getExpandedPackSize()

std::optional<unsigned> clang::getExpandedPackSize ( const NamedDecl Param)
inline

Check whether the template parameter is a pack expansion, and if so, determine the number of parameters produced by that expansion.

For instance:

template<typename ...Ts> struct A {
template<Ts ...NTs, template<Ts> class ...TTs, typename ...Us> struct B;
};

In A<int,int>::B, NTs and TTs have expanded pack size 2, and Us is not a pack expansion, so returns an empty Optional.

Definition at line 3318 of file DeclTemplate.h.

Referenced by clang::Sema::CheckTemplateArgumentList().

◆ getFilenameForTesting()

StringRef clang::getFilenameForTesting ( TestLanguage  Lang)

◆ getFileStatus() [1/2]

std::optional<llvm::sys::fs::file_status> clang::getFileStatus ( llvm::StringRef  Path)

Gets status of file (or directory) at Path.

Returns
std::nullopt if Path doesn't exist or can't get the status.

◆ getFileStatus() [2/2]

std::optional<sys::fs::file_status> clang::getFileStatus ( StringRef  Path)

Definition at line 18 of file DirectoryScanner.cpp.

Referenced by scanDirectory().

◆ getFormalLinkage()

Linkage clang::getFormalLinkage ( Linkage  L)
inline

Definition at line 106 of file Linkage.h.

References External, None, UniqueExternal, and VisibleNone.

Referenced by clang::NamedDecl::getFormalLinkage(), and isExternalFormalLinkage().

◆ GetFullTypeName()

std::string clang::GetFullTypeName ( ASTContext Ctx,
QualType  QT 
)

◆ getFunctionExtInfo() [1/2]

FunctionType::ExtInfo clang::getFunctionExtInfo ( const Type t)
inline

Definition at line 7523 of file Type.h.

References clang::Type::getAs().

Referenced by getFunctionExtInfo(), and clang::ASTContext::mergeObjCGCQualifiers().

◆ getFunctionExtInfo() [2/2]

FunctionType::ExtInfo clang::getFunctionExtInfo ( QualType  t)
inline

Definition at line 7533 of file Type.h.

References getFunctionExtInfo().

◆ getIntervalWTO()

std::optional< std::vector< const CFGBlock * > > clang::getIntervalWTO ( const CFG Cfg)

◆ getIssueHash()

llvm::SmallString<32> clang::getIssueHash ( const FullSourceLoc IssueLoc,
llvm::StringRef  CheckerName,
llvm::StringRef  WarningMessage,
const Decl IssueDecl,
const LangOptions LangOpts 
)

Returns an opaque identifier for a diagnostic.

This opaque identifier is intended to be stable even when the source code is changed. It allows to track diagnostics in the long term, for example, find which diagnostics are "new", maintain a database of suppressed diagnostics etc.

We may introduce more variants of issue hashes in the future but older variants will still be available for compatibility.

This hash is based on the following information:

  • Name of the checker that emitted the diagnostic.
  • Warning message.
  • Name of the enclosing declaration.
  • Contents of the line of code with the issue, excluding whitespace.
  • Column number (but not the line number! - which makes it stable).

Referenced by getIssueHash().

◆ getIssueString()

std::string clang::getIssueString ( const FullSourceLoc IssueLoc,
llvm::StringRef  CheckerName,
llvm::StringRef  WarningMessage,
const Decl IssueDecl,
const LangOptions LangOpts 
)

Get the unhashed string representation of the V1 issue hash.

When hashed, it becomes the actual issue hash. Useful for testing. See GetIssueHashV1() for more information.

◆ getKeywordSelector()

template<typename... IdentifierInfos>
static Selector clang::getKeywordSelector ( ASTContext Ctx,
const IdentifierInfos *...  IIs 
)
inlinestatic

◆ getLambdaAwareParentOfDeclContext()

DeclContext* clang::getLambdaAwareParentOfDeclContext ( DeclContext DC)
inline

◆ getLambdaStaticInvokerName()

StringRef clang::getLambdaStaticInvokerName ( )
inline

Definition at line 22 of file ASTLambda.h.

Referenced by clang::CXXMethodDecl::isLambdaStaticInvoker().

◆ getLangASFromTargetAS()

LangAS clang::getLangASFromTargetAS ( unsigned  TargetAS)
inline

◆ getLastArgIntValue() [1/3]

int clang::getLastArgIntValue ( const ArgList &  Args,
OptSpecifier  Id,
int  Default,
DiagnosticsEngine Diags,
unsigned  Base 
)

Definition at line 36 of file OptionUtils.cpp.

References Default, and Id.

◆ getLastArgIntValue() [2/3]

int clang::getLastArgIntValue ( const llvm::opt::ArgList &  Args,
llvm::opt::OptSpecifier  Id,
int  Default,
DiagnosticsEngine Diags,
unsigned  Base = 0 
)
inline

Definition at line 37 of file OptionUtils.h.

References Default, getLastArgIntValue(), and Id.

◆ getLastArgIntValue() [3/3]

int clang::getLastArgIntValue ( const llvm::opt::ArgList &  Args,
llvm::opt::OptSpecifier  Id,
int  Default,
DiagnosticsEngine Diags = nullptr,
unsigned  Base = 0 
)

Return the value of the last argument as an integer, or a default.

If Diags is non-null, emits an error if the argument is given, but non-integral.

Referenced by getLastArgIntValue().

◆ getLastArgUInt64Value() [1/3]

uint64_t clang::getLastArgUInt64Value ( const ArgList &  Args,
OptSpecifier  Id,
uint64_t  Default,
DiagnosticsEngine Diags,
unsigned  Base 
)

Definition at line 41 of file OptionUtils.cpp.

References Default, and Id.

◆ getLastArgUInt64Value() [2/3]

uint64_t clang::getLastArgUInt64Value ( const llvm::opt::ArgList &  Args,
llvm::opt::OptSpecifier  Id,
uint64_t  Default,
DiagnosticsEngine Diags,
unsigned  Base = 0 
)
inline

Definition at line 48 of file OptionUtils.h.

References Default, getLastArgUInt64Value(), and Id.

◆ getLastArgUInt64Value() [3/3]

uint64_t clang::getLastArgUInt64Value ( const llvm::opt::ArgList &  Args,
llvm::opt::OptSpecifier  Id,
uint64_t  Default,
DiagnosticsEngine Diags = nullptr,
unsigned  Base = 0 
)

Referenced by getLastArgUInt64Value().

◆ getLLVMRepositoryPath()

std::string clang::getLLVMRepositoryPath ( )

Retrieves the repository path from which LLVM was built.

This supports LLVM residing in a separate repository from clang.

Definition at line 36 of file Version.cpp.

Referenced by getClangFullRepositoryVersion().

◆ getLLVMRevision()

std::string clang::getLLVMRevision ( )

Retrieves the repository revision number (or identifier) from which LLVM was built.

If Clang and LLVM are in the same repository, this returns the same string as getClangRevision.

Definition at line 52 of file Version.cpp.

Referenced by getClangFullRepositoryVersion().

◆ getMacroUsagePriority()

unsigned clang::getMacroUsagePriority ( StringRef  MacroName,
const LangOptions LangOpts,
bool  PreferredTypeIsPointer = false 
)

Determine the priority to be given to a macro code completion result with the given name.

Parameters
MacroNameThe name of the macro.
LangOptsOptions describing the current language dialect.
PreferredTypeIsPointerWhether the preferred type for the context of this macro is a pointer type.

Definition at line 4049 of file SemaCodeComplete.cpp.

◆ GetNSMutableArrayArgumentIndex()

static std::optional<int> clang::GetNSMutableArrayArgumentIndex ( SemaObjC S,
ObjCMessageExpr Message 
)
static

Definition at line 994 of file SemaObjC.cpp.

Referenced by clang::SemaObjC::CheckObjCCircularContainer().

◆ GetNSMutableDictionaryArgumentIndex()

static std::optional<int> clang::GetNSMutableDictionaryArgumentIndex ( SemaObjC S,
ObjCMessageExpr Message 
)
static

Definition at line 1027 of file SemaObjC.cpp.

Referenced by clang::SemaObjC::CheckObjCCircularContainer().

◆ GetNSSetArgumentIndex()

static std::optional<int> clang::GetNSSetArgumentIndex ( SemaObjC S,
ObjCMessageExpr Message 
)
static

Definition at line 1057 of file SemaObjC.cpp.

Referenced by clang::SemaObjC::CheckObjCCircularContainer().

◆ getNullabilitySpelling()

StringRef clang::getNullabilitySpelling ( NullabilityKind  kind,
bool  isContextSensitive = false 
)

Retrieve the spelling of the given nullability kind.

Definition at line 803 of file IdentifierTable.cpp.

Referenced by clang::extractapi::DeclarationFragmentsBuilder::getFragmentsForObjCProperty(), and operator<<().

◆ GetNullarySelector()

Selector clang::GetNullarySelector ( StringRef  name,
ASTContext Ctx 
)
inline

Utility function for constructing a nullary selector.

Definition at line 3439 of file ASTContext.h.

References clang::IdentifierTable::get(), clang::SelectorTable::getSelector(), clang::ASTContext::Idents, clang::transformer::name(), and clang::ASTContext::Selectors.

◆ getOpenMPCaptureRegions()

void clang::getOpenMPCaptureRegions ( llvm::SmallVectorImpl< OpenMPDirectiveKind > &  CaptureRegions,
OpenMPDirectiveKind  DKind 
)

◆ getOpenMPSimpleClauseType()

unsigned clang::getOpenMPSimpleClauseType ( OpenMPClauseKind  Kind,
llvm::StringRef  Str,
const LangOptions LangOpts 
)

◆ getOpenMPSimpleClauseTypeName()

const char * clang::getOpenMPSimpleClauseTypeName ( OpenMPClauseKind  Kind,
unsigned  Type 
)

◆ getOpenMPVariantManglingSeparatorStr()

static constexpr StringRef clang::getOpenMPVariantManglingSeparatorStr ( )
staticconstexpr

OpenMP variants are mangled early based on their OpenMP context selector.

The new name looks likes this: <name> + OpenMPVariantManglingSeparatorStr + <mangled OpenMP context>

Definition at line 5050 of file Decl.h.

◆ getOperatorSpelling()

const char * clang::getOperatorSpelling ( OverloadedOperatorKind  Operator)

Retrieve the spelling of the given overloaded operator, without the preceding "operator" keyword.

Definition at line 789 of file IdentifierTable.cpp.

References NUM_OVERLOADED_OPERATORS, and OO_None.

Referenced by clang::Sema::CreateOverloadedBinOp(), clang::TemplateName::print(), printMemFnName(), and clang::TextNodeDumper::VisitCXXOperatorCallExpr().

◆ getParameterABISpelling()

StringRef clang::getParameterABISpelling ( ParameterABI  kind)

◆ getParameterComment()

const RawComment * clang::getParameterComment ( const ASTContext Ctx,
const CodeCompleteConsumer::OverloadCandidate Result,
unsigned  ArgIndex 
)

Get the documentation comment used to produce CodeCompletionString::BriefComment for OverloadCandidate.

Definition at line 3808 of file SemaCodeComplete.cpp.

References clang::ASTContext::getRawCommentForAnyRedecl().

◆ getPatternCompletionComment()

const RawComment * clang::getPatternCompletionComment ( const ASTContext Ctx,
const NamedDecl Decl 
)

Get the documentation comment used to produce CodeCompletionString::BriefComment for RK_Pattern.

Definition at line 3785 of file SemaCodeComplete.cpp.

References clang::ObjCPropertyDecl::findPropertyDecl(), clang::ObjCPropertyDecl::getGetterName(), clang::NamedDecl::getIdentifier(), and clang::ASTContext::getRawCommentForAnyRedecl().

◆ getPPTransparentSanitizers()

SanitizerMask clang::getPPTransparentSanitizers ( )
inline

Return the sanitizers which do not affect preprocessing.

Definition at line 198 of file Sanitizers.h.

References clang::RISCV::Undefined.

Referenced by clang::CompilerInvocation::getModuleHash().

◆ getPrimaryMergedDecl()

Decl * clang::getPrimaryMergedDecl ( Decl D)

Get the primary declaration for a declaration from an AST file.

That will be the first-loaded declaration.

Definition at line 77 of file Decl.cpp.

References clang::Decl::getASTContext(), and clang::ASTContext::getPrimaryMergedDecl().

Referenced by clang::ConceptDecl::getCanonicalDecl(), and clang::Mergeable< decl_type >::getFirstDecl().

◆ getProcessorFromTargetID()

llvm::StringRef clang::getProcessorFromTargetID ( const llvm::Triple &  T,
llvm::StringRef  OffloadArch 
)

◆ getReplacedTemplateParameterList()

TemplateParameterList * clang::getReplacedTemplateParameterList ( Decl D)

◆ getRewrittenOverloadedOperator()

OverloadedOperatorKind clang::getRewrittenOverloadedOperator ( OverloadedOperatorKind  Kind)
inline

Get the other overloaded operator that the given operator can be rewritten into, if any such operator exists.

Definition at line 36 of file OperatorKinds.h.

References OO_None.

Referenced by clang::OverloadCandidateSet::OperatorRewriteInfo::isAcceptableCandidate(), clang::OverloadCandidateSet::OperatorRewriteInfo::isReversible(), and clang::Sema::LookupOverloadedBinOp().

◆ getSimplifiedTypeClass()

SimplifiedTypeClass clang::getSimplifiedTypeClass ( CanQualType  T)

Determine the simplified type class of the given canonical type.

A simplified classification of types used to determine whether two types are "similar enough" when adjusting priorities.

Definition at line 871 of file SemaCodeComplete.cpp.

References clang::Type::getAs(), getKind(), clang::ReferenceType::getPointeeType(), clang::Type::getTypeClass(), STC_Arithmetic, STC_Array, STC_Block, STC_Function, STC_ObjectiveC, STC_Other, STC_Pointer, STC_Record, STC_Void, and T.

◆ getSpecificAttr()

template<typename SpecificAttr , typename Container >
SpecificAttr* clang::getSpecificAttr ( const Container &  container)
inline

Definition at line 116 of file AttrIterator.h.

◆ getStackIndexOfNearestEnclosingCaptureCapableLambda()

std::optional< unsigned > clang::getStackIndexOfNearestEnclosingCaptureCapableLambda ( ArrayRef< const sema::FunctionScopeInfo * >  FunctionScopes,
ValueDecl VarToCapture,
Sema S 
)

Examines the FunctionScopeInfo stack to determine the nearest enclosing lambda (to the current lambda) that is 'capture-capable' for the variable referenced in the current lambda (i.e.

VarToCapture). If successful, returns the index into Sema's FunctionScopeInfo stack of the capture-capable lambda's LambdaScopeInfo. See Implementation for more detailed comments.

VarToCapture). If successful, returns the index into Sema's FunctionScopeInfo stack of the capture-capable lambda's LambdaScopeInfo.

Given the current stack of lambdas being processed by Sema and the variable of interest, to identify the nearest enclosing lambda (to the current lambda at the top of the stack) that can truly capture a variable, it has to have the following two properties: a) 'capture-ready' - be the innermost lambda that is 'capture-ready':

  • climb down the stack (i.e. starting from the innermost and examining each outer lambda step by step) checking if each enclosing lambda can either implicitly or explicitly capture the variable. Record the first such lambda that is enclosed in a non-dependent context. If no such lambda currently exists return failure. b) 'capture-capable' - make sure the 'capture-ready' lambda can truly capture the variable by checking all its enclosing lambdas:
  • check if all outer lambdas enclosing the 'capture-ready' lambda identified above in 'a' can also capture the variable (this is done via tryCaptureVariable for variables and CheckCXXThisCapture for 'this' by passing in the index of the Lambda identified in step 'a')
Parameters
FunctionScopes- Sema's stack of nested FunctionScopeInfo's (which a LambdaScopeInfo inherits from). The current/deepest/innermost lambda is at the top of the stack.
VarToCapture- the variable to capture. If NULL, capture 'this'.
Returns
An std::optional<unsigned> Index that if evaluates to 'true' contains the index (into Sema's FunctionScopeInfo stack) of the innermost lambda which is capture-capable. If the return value evaluates to 'false' then no lambda is capture-capable for VarToCapture.

Definition at line 179 of file SemaLambda.cpp.

◆ getStandardSelectorLoc() [1/2]

SourceLocation clang::getStandardSelectorLoc ( unsigned  Index,
Selector  Sel,
bool  WithArgSpace,
ArrayRef< Expr * >  Args,
SourceLocation  EndLoc 
)

Get the "standard" location of a selector identifier, e.g: For nullary selectors, immediately before ']': "[foo release]".

Parameters
WithArgSpaceif true the standard location is with a space apart before arguments: "[foo first: 1 second: 2]" If false: "[foo first:1 second:2]"

Definition at line 103 of file SelectorLocationsKind.cpp.

◆ getStandardSelectorLoc() [2/2]

SourceLocation clang::getStandardSelectorLoc ( unsigned  Index,
Selector  Sel,
bool  WithArgSpace,
ArrayRef< ParmVarDecl * >  Args,
SourceLocation  EndLoc 
)

Get the "standard" location of a selector identifier, e.g: For nullary selectors, immediately before ']': "[foo release]".

Parameters
WithArgSpaceif true the standard location is with a space apart before arguments: "-(id)first: (int)x second: (int)y;" If false: "-(id)first:(int)x second:(int)y;"

Definition at line 120 of file SelectorLocationsKind.cpp.

◆ getSYCLVersionMacros()

llvm::SmallVector< std::pair< llvm::StringRef, llvm::StringRef >, 2 > clang::getSYCLVersionMacros ( const LangOptions LangOpts)

Retrieves a string representing the SYCL standard version for use in the CL_SYCL_LANGUAGE_VERSION and SYCL_LANGUAGE_VERSION macros.

Definition at line 129 of file Version.cpp.

Referenced by clang::SYCLIntegrationHeader::emit().

◆ getTemplateParamsRange()

SourceRange clang::getTemplateParamsRange ( TemplateParameterList const *const *  Params,
unsigned  NumParams 
)

Retrieves the range of the given template parameter lists.

Definition at line 51 of file SemaTemplate.cpp.

◆ getTraitName() [1/4]

const char * clang::getTraitName ( ArrayTypeTrait  T)

Definition at line 73 of file TypeTraits.cpp.

References ArrayTypeTraitNames, ATT_Last, and T.

◆ getTraitName() [2/4]

const char * clang::getTraitName ( ExpressionTrait  T)

Return the internal name of type trait T. Never null.

Definition at line 28 of file ExpressionTraits.cpp.

References ET_Last, ExpressionTraitNames, and T.

◆ getTraitName() [3/4]

const char * clang::getTraitName ( TypeTrait  T)

Return the internal name of type trait T. Never null.

Definition at line 68 of file TypeTraits.cpp.

References T, TT_Last, and TypeTraitNames.

◆ getTraitName() [4/4]

const char * clang::getTraitName ( UnaryExprOrTypeTrait  T)

Definition at line 78 of file TypeTraits.cpp.

References T, UETT_Last, and UnaryExprOrTypeTraitNames.

◆ getTraitSpelling() [1/4]

const char * clang::getTraitSpelling ( ArrayTypeTrait  T)

Definition at line 97 of file TypeTraits.cpp.

References ArrayTypeTraitSpellings, ATT_Last, and T.

◆ getTraitSpelling() [2/4]

const char * clang::getTraitSpelling ( ExpressionTrait  T)

◆ getTraitSpelling() [3/4]

const char * clang::getTraitSpelling ( TypeTrait  T)

Return the spelling of the type trait TT. Never null.

Definition at line 83 of file TypeTraits.cpp.

References T, TT_Last, and TypeTraitSpellings.

◆ getTraitSpelling() [4/4]

const char * clang::getTraitSpelling ( UnaryExprOrTypeTrait  T)

Definition at line 102 of file TypeTraits.cpp.

References T, UETT_Last, and UnaryExprOrTypeTraitSpellings.

◆ getTypeTraitArity()

unsigned clang::getTypeTraitArity ( TypeTrait  T)

Return the arity of the type trait T.

Definition at line 107 of file TypeTraits.cpp.

References T, TT_Last, and TypeTraitArities.

Referenced by clang::Sema::BuildTypeTrait().

◆ GetUnarySelector()

Selector clang::GetUnarySelector ( StringRef  name,
ASTContext Ctx 
)
inline

Utility function for constructing an unary selector.

Definition at line 3445 of file ASTContext.h.

References clang::IdentifierTable::get(), clang::SelectorTable::getSelector(), clang::ASTContext::Idents, clang::transformer::name(), and clang::ASTContext::Selectors.

◆ GetUnderlyingFunction()

static const FunctionProtoType* clang::GetUnderlyingFunction ( QualType  T)
static

◆ hasAttribute()

int clang::hasAttribute ( AttributeCommonInfo::Syntax  Syntax,
const IdentifierInfo Scope,
const IdentifierInfo Attr,
const TargetInfo Target,
const LangOptions LangOpts 
)

Return the version number associated with the attribute if we recognize and implement the attribute specified by the given information.

Definition at line 31 of file Attributes.cpp.

◆ hash_value() [1/5]

llvm::hash_code clang::hash_value ( const APValue::LValueBase Base)

Definition at line 202 of file APValue.cpp.

◆ hash_value() [2/5]

llvm::hash_code clang::hash_value ( const clang::SanitizerMask Arg)

Definition at line 68 of file Sanitizers.cpp.

References clang::SanitizerMask::hash_value().

◆ hash_value() [3/5]

template<class T >
llvm::hash_code clang::hash_value ( const CustomizableOptional< T > &  O)

◆ hash_value() [4/5]

llvm::hash_code clang::hash_value ( const HeaderSearchOptions::Entry E)
inline

◆ hash_value() [5/5]

llvm::hash_code clang::hash_value ( const HeaderSearchOptions::SystemHeaderPrefix SHP)
inline

◆ hasImplicitExceptionSpec()

static bool clang::hasImplicitExceptionSpec ( FunctionDecl Decl)
static

Determine whether a function has an implicitly-generated exception specification.

Definition at line 281 of file SemaExceptionSpec.cpp.

References clang::FunctionProtoType::hasExceptionSpec().

Referenced by clang::Sema::CheckEquivalentExceptionSpec().

◆ hasPublicMethodInBase()

std::optional< const clang::CXXRecordDecl * > clang::hasPublicMethodInBase ( const CXXBaseSpecifier Base,
const char *  NameToMatch 
)
Returns
CXXRecordDecl of the base if the type has ref as a public method, nullptr if not, std::nullopt if inconclusive.

Definition at line 40 of file PtrTypesSemantics.cpp.

References clang::Type::getAsCXXRecordDecl(), clang::CXXRecordDecl::hasDefinition(), and T.

◆ hasSpecificAttr()

template<typename SpecificAttr , typename Container >
bool clang::hasSpecificAttr ( const Container &  container)
inline

Definition at line 111 of file AttrIterator.h.

◆ hasStandardSelectorLocs() [1/2]

SelectorLocationsKind clang::hasStandardSelectorLocs ( Selector  Sel,
ArrayRef< SourceLocation SelLocs,
ArrayRef< Expr * >  Args,
SourceLocation  EndLoc 
)

Returns true if all SelLocs are in a "standard" location.

Definition at line 96 of file SelectorLocationsKind.cpp.

Referenced by clang::ObjCMethodDecl::setMethodParams().

◆ hasStandardSelectorLocs() [2/2]

SelectorLocationsKind clang::hasStandardSelectorLocs ( Selector  Sel,
ArrayRef< SourceLocation SelLocs,
ArrayRef< ParmVarDecl * >  Args,
SourceLocation  EndLoc 
)

Returns true if all SelLocs are in a "standard" location.

Definition at line 113 of file SelectorLocationsKind.cpp.

◆ hasWeakerNullability()

bool clang::hasWeakerNullability ( NullabilityKind  L,
NullabilityKind  R 
)
inline

Return true if L has a weaker nullability annotation than R.

The ordering is: Unspecified < Nullable < NonNull.

Definition at line 354 of file Specifiers.h.

◆ headerIncludeFilteringKindToString()

const char* clang::headerIncludeFilteringKindToString ( HeaderIncludeFilteringKind  K)
inline

Definition at line 61 of file HeaderInclude.h.

References HIFIL_None, and HIFIL_Only_Direct_System.

◆ headerIncludeFormatKindToString()

const char* clang::headerIncludeFormatKindToString ( HeaderIncludeFormatKind  K)
inline

Definition at line 48 of file HeaderInclude.h.

References HIFMT_JSON, HIFMT_None, and HIFMT_Textual.

◆ if() [1/3]

clang::if ( Expr NE = T->getNoexceptExpr())

◆ if() [2/3]

clang::if ( T->  getSizeExpr()) -> getSizeExpr())))

◆ if() [3/3]

clang::if ( TL.  isConstrained())

Definition at line 1398 of file RecursiveASTVisitor.h.

References TRY_TO().

◆ IgnoreBaseCastsSingleStep()

Expr* clang::IgnoreBaseCastsSingleStep ( Expr E)
inline

Definition at line 101 of file IgnoreExpr.h.

Referenced by clang::Expr::IgnoreParenBaseCasts().

◆ IgnoreCastsSingleStep()

Expr* clang::IgnoreCastsSingleStep ( Expr E)
inline

◆ IgnoreElidableImplicitConstructorSingleStep()

Expr* clang::IgnoreElidableImplicitConstructorSingleStep ( Expr E)
inline

Definition at line 125 of file IgnoreExpr.h.

Referenced by clang::Sema::checkAndRewriteMustTailAttr().

◆ IgnoreExprNodes() [1/2]

template<typename... FnTys>
const Expr* clang::IgnoreExprNodes ( const Expr E,
FnTys &&...  Fns 
)

Definition at line 44 of file IgnoreExpr.h.

References IgnoreExprNodes().

◆ IgnoreExprNodes() [2/2]

template<typename... FnTys>
Expr* clang::IgnoreExprNodes ( Expr E,
FnTys &&...  Fns 
)

◆ IgnoreImplicitAsWrittenSingleStep()

Expr* clang::IgnoreImplicitAsWrittenSingleStep ( Expr E)
inline

◆ IgnoreImplicitCastsExtraSingleStep()

Expr* clang::IgnoreImplicitCastsExtraSingleStep ( Expr E)
inline

◆ IgnoreImplicitCastsSingleStep()

Expr* clang::IgnoreImplicitCastsSingleStep ( Expr E)
inline

◆ IgnoreImplicitSingleStep()

Expr* clang::IgnoreImplicitSingleStep ( Expr E)
inline

◆ IgnoreLValueCastsSingleStep()

Expr* clang::IgnoreLValueCastsSingleStep ( Expr E)
inline

Definition at line 91 of file IgnoreExpr.h.

References IgnoreCastsSingleStep().

Referenced by clang::Expr::IgnoreParenLValueCasts().

◆ IgnoreParensOnlySingleStep()

Expr* clang::IgnoreParensOnlySingleStep ( Expr E)
inline

Definition at line 144 of file IgnoreExpr.h.

Referenced by clang::Expr::IgnoreUnlessSpelledInSource().

◆ IgnoreParensSingleStep()

Expr* clang::IgnoreParensSingleStep ( Expr E)
inline

◆ Indent()

raw_ostream& clang::Indent ( raw_ostream &  Out,
const unsigned int  Space,
bool  IsDot 
)
inline

◆ inheritanceModelHasNVOffsetField()

bool clang::inheritanceModelHasNVOffsetField ( bool  IsMemberFunction,
MSInheritanceModel  Inheritance 
)
inline

Definition at line 371 of file CXXInheritance.h.

References Multiple.

Referenced by getMSMemberPointerSlots().

◆ inheritanceModelHasOnlyOneField()

bool clang::inheritanceModelHasOnlyOneField ( bool  IsMemberFunction,
MSInheritanceModel  Inheritance 
)
inline

Definition at line 381 of file CXXInheritance.h.

References Multiple, and Single.

Referenced by clang::CXXRecordDecl::nullFieldOffsetIsZero().

◆ inheritanceModelHasVBPtrOffsetField()

bool clang::inheritanceModelHasVBPtrOffsetField ( MSInheritanceModel  Inheritance)
inline

Definition at line 365 of file CXXInheritance.h.

References Unspecified.

Referenced by getMSMemberPointerSlots().

◆ inheritanceModelHasVBTableOffsetField()

bool clang::inheritanceModelHasVBTableOffsetField ( MSInheritanceModel  Inheritance)
inline

Definition at line 377 of file CXXInheritance.h.

References Virtual.

Referenced by getMSMemberPointerSlots().

◆ initialize()

template<class TemplateInstantiationCallbackPtrs >
void clang::initialize ( TemplateInstantiationCallbackPtrs &  Callbacks,
const Sema TheSema 
)

Definition at line 43 of file TemplateInstCallback.h.

Referenced by clang::ento::BugSuppression::isSuppressed().

◆ InitializePreprocessor()

void clang::InitializePreprocessor ( Preprocessor PP,
const PreprocessorOptions PPOpts,
const PCHContainerReader PCHContainerRdr,
const FrontendOptions FEOpts,
const CodeGenOptions CodeGenOpts 
)

InitializePreprocessor - Initialize the preprocessor getting it and the environment ready to process a single file.

Definition at line 1550 of file InitPreprocessor.cpp.

Referenced by clang::CompilerInstance::createPreprocessor().

◆ IntegerLiteralExpr()

IntegerLiteral * clang::IntegerLiteralExpr ( ASTContext C,
uint64_t  Val 
)

Definition at line 17 of file InterpreterUtils.cpp.

References clang::IntegerLiteral::Create().

◆ isa()

template<class U >
bool clang::isa ( CodeGen::Address  addr)
inline

◆ isAlphanumeric()

LLVM_READONLY bool clang::isAlphanumeric ( unsigned char  c)
inline

Return true if this character is an ASCII letter or digit: [a-zA-Z0-9].

Definition at line 139 of file CharInfo.h.

References c, clang::charinfo::CHAR_DIGIT, clang::charinfo::CHAR_LOWER, clang::charinfo::CHAR_UPPER, and clang::charinfo::InfoTable.

Referenced by checkVerifyPrefixes(), clang::CompilerInstance::createModuleFromSource(), and clang::format::getStringSplit().

◆ IsAMDGpuArch()

static bool clang::IsAMDGpuArch ( CudaArch  A)
inlinestatic

◆ IsArmStreamingFunction()

bool clang::IsArmStreamingFunction ( const FunctionDecl FD,
bool  IncludeLocallyStreaming 
)

Returns whether the given FunctionDecl has an __arm[_locally]_streaming attribute.

Definition at line 5764 of file Decl.cpp.

References clang::ValueDecl::getType(), clang::QualType::getTypePtrOrNull(), clang::Decl::hasAttr(), and clang::FunctionType::SME_PStateSMEnabledMask.

◆ isASafeCallArg()

bool clang::isASafeCallArg ( const clang::Expr E)

For E referring to a ref-countable/-counted pointer/reference we return whether it's a safe call argument.

Examples: function parameter or this-pointer. The logic relies on the set of recursive rules we enforce for WebKit codebase.

Returns
Whether E is a safe call arugment.

Definition at line 115 of file ASTUtils.cpp.

◆ isASCII() [1/4]

LLVM_READNONE bool clang::isASCII ( char  c)
inline

Returns true if a byte is an ASCII character.

Definition at line 42 of file CharInfo.h.

References c.

Referenced by clang::StringLiteral::containsNonAscii(), clang::StringLiteral::containsNonAsciiOrNull(), parseId(), and TryPrintAsStringLiteral().

◆ isASCII() [2/4]

LLVM_READNONE bool clang::isASCII ( int64_t  c)
inline

Definition at line 50 of file CharInfo.h.

References c.

◆ isASCII() [3/4]

LLVM_READNONE bool clang::isASCII ( uint32_t  c)
inline

Returns true if a codepoint is an ASCII character.

Definition at line 49 of file CharInfo.h.

References c.

◆ isASCII() [4/4]

LLVM_READNONE bool clang::isASCII ( unsigned char  c)
inline

Definition at line 46 of file CharInfo.h.

References c.

◆ isAsciiIdentifierContinue() [1/2]

LLVM_READONLY bool clang::isAsciiIdentifierContinue ( unsigned char  c)
inline

Definition at line 62 of file CharInfo.h.

References c.

Referenced by fastParseASCIIIdentifier(), isAsciiIdentifierContinue(), isQuoteCppDigitSeparator(), and parseId().

◆ isAsciiIdentifierContinue() [2/2]

LLVM_READONLY bool clang::isAsciiIdentifierContinue ( unsigned char  c,
bool  AllowDollar 
)
inline

Returns true if this is a body character of a C identifier, which is [a-zA-Z0-9_].

Definition at line 81 of file CharInfo.h.

References c, and isAsciiIdentifierContinue().

◆ isAsciiIdentifierStart()

LLVM_READONLY bool clang::isAsciiIdentifierStart ( unsigned char  c,
bool  AllowDollar = false 
)
inline

Returns true if this is a valid first character of a C identifier, which is [a-zA-Z_].

Definition at line 54 of file CharInfo.h.

References c, clang::charinfo::CHAR_LOWER, clang::charinfo::CHAR_UNDER, clang::charinfo::CHAR_UPPER, and clang::charinfo::InfoTable.

◆ isBetterOverloadCandidate()

bool clang::isBetterOverloadCandidate ( Sema S,
const OverloadCandidate Cand1,
const OverloadCandidate Cand2,
SourceLocation  Loc,
OverloadCandidateSet::CandidateSetKind  Kind 
)

isBetterOverloadCandidate - Determines whether the first overload candidate is a better candidate than the second (C++ 13.3.3p1).

Definition at line 10414 of file SemaOverload.cpp.

◆ isCompatibleTargetID()

bool clang::isCompatibleTargetID ( llvm::StringRef  Provided,
llvm::StringRef  Requested 
)

Check whether the provided target ID is compatible with the requested target ID.

Definition at line 168 of file TargetID.cpp.

References Loc, and parseTargetIDWithFormatCheckingOnly().

◆ isCompoundAssignmentOperator()

bool clang::isCompoundAssignmentOperator ( OverloadedOperatorKind  Kind)
inline

Determine if this is a compound assignment operator.

Definition at line 53 of file OperatorKinds.h.

Referenced by implicitObjectParamIsLifetimeBound().

◆ isComputedNoexcept()

bool clang::isComputedNoexcept ( ExceptionSpecificationType  ESpecType)
inline

◆ isCtorOfRefCounted()

bool clang::isCtorOfRefCounted ( const clang::FunctionDecl F)
Returns
true if F creates ref-countable object from uncounted parameter, false if not.

Definition at line 111 of file PtrTypesSemantics.cpp.

References isRefType(), and safeGetName().

Referenced by isPtrConversion(), and tryToFindPtrOrigin().

◆ isDigit()

LLVM_READONLY bool clang::isDigit ( unsigned char  c)
inline

◆ isDiscardableGVALinkage()

bool clang::isDiscardableGVALinkage ( GVALinkage  L)
inline

Definition at line 80 of file Linkage.h.

References GVA_DiscardableODR.

Referenced by clang::ASTContext::DeclMustBeEmitted().

◆ isDynamicExceptionSpec()

bool clang::isDynamicExceptionSpec ( ExceptionSpecificationType  ESpecType)
inline

◆ IsEnumDeclComplete()

bool clang::IsEnumDeclComplete ( EnumDecl ED)
inline

Check if the given decl is complete.

We use this function to break a cycle between the inline definitions in Type.h and Decl.h.

Definition at line 5035 of file Decl.h.

References clang::EnumDecl::isComplete().

Referenced by clang::Type::isIntegerType(), clang::Type::isIntegralOrEnumerationType(), and clang::Type::isScalarType().

◆ IsEnumDeclScoped()

bool clang::IsEnumDeclScoped ( EnumDecl ED)
inline

Check if the given decl is scoped.

We use this function to break a cycle between the inline definitions in Type.h and Decl.h.

Definition at line 5043 of file Decl.h.

References clang::EnumDecl::isScoped().

Referenced by clang::Type::isIntegerType().

◆ isExplicitThrowExceptionSpec()

bool clang::isExplicitThrowExceptionSpec ( ExceptionSpecificationType  ESpecType)
inline

Definition at line 53 of file ExceptionSpecificationType.h.

References EST_Dynamic, EST_MSAny, and EST_NoexceptFalse.

◆ isExternalFormalLinkage()

bool clang::isExternalFormalLinkage ( Linkage  L)
inline

◆ isExternallyVisible()

bool clang::isExternallyVisible ( Linkage  L)
inline

◆ isFunctionLocalStringLiteralMacro()

bool clang::isFunctionLocalStringLiteralMacro ( tok::TokenKind  K,
const LangOptions LO 
)

Return true if the token corresponds to a function local predefined macro, which expands to a string literal, that can be concatenated with other string literals (only in Microsoft mode).

Definition at line 442 of file LiteralSupport.cpp.

Referenced by tokenIsLikeStringLiteral().

◆ isGenericLambdaCallOperatorOrStaticInvokerSpecialization()

bool clang::isGenericLambdaCallOperatorOrStaticInvokerSpecialization ( const DeclContext DC)
inline

◆ isGenericLambdaCallOperatorSpecialization() [1/2]

bool clang::isGenericLambdaCallOperatorSpecialization ( const CXXMethodDecl MD)
inline

◆ isGenericLambdaCallOperatorSpecialization() [2/2]

bool clang::isGenericLambdaCallOperatorSpecialization ( DeclContext DC)
inline

Definition at line 77 of file ASTLambda.h.

References isGenericLambdaCallOperatorSpecialization().

◆ isGetterOfRefCounted()

std::optional< bool > clang::isGetterOfRefCounted ( const clang::CXXMethodDecl Method)
Returns
true if M is getter of a ref-counted class, false if not.

Definition at line 171 of file PtrTypesSemantics.cpp.

References clang::CXXMethodDecl::getParent(), isRefType(), isUncountedPtr(), and safeGetName().

Referenced by tryToFindPtrOrigin(), and clang::TrivialFunctionAnalysisVisitor::VisitCXXMemberCallExpr().

◆ isHexDigit()

LLVM_READONLY bool clang::isHexDigit ( unsigned char  c)
inline

◆ isHorizontalWhitespace()

LLVM_READONLY bool clang::isHorizontalWhitespace ( unsigned char  c)
inline

Returns true if this character is horizontal ASCII whitespace: ' ', '\t', '\f', '\v'.

Note that this returns false for '\0'.

Definition at line 92 of file CharInfo.h.

References c, clang::charinfo::CHAR_HORZ_WS, clang::charinfo::CHAR_SPACE, and clang::charinfo::InfoTable.

Referenced by isEndOfBlockCommentWithEscapedNewLine(), clang::Lexer::isNewLineEscaped(), onlyWhitespaceOnLineBefore(), and skipOverSpaces().

◆ isLambdaCallOperator() [1/2]

bool clang::isLambdaCallOperator ( const CXXMethodDecl MD)
inline

◆ isLambdaCallOperator() [2/2]

bool clang::isLambdaCallOperator ( const DeclContext DC)
inline

Definition at line 33 of file ASTLambda.h.

References isLambdaCallOperator().

◆ isLambdaCallWithExplicitObjectParameter()

bool clang::isLambdaCallWithExplicitObjectParameter ( const DeclContext DC)
inline

◆ isLambdaCallWithImplicitObjectParameter()

bool clang::isLambdaCallWithImplicitObjectParameter ( const DeclContext DC)
inline

Definition at line 43 of file ASTLambda.h.

References isLambdaCallOperator().

Referenced by clang::Sema::getCurrentThisType().

◆ isLambdaConversionOperator() [1/2]

bool clang::isLambdaConversionOperator ( CXXConversionDecl C)
inline

◆ isLambdaConversionOperator() [2/2]

bool clang::isLambdaConversionOperator ( Decl D)
inline

Definition at line 66 of file ASTLambda.h.

References isLambdaConversionOperator().

◆ isLegalForFunction()

bool clang::isLegalForFunction ( StorageClass  SC)
inline

Checks whether the given storage class is legal for functions.

Definition at line 258 of file Specifiers.h.

References SC_PrivateExtern.

◆ isLegalForVariable()

bool clang::isLegalForVariable ( StorageClass  SC)
inline

Checks whether the given storage class is legal for variables.

Definition at line 263 of file Specifiers.h.

Referenced by clang::VarDecl::setStorageClass().

◆ isLetter()

LLVM_READONLY bool clang::isLetter ( unsigned char  c)
inline

◆ isLowercase()

LLVM_READONLY bool clang::isLowercase ( unsigned char  c)
inline

Return true if this character is a lowercase ASCII letter: [a-z].

Definition at line 121 of file CharInfo.h.

References c, clang::charinfo::CHAR_LOWER, and clang::charinfo::InfoTable.

Referenced by clang::ento::coreFoundation::followsCreateRule(), isSetterLikeSelector(), startsWithWord(), and toUppercase().

◆ isNoexceptExceptionSpec()

bool clang::isNoexceptExceptionSpec ( ExceptionSpecificationType  ESpecType)
inline

◆ IsNVIDIAGpuArch()

static bool clang::IsNVIDIAGpuArch ( CudaArch  A)
inlinestatic

Definition at line 140 of file Cuda.h.

References GFX600, and SM_20.

Referenced by clang::driver::Driver::CreateOffloadingDeviceToolChains(), and getCanonicalArchString().

◆ isOpenACCComputeDirectiveKind()

bool clang::isOpenACCComputeDirectiveKind ( OpenACCDirectiveKind  K)
inline

Definition at line 149 of file OpenACCKinds.h.

References Kernels, Parallel, and Serial.

◆ isOpenMPCombinedParallelADirective()

bool clang::isOpenMPCombinedParallelADirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a combined construct for which the first construct is a parallel construct.

Parameters
DKindSpecified directive.
Returns
true - if the above condition is met for this directive otherwise - false.

Definition at line 690 of file OpenMPKinds.cpp.

◆ isOpenMPDistributeDirective()

bool clang::isOpenMPDistributeDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a distribute directive.

Parameters
DKindSpecified directive.
Returns
true - the directive is a distribute-directive like 'omp distribute', otherwise - false.

Definition at line 649 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPFirstprivateClause(), clang::SemaOpenMP::ActOnOpenMPLastprivateClause(), clang::SemaOpenMP::ActOnOpenMPLoopInitialization(), clang::CodeGen::CGOpenMPRuntime::emitForStaticFinish(), clang::CodeGen::CodeGenFunction::EmitOMPLoopBody(), clang::CodeGen::CGOpenMPRuntime::emitTargetNumIterationsCall(), clang::OMPLoopDirective::getArraysOffset(), getDistributeLastprivateVars(), clang::OMPLoopDirective::getEnsureUpperBound(), clang::OMPLoopDirective::getIsLastIterVariable(), clang::OMPLoopDirective::getLowerBoundVariable(), getNestedDistributeDirective(), clang::OMPLoopDirective::getNextLowerBound(), clang::OMPLoopDirective::getNextUpperBound(), clang::OMPLoopDirective::getNumIterations(), clang::CodeGen::CGOpenMPRuntime::getNumThreadsExprForTargetDirective(), clang::OMPLoopDirective::getStrideVariable(), clang::OMPLoopDirective::getUpperBoundVariable(), clang::Parser::ParseOpenMPVarList(), clang::OMPLoopDirective::setEnsureUpperBound(), clang::OMPLoopDirective::setIsLastIterVariable(), clang::OMPLoopDirective::setLowerBoundVariable(), clang::OMPLoopDirective::setNextLowerBound(), clang::OMPLoopDirective::setNextUpperBound(), clang::OMPLoopDirective::setNumIterations(), clang::OMPLoopDirective::setStrideVariable(), and clang::OMPLoopDirective::setUpperBoundVariable().

◆ isOpenMPGenericLoopDirective()

bool clang::isOpenMPGenericLoopDirective ( OpenMPDirectiveKind  DKind)

◆ isOpenMPLoopBoundSharingDirective()

bool clang::isOpenMPLoopBoundSharingDirective ( OpenMPDirectiveKind  Kind)

Checks if the specified directive kind is one of the composite or combined directives that need loop bound sharing across loops outlined in nested functions.

Definition at line 676 of file OpenMPKinds.cpp.

Referenced by clang::OMPLoopDirective::getArraysOffset(), clang::OMPLoopDirective::getCombinedCond(), clang::OMPLoopDirective::getCombinedDistCond(), clang::OMPLoopDirective::getCombinedEnsureUpperBound(), clang::OMPLoopDirective::getCombinedInit(), clang::OMPLoopDirective::getCombinedLowerBoundVariable(), clang::OMPLoopDirective::getCombinedNextLowerBound(), clang::OMPLoopDirective::getCombinedNextUpperBound(), clang::OMPLoopDirective::getCombinedParForInDistCond(), clang::OMPLoopDirective::getCombinedUpperBoundVariable(), clang::OMPLoopDirective::getDistInc(), clang::OMPLoopDirective::getPrevEnsureUpperBound(), clang::OMPLoopDirective::getPrevLowerBoundVariable(), clang::OMPLoopDirective::getPrevUpperBoundVariable(), clang::OMPLoopDirective::setCombinedCond(), clang::OMPLoopDirective::setCombinedDistCond(), clang::OMPLoopDirective::setCombinedEnsureUpperBound(), clang::OMPLoopDirective::setCombinedInit(), clang::OMPLoopDirective::setCombinedLowerBoundVariable(), clang::OMPLoopDirective::setCombinedNextLowerBound(), clang::OMPLoopDirective::setCombinedNextUpperBound(), clang::OMPLoopDirective::setCombinedParForInDistCond(), clang::OMPLoopDirective::setCombinedUpperBoundVariable(), clang::OMPLoopDirective::setDistInc(), clang::OMPLoopDirective::setPrevEnsureUpperBound(), clang::OMPLoopDirective::setPrevLowerBoundVariable(), and clang::OMPLoopDirective::setPrevUpperBoundVariable().

◆ isOpenMPLoopDirective()

bool clang::isOpenMPLoopDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a directive with an associated loop construct.

Parameters
DKindSpecified directive.
Returns
true - the directive is a loop-associated directive like 'omp simd' or 'omp for' directive, otherwise - false.

Definition at line 576 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPLoopInitialization(), clang::OMPLoopBasedDirective::classof(), clang::CodeGen::CGOpenMPRuntime::emitForStaticFinish(), clang::CodeGen::CGOpenMPRuntime::emitForStaticInit(), clang::SemaOpenMP::isOpenMPPrivateDecl(), clang::SemaOpenMP::startOpenMPCXXRangeFor(), clang::SemaOpenMP::startOpenMPLoop(), and clang::TreeTransform< Derived >::TransformOMPExecutableDirective().

◆ isOpenMPLoopTransformationDirective()

bool clang::isOpenMPLoopTransformationDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a loop transformation directive.

Parameters
DKindSpecified directive.
Returns
True iff the directive is a loop transformation.

Definition at line 686 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPExecutableDirective(), clang::SemaOpenMP::ActOnOpenMPLoopnest(), checkOpenMPLoop(), and clang::SemaOpenMP::isOpenMPPrivateDecl().

◆ isOpenMPNestingDistributeDirective()

bool clang::isOpenMPNestingDistributeDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified composite/combined directive constitutes a distribute directive in the outermost nest.

For example, 'omp distribute parallel for' or 'omp distribute'.

Parameters
DKindSpecified directive.
Returns
true - the directive has distribute on the outermost nest. otherwise - false.

Definition at line 642 of file OpenMPKinds.cpp.

◆ isOpenMPNestingTeamsDirective()

bool clang::isOpenMPNestingTeamsDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified composite/combined directive constitutes a teams directive in the outermost nest.

For example 'omp teams distribute' or 'omp teams distribute parallel for'.

Parameters
DKindSpecified directive.
Returns
true - the directive has teams on the outermost nest, otherwise - false.

Definition at line 619 of file OpenMPKinds.cpp.

◆ isOpenMPParallelDirective()

bool clang::isOpenMPParallelDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a parallel-kind directive.

Parameters
DKindSpecified directive.
Returns
true - the directive is a parallel-like directive like 'omp parallel', otherwise - false.

Definition at line 602 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPFirstprivateClause(), clang::SemaOpenMP::ActOnOpenMPLastprivateClause(), clang::CodeGen::CodeGenFunction::EmitOMPReductionClauseFinal(), clang::CodeGen::CGOpenMPRuntime::getNumTeamsExprForTargetDirective(), getNumThreads(), clang::CodeGen::CGOpenMPRuntime::getNumThreadsExprForTargetDirective(), and hasNestedSPMDDirective().

◆ isOpenMPPrivate()

bool clang::isOpenMPPrivate ( OpenMPClauseKind  Kind)

Checks if the specified clause is one of private clauses like 'private', 'firstprivate', 'reduction' etc.

Parameters
KindClause kind.
Returns
true - the clause is a private clause, otherwise - false.

Definition at line 661 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPHasDeviceAddrClause(), clang::SemaOpenMP::ActOnOpenMPIsDevicePtrClause(), checkMappableExpressionList(), clang::SemaOpenMP::isOpenMPCapturedDecl(), clang::SemaOpenMP::isOpenMPPrivateDecl(), and clang::SemaOpenMP::isOpenMPRebuildMemberExpr().

◆ isOpenMPSimdDirective()

bool clang::isOpenMPSimdDirective ( OpenMPDirectiveKind  DKind)

◆ isOpenMPTargetDataManagementDirective()

bool clang::isOpenMPTargetDataManagementDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a target data offload directive.

Parameters
DKindSpecified directive.
Returns
true - the directive is a target data offload directive like 'omp target data', 'omp target update', 'omp target enter data', 'omp target exit data' otherwise - false.

Definition at line 614 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPExecutableDirective(), emitPrivatesInit(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), and clang::SemaOpenMP::tryCaptureOpenMPLambdas().

◆ isOpenMPTargetExecutionDirective()

bool clang::isOpenMPTargetExecutionDirective ( OpenMPDirectiveKind  DKind)

◆ isOpenMPTaskingDirective()

bool clang::isOpenMPTaskingDirective ( OpenMPDirectiveKind  Kind)

Checks if the specified directive kind is one of tasking directives - task, taskloop, taksloop simd, master taskloop, parallel master taskloop, master taskloop simd, or parallel master taskloop simd.

Definition at line 672 of file OpenMPKinds.cpp.

References isOpenMPTaskLoopDirective().

Referenced by clang::SemaOpenMP::ActOnOpenMPFirstprivateClause(), clang::SemaOpenMP::ActOnOpenMPPrivateClause(), clang::CodeGen::CodeGenFunction::EmitSimpleOMPExecutableDirective(), clang::SemaOpenMP::isInOpenMPTaskUntiedContext(), and clang::SemaOpenMP::isOpenMPPrivateDecl().

◆ isOpenMPTaskLoopDirective()

bool clang::isOpenMPTaskLoopDirective ( OpenMPDirectiveKind  DKind)

◆ isOpenMPTeamsDirective()

bool clang::isOpenMPTeamsDirective ( OpenMPDirectiveKind  DKind)

Checks if the specified directive is a teams-kind directive.

For example, 'omp teams distribute' or 'omp target teams'.

Parameters
DKindSpecified directive.
Returns
true - the directive is a teams-like directive, otherwise - false.

Definition at line 626 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::ActOnOpenMPFirstprivateClause(), clang::SemaOpenMP::ActOnOpenMPLastprivateClause(), clang::CodeGen::CGOpenMPRuntime::emitTargetNumIterationsCall(), getDistributeLastprivateVars(), clang::CodeGen::CGOpenMPRuntime::getNumTeamsExprForTargetDirective(), clang::CodeGen::CGOpenMPRuntime::getNumThreadsExprForTargetDirective(), and getTeamsReductionVars().

◆ isOpenMPThreadPrivate()

bool clang::isOpenMPThreadPrivate ( OpenMPClauseKind  Kind)

Checks if the specified clause is one of threadprivate clauses like 'threadprivate', 'copyin' or 'copyprivate'.

Parameters
KindClause kind.
Returns
true - the clause is a threadprivate clause, otherwise - false.

Definition at line 668 of file OpenMPKinds.cpp.

Referenced by clang::SemaOpenMP::isOpenMPCapturedDecl().

◆ isOpenMPWorksharingDirective()

bool clang::isOpenMPWorksharingDirective ( OpenMPDirectiveKind  DKind)

◆ isPreprocessingNumberBody()

LLVM_READONLY bool clang::isPreprocessingNumberBody ( unsigned char  c)
inline

Return true if this is the body character of a C preprocessing number, which is [a-zA-Z0-9_.

].

Definition at line 169 of file CharInfo.h.

References c, clang::charinfo::CHAR_DIGIT, clang::charinfo::CHAR_LOWER, clang::charinfo::CHAR_PERIOD, clang::charinfo::CHAR_UNDER, clang::charinfo::CHAR_UPPER, and clang::charinfo::InfoTable.

Referenced by clang::TokenConcatenation::AvoidConcat(), getTransformedFileName(), and isQuoteCppDigitSeparator().

◆ isPrintable()

LLVM_READONLY bool clang::isPrintable ( unsigned char  c)
inline

◆ isPtrConversion()

bool clang::isPtrConversion ( const FunctionDecl F)
Returns
true if F is a conversion between ref-countable or ref-counted pointer types.

Definition at line 211 of file PtrTypesSemantics.cpp.

References isCtorOfRefCounted(), and safeGetName().

Referenced by tryToFindPtrOrigin().

◆ isPtrSizeAddressSpace()

bool clang::isPtrSizeAddressSpace ( LangAS  AS)
inline

◆ isPunctuation()

LLVM_READONLY bool clang::isPunctuation ( unsigned char  c)
inline

Return true if this character is an ASCII punctuation character.

Note that '_' is both a punctuation character and an identifier character!

Definition at line 153 of file CharInfo.h.

References c, clang::charinfo::CHAR_PERIOD, clang::charinfo::CHAR_PUNCT, clang::charinfo::CHAR_RAWDEL, clang::charinfo::CHAR_UNDER, and clang::charinfo::InfoTable.

Referenced by clang::format::mayReflowContent(), and ScanFormat().

◆ isRawStringDelimBody()

LLVM_READONLY bool clang::isRawStringDelimBody ( unsigned char  c)
inline

◆ isRefCountable()

std::optional< bool > clang::isRefCountable ( const clang::CXXRecordDecl Class)
Returns
true if Class is ref-countable, false if not, std::nullopt if inconclusive.

Definition at line 56 of file PtrTypesSemantics.cpp.

References clang::CXXRecordDecl::getDefinition().

Referenced by isUncounted().

◆ isRefCounted()

bool clang::isRefCounted ( const clang::CXXRecordDecl Class)
Returns
true if Class is ref-counted, false if not.

Definition at line 201 of file PtrTypesSemantics.cpp.

References clang::CXXRecordDecl::getTemplateInstantiationPattern(), isRefType(), and safeGetName().

Referenced by isUncounted(), and tryToFindPtrOrigin().

◆ isRefType()

bool clang::isRefType ( const std::string &  Name)
Returns
true if Name is a RefPtr, Ref, or its variant, false if not.

Definition at line 106 of file PtrTypesSemantics.cpp.

Referenced by isCtorOfRefCounted(), isGetterOfRefCounted(), isRefCounted(), and isReturnValueRefCounted().

◆ isReservedAtGlobalScope()

bool clang::isReservedAtGlobalScope ( ReservedIdentifierStatus  Status)
inline

Determine whether an identifier is reserved for use as a name at global scope.

Such identifiers might be implementation-specific global functions or variables.

Definition at line 66 of file IdentifierTable.h.

◆ isReservedInAllContexts()

bool clang::isReservedInAllContexts ( ReservedIdentifierStatus  Status)
inline

Determine whether an identifier is reserved in all contexts.

Such identifiers might be implementation-specific keywords or macros, for example.

Definition at line 73 of file IdentifierTable.h.

Referenced by shouldWarnOnMacroDef(), and shouldWarnOnMacroUndef().

◆ isReturnValueRefCounted()

bool clang::isReturnValueRefCounted ( const clang::FunctionDecl F)
Returns
true if F returns a ref-counted object, false if not.

Definition at line 126 of file PtrTypesSemantics.cpp.

References clang::ast_matchers::decl, clang::FunctionDecl::getReturnType(), isRefType(), clang::transformer::name(), and clang::ast_matchers::type.

Referenced by tryToFindPtrOrigin().

◆ isSetterLikeSelector()

static bool clang::isSetterLikeSelector ( Selector  sel)
static

Check for a keyword selector that starts with the word 'add' or 'set'.

Definition at line 972 of file SemaObjC.cpp.

References clang::Selector::getNameForSlot(), clang::Selector::getNumArgs(), isLowercase(), and clang::Selector::isUnarySelector().

Referenced by clang::SemaObjC::checkRetainCycles().

◆ isSingleton()

bool clang::isSingleton ( const FunctionDecl F)
Returns
true if F is a static singleton function.

Definition at line 227 of file PtrTypesSemantics.cpp.

Referenced by tryToFindPtrOrigin().

◆ isStackNearlyExhausted()

bool clang::isStackNearlyExhausted ( )

Determine whether the stack is nearly exhausted.

Definition at line 45 of file Stack.cpp.

References std::abs(), BottomOfStack, DesiredStackSize, and getStackPointer().

Referenced by clang::Sema::pushCodeSynthesisContext(), and runWithSufficientStackSpace().

◆ isSubstitutedDefaultArgument()

bool clang::isSubstitutedDefaultArgument ( ASTContext Ctx,
TemplateArgument  Arg,
const NamedDecl Param,
ArrayRef< TemplateArgument Args,
unsigned  Depth 
)

Make a best-effort determination of whether the type T can be produced by substituting Args into the default argument of Param.

Definition at line 2285 of file TypePrinter.cpp.

References Depth, clang::TemplateArgument::getKind(), isSubstitutedTemplateArgument(), clang::TemplateArgument::Pack, and clang::TemplateArgument::pack_size().

◆ isTargetAddressSpace()

bool clang::isTargetAddressSpace ( LangAS  AS)
inline
Returns
whether AS is a target-specific address space rather than a clang AST address space

Definition at line 77 of file AddressSpaces.h.

References FirstTargetAddressSpace.

Referenced by clang::ASTContext::addressSpaceMapManglingFor(), clang::TargetInfo::getTargetAddressSpace(), clang::Qualifiers::hasTargetSpecificAddressSpace(), toTargetAddressSpace(), and TryAddressSpaceCast().

◆ isTemplateExplicitInstantiationOrSpecialization()

bool clang::isTemplateExplicitInstantiationOrSpecialization ( TemplateSpecializationKind  Kind)
inline

◆ isTemplateInstantiation()

bool clang::isTemplateInstantiation ( TemplateSpecializationKind  Kind)
inline

◆ isUncounted()

std::optional< bool > clang::isUncounted ( const clang::CXXRecordDecl Class)
Returns
true if Class is ref-countable AND not ref-counted, false if not, std::nullopt if inconclusive.

Definition at line 146 of file PtrTypesSemantics.cpp.

References Class, isRefCountable(), and isRefCounted().

Referenced by isUncountedPtr().

◆ isUncountedPtr()

std::optional< bool > clang::isUncountedPtr ( const clang::Type T)
Returns
true if T is either a raw pointer or reference to an uncounted class, false if not, std::nullopt if inconclusive.

Definition at line 159 of file PtrTypesSemantics.cpp.

References clang::Type::getPointeeCXXRecordDecl(), clang::Type::isPointerType(), clang::Type::isReferenceType(), isUncounted(), and T.

Referenced by isGetterOfRefCounted().

◆ isUndeducedReturnType()

static bool clang::isUndeducedReturnType ( QualType  T)
static

◆ isUniqueGVALinkage()

bool clang::isUniqueGVALinkage ( GVALinkage  L)
inline

Do we know that this will be the only definition of this symbol (excluding inlining-only definitions)?

Definition at line 86 of file Linkage.h.

References GVA_Internal, and GVA_StrongExternal.

Referenced by clang::CodeGen::CGCXXABI::isEmittedWithConstantInitializer().

◆ isUnresolvedExceptionSpec()

bool clang::isUnresolvedExceptionSpec ( ExceptionSpecificationType  ESpecType)
inline

◆ isUppercase()

LLVM_READONLY bool clang::isUppercase ( unsigned char  c)
inline

Return true if this character is an uppercase ASCII letter: [A-Z].

Definition at line 127 of file CharInfo.h.

References c, clang::charinfo::CHAR_UPPER, and clang::charinfo::InfoTable.

Referenced by toLowercase().

◆ isValidAsciiIdentifier()

LLVM_READONLY bool clang::isValidAsciiIdentifier ( StringRef  S,
bool  AllowDollar = false 
)
inline

Return true if this is a valid ASCII identifier.

Note that this is a very simple check; it does not accept UCNs as valid identifier characters.

Definition at line 244 of file CharInfo.h.

Referenced by clang::RewriteIncludesAction::RewriteImportsListener::visitModuleFile().

◆ isVerticalWhitespace()

LLVM_READONLY bool clang::isVerticalWhitespace ( unsigned char  c)
inline

Returns true if this character is vertical ASCII whitespace: '\n', '\r'.

Note that this returns false for '\0'.

Definition at line 100 of file CharInfo.h.

References c, clang::charinfo::CHAR_VERT_WS, and clang::charinfo::InfoTable.

Referenced by findBeginningOfLine(), isEOL(), clang::Lexer::isNewLineEscaped(), onlyWhitespaceOnLineBefore(), ProcessNamedUCNEscape(), skipNewline(), skipString(), skipWhitespace(), and startsWithNewline().

◆ isWhitespace() [1/2]

static bool clang::isWhitespace ( llvm::StringRef  S)
inlinestatic

Definition at line 19 of file CommentParser.cpp.

◆ isWhitespace() [2/2]

LLVM_READONLY bool clang::isWhitespace ( unsigned char  c)
inline

◆ isX86_32Builtin()

static bool clang::isX86_32Builtin ( unsigned  BuiltinID)
static

Definition at line 486 of file SemaX86.cpp.

Referenced by clang::SemaX86::CheckBuiltinFunctionCall().

◆ JsonFormat()

std::string clang::JsonFormat ( StringRef  RawSR,
bool  AddQuotes 
)
inline

◆ languageToString()

StringRef clang::languageToString ( Language  L)

Definition at line 16 of file LangStandards.cpp.

References Asm, C, CIR, CUDA, CXX, HIP, HLSL, LLVM_IR, ObjC, ObjCXX, OpenCL, OpenCLCXX, RenderScript, and Unknown.

Referenced by clang::CodeGen::CodeGenModule::Release().

◆ lazyInitKeywordSelector()

template<typename... IdentifierInfos>
static void clang::lazyInitKeywordSelector ( Selector Sel,
ASTContext Ctx,
IdentifierInfos *...  IIs 
)
inlinestatic

Definition at line 27 of file SelectorExtras.h.

References getKeywordSelector(), and clang::Selector::isNull().

◆ LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()

clang::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ( )

◆ LookupNamed()

NamedDecl * clang::LookupNamed ( Sema S,
llvm::StringRef  Name,
const DeclContext Within 
)

Definition at line 71 of file InterpreterUtils.cpp.

◆ LookupNamespace()

NamespaceDecl * clang::LookupNamespace ( Sema S,
llvm::StringRef  Name,
const DeclContext Within 
)

Definition at line 46 of file InterpreterUtils.cpp.

◆ make_error_code()

std::error_code clang::make_error_code ( BuildPreambleError  Error)

◆ MakeDeductionFailureInfo()

DeductionFailureInfo clang::MakeDeductionFailureInfo ( ASTContext Context,
TemplateDeductionResult  TDK,
sema::TemplateDeductionInfo Info 
)

Convert from Sema's representation of template deduction information to the form used in overload-candidate information.

Definition at line 685 of file SemaOverload.cpp.

Referenced by clang::Sema::CheckVarTemplateId(), and clang::Sema::ResolveSingleFunctionTemplateSpecialization().

◆ MaxVersionForCudaArch()

CudaVersion clang::MaxVersionForCudaArch ( CudaArch  A)

Get the latest CudaVersion that supports the given CudaArch.

Definition at line 223 of file Cuda.cpp.

References CUDA_102, CUDA_118, CUDA_80, IsAMDGpuArch(), NEW, SM_20, SM_21, SM_30, SM_32_, SM_35, SM_37, and UNKNOWN.

Referenced by clang::driver::CudaInstallationDetector::CheckCudaVersionSupportsArch().

◆ mergeCanThrow()

CanThrowResult clang::mergeCanThrow ( CanThrowResult  CT1,
CanThrowResult  CT2 
)
inline

Definition at line 65 of file ExceptionSpecificationType.h.

Referenced by canVarDeclThrow().

◆ minLinkage()

Linkage clang::minLinkage ( Linkage  L1,
Linkage  L2 
)
inline

Compute the minimum linkage given two linkages.

The linkage can be interpreted as a pair formed by the formal linkage and a boolean for external visibility. This is just what getFormalLinkage and isExternallyVisible return. We want the minimum of both components. The Linkage enum is defined in an order that makes this simple, we just need special cases for when VisibleNoLinkage would lose the visible bit and become NoLinkage.

Definition at line 129 of file Linkage.h.

References Internal, None, UniqueExternal, and VisibleNone.

Referenced by clang::LinkageInfo::mergeLinkage().

◆ MinVersionForCudaArch()

CudaVersion clang::MinVersionForCudaArch ( CudaArch  A)

Get the earliest CudaVersion that supports the given CudaArch.

Definition at line 178 of file Cuda.cpp.

References CUDA_100, CUDA_110, CUDA_111, CUDA_114, CUDA_118, CUDA_120, CUDA_70, CUDA_80, CUDA_90, CUDA_91, IsAMDGpuArch(), SM_20, SM_21, SM_30, SM_32_, SM_35, SM_37, SM_50, SM_52, SM_53, SM_60, SM_61, SM_62, SM_70, SM_72, SM_75, SM_80, SM_86, SM_87, SM_89, SM_90, SM_90a, and UNKNOWN.

Referenced by clang::driver::CudaInstallationDetector::CheckCudaVersionSupportsArch().

◆ minVisibility()

Visibility clang::minVisibility ( Visibility  L,
Visibility  R 
)
inline

Definition at line 49 of file Visibility.h.

◆ needsTaskBasedThreadLimit()

bool clang::needsTaskBasedThreadLimit ( OpenMPDirectiveKind  DKind)

Checks if the specified target directive, combined or not, needs task based thread_limit.

Parameters
DKindSpecified directive.
Returns
true - if the above condition is met for this directive otherwise - false.

Definition at line 698 of file OpenMPKinds.cpp.

Referenced by clang::CodeGen::CGOpenMPRuntime::emitTargetCall().

◆ noteBottomOfStack()

void clang::noteBottomOfStack ( )

Call this once on each thread, as soon after starting the thread as feasible, to note the approximate address of the bottom of the stack.

Definition at line 40 of file Stack.cpp.

References BottomOfStack, and getStackPointer().

Referenced by clang::ASTFrontendAction::ExecuteAction(), clang::CompilerInstance::ExecuteAction(), and runWithSufficientStackSpaceSlow().

◆ operator!=() [1/9]

template<typename T , typename U >
bool clang::operator!= ( CanQual< T x,
CanQual< U y 
)
inline

Definition at line 207 of file CanonicalType.h.

References clang::CanQual< T >::getAsOpaquePtr().

◆ operator!=() [2/9]

template<typename T , typename U >
constexpr bool clang::operator!= ( const CustomizableOptional< T > &  X,
const CustomizableOptional< U > &  Y 
)
constexpr

Definition at line 127 of file CustomizableOptional.h.

References X.

◆ operator!=() [3/9]

template<typename T >
constexpr bool clang::operator!= ( const CustomizableOptional< T > &  X,
const T Y 
)
constexpr

Definition at line 229 of file CustomizableOptional.h.

References X.

◆ operator!=() [4/9]

template<typename T >
constexpr bool clang::operator!= ( const CustomizableOptional< T > &  X,
std::nullopt_t   
)
constexpr

Definition at line 169 of file CustomizableOptional.h.

References X.

◆ operator!=() [5/9]

bool clang::operator!= ( const FileEntry LHS,
const OptionalFileEntryRef RHS 
)
inline

Definition at line 288 of file FileEntry.h.

◆ operator!=() [6/9]

bool clang::operator!= ( const OptionalFileEntryRef LHS,
const FileEntry RHS 
)
inline

Definition at line 291 of file FileEntry.h.

◆ operator!=() [7/9]

bool clang::operator!= ( const SourceLocation LHS,
const SourceLocation RHS 
)
inline

Definition at line 193 of file SourceLocation.h.

◆ operator!=() [8/9]

template<typename T >
constexpr bool clang::operator!= ( const T X,
const CustomizableOptional< T > &  Y 
)
constexpr

Definition at line 234 of file CustomizableOptional.h.

References X.

◆ operator!=() [9/9]

template<typename T >
constexpr bool clang::operator!= ( std::nullopt_t  ,
const CustomizableOptional< T > &  X 
)
constexpr

Definition at line 174 of file CustomizableOptional.h.

References X.

◆ operator&()

DiagnosticLevelMask clang::operator& ( DiagnosticLevelMask  LHS,
DiagnosticLevelMask  RHS 
)
inline

Definition at line 60 of file DiagnosticOptions.h.

◆ operator<() [1/11]

bool clang::operator< ( const CodeCompletionResult X,
const CodeCompletionResult Y 
)

Definition at line 865 of file CodeCompleteConsumer.cpp.

References clang::CodeCompletionResult::getOrderedName(), and X.

◆ operator<() [2/11]

template<typename T >
constexpr bool clang::operator< ( const CustomizableOptional< T > &  ,
std::nullopt_t   
)
constexpr

Definition at line 179 of file CustomizableOptional.h.

◆ operator<() [3/11]

template<typename T , typename U >
constexpr bool clang::operator< ( const CustomizableOptional< T > &  X,
const CustomizableOptional< U > &  Y 
)
constexpr

Definition at line 133 of file CustomizableOptional.h.

References clang::CustomizableOptional< T >::has_value(), and X.

◆ operator<() [4/11]

template<typename T >
constexpr bool clang::operator< ( const CustomizableOptional< T > &  X,
const T Y 
)
constexpr

Definition at line 239 of file CustomizableOptional.h.

References X.

◆ operator<() [5/11]

bool clang::operator< ( const LineEntry E,
unsigned  Offset 
)
inline

Definition at line 71 of file SourceManagerInternals.h.

References clang::LineEntry::FileOffset, and Offset.

◆ operator<() [6/11]

bool clang::operator< ( const LineEntry lhs,
const LineEntry rhs 
)
inline

Definition at line 66 of file SourceManagerInternals.h.

References clang::LineEntry::FileOffset.

◆ operator<() [7/11]

bool clang::operator< ( const SourceLocation LHS,
const SourceLocation RHS 
)
inline

Definition at line 199 of file SourceLocation.h.

References clang::SourceLocation::getRawEncoding().

◆ operator<() [8/11]

template<typename T >
constexpr bool clang::operator< ( const T X,
const CustomizableOptional< T > &  Y 
)
constexpr

Definition at line 244 of file CustomizableOptional.h.

References X.

◆ operator<() [9/11]

bool clang::operator< ( DeclarationName  LHS,
DeclarationName  RHS 
)
inline

Ordering on two declaration names.

If both names are identifiers, this provides a lexicographical ordering.

Examples
/home/runner/work/llvm/llvm/repo/clang/lib/StaticAnalyzer/Core/RegionStore.cpp.

Definition at line 550 of file DeclarationName.h.

References clang::DeclarationName::compare().

Referenced by clang::CodeGen::CodeGenModule::EmitVTableTypeMetadata(), and maybeDiagnoseUTF8Homoglyph().

◆ operator<() [10/11]

template<typename T >
constexpr bool clang::operator< ( std::nullopt_t  ,
const CustomizableOptional< T > &  X 
)
constexpr

Definition at line 184 of file CustomizableOptional.h.

References X.

◆ operator<() [11/11]

bool clang::operator< ( unsigned  Offset,
const LineEntry E 
)
inline

Definition at line 75 of file SourceManagerInternals.h.

References clang::LineEntry::FileOffset, and Offset.

◆ operator<<() [1/63]

const DiagnosticBuilder& clang::operator<< ( const DiagnosticBuilder DB,
const AddFlagValue  V 
)
inline

Register a value for the flag in the current diagnostic.

This value will be shown as the suffix "=value" after the flag name. It is useful in cases where the diagnostic flag accepts values (e.g., -Rpass or -Wframe-larger-than).

Definition at line 1393 of file Diagnostic.h.

References clang::DiagnosticBuilder::addFlagValue(), and V.

◆ operator<<() [2/63]

const DiagnosticBuilder& clang::operator<< ( const DiagnosticBuilder DB,
const PartialDiagnostic PD 
)
inline

Definition at line 197 of file PartialDiagnostic.h.

References clang::PartialDiagnostic::Emit().

◆ operator<<() [3/63]

const SemaBase::SemaDiagnosticBuilder& clang::operator<< ( const SemaBase::SemaDiagnosticBuilder Diag,
const PartialDiagnostic PD 
)

Definition at line 32 of file SemaBase.cpp.

◆ operator<<() [4/63]

const StreamingDiagnostic & clang::operator<< ( const StreamingDiagnostic DB,
AccessSpecifier  AS 
)

Insertion operator for diagnostics.

This allows sending an AccessSpecifier into a diagnostic with <<.

Definition at line 3562 of file DeclCXX.cpp.

References getAccessName().

◆ operator<<() [5/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
ArrayRef< FixItHint Hints 
)
inline

Definition at line 1516 of file Diagnostic.h.

References clang::StreamingDiagnostic::AddFixItHint().

◆ operator<<() [6/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
ArrayRef< SourceRange Ranges 
)
inline

◆ operator<<() [7/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
CanQualType  T 
)
inline

Definition at line 218 of file CanonicalType.h.

References T.

◆ operator<<() [8/63]

template<typename ACI , std::enable_if_t< std::is_same< ACI, AttributeCommonInfo >::value, int > = 0>
const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const ACI &  CI 
)
inline

AttributeCommonInfo has a non-explicit constructor which takes an SourceRange as its only argument, this constructor has many uses so making it explicit is hard.

This constructor causes ambiguity with DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB, SourceRange R). We use SFINAE to disable any conversion and remove any ambiguity.

Definition at line 1133 of file ParsedAttr.h.

References clang::StreamingDiagnostic::AddTaggedVal(), and clang::DiagnosticsEngine::ak_identifierinfo.

◆ operator<<() [9/63]

template<typename ACI , std::enable_if_t< std::is_same< ACI, AttributeCommonInfo >::value, int > = 0>
const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const ACI *  CI 
)
inline

◆ operator<<() [10/63]

const StreamingDiagnostic & clang::operator<< ( const StreamingDiagnostic DB,
const ASTContext::SectionInfo Section 
)

Insertion operator for diagnostics.

Definition at line 13816 of file ASTContext.cpp.

References clang::ASTContext::SectionInfo::Decl.

◆ operator<<() [11/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const Attr At 
)
inline

◆ operator<<() [12/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const char *  Str 
)
inline

◆ operator<<() [13/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const CharSourceRange R 
)
inline

Definition at line 1504 of file Diagnostic.h.

References clang::StreamingDiagnostic::AddSourceRange().

◆ operator<<() [14/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const FixItHint Hint 
)
inline

Definition at line 1510 of file Diagnostic.h.

References clang::StreamingDiagnostic::AddFixItHint().

◆ operator<<() [15/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const IdentifierInfo II 
)
inline

◆ operator<<() [16/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const ParsedAttr At 
)
inline

◆ operator<<() [17/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const ParsedAttr At 
)
inline

◆ operator<<() [18/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const std::optional< CharSourceRange > &  Opt 
)
inline

Definition at line 1531 of file Diagnostic.h.

◆ operator<<() [19/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const std::optional< FixItHint > &  Opt 
)
inline

Definition at line 1539 of file Diagnostic.h.

◆ operator<<() [20/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
const std::optional< SourceRange > &  Opt 
)
inline

Definition at line 1523 of file Diagnostic.h.

◆ operator<<() [21/63]

const StreamingDiagnostic & clang::operator<< ( const StreamingDiagnostic DB,
const TemplateArgument Arg 
)

Definition at line 696 of file TemplateBase.cpp.

References DiagTemplateArg().

◆ operator<<() [22/63]

const StreamingDiagnostic & clang::operator<< ( const StreamingDiagnostic DB,
DiagNullabilityKind  nullability 
)

◆ operator<<() [23/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
int  I 
)
inline

◆ operator<<() [24/63]

const StreamingDiagnostic & clang::operator<< ( const StreamingDiagnostic DB,
llvm::Error &&  E 
)

◆ operator<<() [25/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
long  I 
)
inline

◆ operator<<() [26/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
long long  I 
)
inline

◆ operator<<() [27/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
NestedNameSpecifier NNS 
)
inline

Insertion operator for diagnostics.

This allows sending NestedNameSpecifiers into a diagnostic with <<.

Definition at line 522 of file NestedNameSpecifier.h.

References clang::StreamingDiagnostic::AddTaggedVal(), and clang::DiagnosticsEngine::ak_nestednamespec.

◆ operator<<() [28/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
SourceLocation  L 
)
inline

◆ operator<<() [29/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
SourceRange  R 
)
inline

◆ operator<<() [30/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
StringRef  S 
)
inline

Definition at line 1399 of file Diagnostic.h.

◆ operator<<() [31/63]

template<typename T >
std::enable_if_t< std::is_same<std::remove_const_t<T>, DeclContext>::value, const StreamingDiagnostic &> clang::operator<< ( const StreamingDiagnostic DB,
T DC 
)
inline

Definition at line 1464 of file Diagnostic.h.

◆ operator<<() [32/63]

template<typename T >
std::enable_if_t<std::is_same<T, bool>::value, const StreamingDiagnostic &> clang::operator<< ( const StreamingDiagnostic DB,
T  I 
)
inline

Definition at line 1424 of file Diagnostic.h.

◆ operator<<() [33/63]

const StreamingDiagnostic & clang::operator<< ( const StreamingDiagnostic DB,
TemplateName  N 
)

Insertion operator for diagnostics.

This allows sending TemplateName's into a diagnostic with <<.

Definition at line 357 of file TemplateName.cpp.

References clang::TemplateName::print().

◆ operator<<() [34/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
tok::TokenKind  I 
)
inline

◆ operator<<() [35/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
unsigned  I 
)
inline

◆ operator<<() [36/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
unsigned long  I 
)
inline

◆ operator<<() [37/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic DB,
unsigned long long  I 
)
inline

◆ operator<<() [38/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic Out,
OpenACCClauseKind  K 
)
inline

Definition at line 452 of file OpenACCKinds.h.

References printOpenACCClauseKind().

◆ operator<<() [39/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic Out,
OpenACCDefaultClauseKind  K 
)
inline

Definition at line 485 of file OpenACCKinds.h.

References printOpenACCDefaultClauseKind().

◆ operator<<() [40/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic Out,
OpenACCDirectiveKind  K 
)
inline

Definition at line 139 of file OpenACCKinds.h.

References printOpenACCDirectiveKind().

◆ operator<<() [41/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic Out,
OpenACCReductionOperator  Op 
)
inline

Definition at line 545 of file OpenACCKinds.h.

References printOpenACCReductionOperator().

◆ operator<<() [42/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic PD,
const NamedDecl ND 
)
inline

Insertion operator for diagnostics.

This allows sending NamedDecl's into a diagnostic with <<.

Definition at line 4989 of file Decl.h.

References clang::StreamingDiagnostic::AddTaggedVal(), and clang::DiagnosticsEngine::ak_nameddecl.

◆ operator<<() [43/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic PD,
DeclarationName  N 
)
inline

Insertion operator for partial diagnostics.

This allows binding DeclarationName's into a partial diagnostic with <<.

Definition at line 888 of file DeclarationName.h.

References clang::StreamingDiagnostic::AddTaggedVal(), clang::DiagnosticsEngine::ak_declarationname, and clang::DeclarationName::getAsOpaqueInteger().

◆ operator<<() [44/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic PD,
LangAS  AS 
)
inline

Insertion operator for partial diagnostics.

This allows sending adress spaces into a diagnostic with <<.

Definition at line 8126 of file Type.h.

References clang::StreamingDiagnostic::AddTaggedVal().

◆ operator<<() [45/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic PD,
Qualifiers  Q 
)
inline

Insertion operator for partial diagnostics.

This allows sending Qualifiers into a diagnostic with <<.

Definition at line 8135 of file Type.h.

References clang::StreamingDiagnostic::AddTaggedVal(), and clang::Qualifiers::getAsOpaqueValue().

◆ operator<<() [46/63]

const StreamingDiagnostic& clang::operator<< ( const StreamingDiagnostic PD,
QualType  T 
)
inline

Insertion operator for partial diagnostics.

This allows sending QualType's into a diagnostic with <<.

Definition at line 8144 of file Type.h.

References clang::StreamingDiagnostic::AddTaggedVal(), clang::DiagnosticsEngine::ak_qualtype, and T.

◆ operator<<() [47/63]

llvm::raw_ostream & clang::operator<< ( llvm::raw_ostream &  OS,
NullabilityKind  NK 
)

Prints human-readable debug representation.

Definition at line 823 of file IdentifierTable.cpp.

◆ operator<<() [48/63]

llvm::raw_ostream & clang::operator<< ( llvm::raw_ostream &  OS,
const OMPTraitInfo TI 
)

Definition at line 2736 of file OpenMPClause.cpp.

References clang::OMPTraitInfo::print().

◆ operator<<() [49/63]

llvm::raw_ostream & clang::operator<< ( llvm::raw_ostream &  OS,
const OMPTraitInfo TI 
)

Definition at line 2743 of file OpenMPClause.cpp.

◆ operator<<() [50/63]

llvm::raw_ostream & clang::operator<< ( llvm::raw_ostream &  OS,
const StoredDiagnostic SD 
)

◆ operator<<() [51/63]

llvm::raw_ostream& clang::operator<< ( llvm::raw_ostream &  Out,
OpenACCClauseKind  K 
)
inline

Definition at line 457 of file OpenACCKinds.h.

References printOpenACCClauseKind().

◆ operator<<() [52/63]

llvm::raw_ostream& clang::operator<< ( llvm::raw_ostream &  Out,
OpenACCDefaultClauseKind  K 
)
inline

Definition at line 490 of file OpenACCKinds.h.

References printOpenACCDefaultClauseKind().

◆ operator<<() [53/63]

llvm::raw_ostream& clang::operator<< ( llvm::raw_ostream &  Out,
OpenACCDirectiveKind  K 
)
inline

Definition at line 144 of file OpenACCKinds.h.

References printOpenACCDirectiveKind().

◆ operator<<() [54/63]

llvm::raw_ostream& clang::operator<< ( llvm::raw_ostream &  Out,
OpenACCReductionOperator  Op 
)
inline

Definition at line 549 of file OpenACCKinds.h.

References printOpenACCReductionOperator().

◆ operator<<() [55/63]

raw_ostream& clang::operator<< ( raw_ostream &  OS,
ASTNodeKind  K 
)
inline

Definition at line 240 of file ASTTypeTraits.h.

References clang::ASTNodeKind::asStringRef().

◆ operator<<() [56/63]

raw_ostream& clang::operator<< ( raw_ostream &  OS,
const NamedDecl ND 
)
inline

Definition at line 490 of file Decl.h.

References clang::NamedDecl::printName().

◆ operator<<() [57/63]

raw_ostream & clang::operator<< ( raw_ostream &  OS,
const ObjCCategoryImplDecl CID 
)

Definition at line 2271 of file DeclObjC.cpp.

References clang::NamedDecl::getName().

◆ operator<<() [58/63]

raw_ostream & clang::operator<< ( raw_ostream &  OS,
const ObjCImplementationDecl ID 
)

Definition at line 2322 of file DeclObjC.cpp.

References ID.

◆ operator<<() [59/63]

raw_ostream & clang::operator<< ( raw_ostream &  OS,
DeclarationName  N 
)

Definition at line 208 of file DeclarationName.cpp.

References clang::DeclarationName::print().

◆ operator<<() [60/63]

raw_ostream & clang::operator<< ( raw_ostream &  OS,
DeclarationNameInfo  DNInfo 
)

Definition at line 460 of file DeclarationName.cpp.

References clang::DeclarationNameInfo::printName().

◆ operator<<() [61/63]

raw_ostream & clang::operator<< ( raw_ostream &  OS,
QualType  QT 
)

Definition at line 2586 of file TypePrinter.cpp.

◆ operator<<() [62/63]

raw_ostream & clang::operator<< ( raw_ostream &  out,
const ObjCRuntime value 
)

◆ operator<<() [63/63]

raw_ostream & clang::operator<< ( raw_ostream &  Out,
DiagnosticLevelMask  M 
)

Definition at line 19 of file DiagnosticOptions.cpp.

◆ operator<=() [1/8]

bool clang::operator<= ( const CodeCompletionResult X,
const CodeCompletionResult Y 
)
inline

Definition at line 1007 of file CodeCompleteConsumer.h.

References X.

◆ operator<=() [2/8]

template<typename T , typename U >
constexpr bool clang::operator<= ( const CustomizableOptional< T > &  X,
const CustomizableOptional< U > &  Y 
)
constexpr

Definition at line 141 of file CustomizableOptional.h.

References X.

◆ operator<=() [3/8]

template<typename T >
constexpr bool clang::operator<= ( const CustomizableOptional< T > &  X,
const T Y 
)
constexpr

Definition at line 249 of file CustomizableOptional.h.

References X.

◆ operator<=() [4/8]

template<typename T >
constexpr bool clang::operator<= ( const CustomizableOptional< T > &  X,
std::nullopt_t   
)
constexpr

Definition at line 189 of file CustomizableOptional.h.

References X.

◆ operator<=() [5/8]

bool clang::operator<= ( const SourceLocation LHS,
const SourceLocation RHS 
)
inline

Definition at line 205 of file SourceLocation.h.

References clang::SourceLocation::getRawEncoding().

◆ operator<=() [6/8]

template<typename T >
constexpr bool clang::operator<= ( const T X,
const CustomizableOptional< T > &  Y 
)
constexpr

Definition at line 254 of file CustomizableOptional.h.

References X.

◆ operator<=() [7/8]

bool clang::operator<= ( DeclarationName  LHS,
DeclarationName  RHS 
)
inline

Ordering on two declaration names.

If both names are identifiers, this provides a lexicographical ordering.

Definition at line 562 of file DeclarationName.h.

References clang::DeclarationName::compare().

◆ operator<=() [8/8]

template<typename T >
constexpr bool clang::operator<= ( std::nullopt_t  ,
const CustomizableOptional< T > &  X 
)
constexpr

Definition at line 194 of file CustomizableOptional.h.

References X.

◆ operator==() [1/12]

template<typename T , typename U >
bool clang::operator== ( CanQual< T x,
CanQual< U y 
)
inline

Definition at line 202 of file CanonicalType.h.

References clang::CanQual< T >::getAsOpaquePtr().

◆ operator==() [2/12]

bool clang::operator== ( const APValue::LValueBase LHS,
const APValue::LValueBase RHS 
)

Definition at line 136 of file APValue.cpp.

◆ operator==() [3/12]

bool clang::operator== ( const AvailabilityInfo Lhs,
const AvailabilityInfo Rhs 
)
inline

Definition at line 113 of file Availability.h.

◆ operator==() [4/12]

bool clang::operator== ( const CallGraphNode::CallRecord LHS,
const CallGraphNode::CallRecord RHS 
)
inline

◆ operator==() [5/12]

template<typename T , typename U >
constexpr bool clang::operator== ( const CustomizableOptional< T > &  X,
const CustomizableOptional< U > &  Y 
)
constexpr

Definition at line 119 of file CustomizableOptional.h.

References clang::CustomizableOptional< T >::has_value(), and X.

◆ operator==() [6/12]

template<typename T >
constexpr bool clang::operator== ( const CustomizableOptional< T > &  X,
const T Y 
)
constexpr

Definition at line 219 of file CustomizableOptional.h.

References X.

◆ operator==() [7/12]

template<typename T >
constexpr bool clang::operator== ( const CustomizableOptional< T > &  X,
std::nullopt_t   
)
constexpr

Definition at line 159 of file CustomizableOptional.h.

References X.

◆ operator==() [8/12]

bool clang::operator== ( const FileEntry LHS,
const OptionalFileEntryRef RHS 
)
inline

Definition at line 282 of file FileEntry.h.

References clang::FileEntryRef::getFileEntry().

◆ operator==() [9/12]

bool clang::operator== ( const OptionalFileEntryRef LHS,
const FileEntry RHS 
)
inline

Definition at line 285 of file FileEntry.h.

References clang::FileEntryRef::getFileEntry().

◆ operator==() [10/12]

bool clang::operator== ( const SourceLocation LHS,
const SourceLocation RHS 
)
inline

Definition at line 189 of file SourceLocation.h.

References clang::SourceLocation::getRawEncoding().

◆ operator==() [11/12]

template<typename T >
constexpr bool clang::operator== ( const T X,
const CustomizableOptional< T > &  Y 
)
constexpr

Definition at line 224 of file CustomizableOptional.h.

References X.

◆ operator==() [12/12]

template<typename T >
constexpr bool clang::operator== ( std::nullopt_t  ,
const CustomizableOptional< T > &  X 
)
constexpr

Definition at line 164 of file CustomizableOptional.h.

References X.

◆ operator>() [1/8]

bool clang::operator> ( const CodeCompletionResult X,
const CodeCompletionResult Y 
)
inline

Definition at line 1002 of file CodeCompleteConsumer.h.

References X.

◆ operator>() [2/8]

template<typename T , typename U >
constexpr bool clang::operator> ( const CustomizableOptional< T > &  X,
const CustomizableOptional< U > &  Y 
)
constexpr

Definition at line 147 of file CustomizableOptional.h.

References X.

◆ operator>() [3/8]

template<typename T >
constexpr bool clang::operator> ( const CustomizableOptional< T > &  X,
const T Y 
)
constexpr

Definition at line 259 of file CustomizableOptional.h.

References X.

◆ operator>() [4/8]

template<typename T >
constexpr bool clang::operator> ( const CustomizableOptional< T > &  X,
std::nullopt_t   
)
constexpr

Definition at line 199 of file CustomizableOptional.h.

References X.

◆ operator>() [5/8]

bool clang::operator> ( const SourceLocation LHS,
const SourceLocation RHS 
)
inline

Definition at line 202 of file SourceLocation.h.

References clang::SourceLocation::getRawEncoding().

◆ operator>() [6/8]

template<typename T >
constexpr bool clang::operator> ( const T X,
const CustomizableOptional< T > &  Y 
)
constexpr

Definition at line 264 of file CustomizableOptional.h.

References X.

◆ operator>() [7/8]

bool clang::operator> ( DeclarationName  LHS,
DeclarationName  RHS 
)
inline

Ordering on two declaration names.

If both names are identifiers, this provides a lexicographical ordering.

Definition at line 556 of file DeclarationName.h.

References clang::DeclarationName::compare().

◆ operator>() [8/8]

template<typename T >
constexpr bool clang::operator> ( std::nullopt_t  ,
const CustomizableOptional< T > &  X 
)
constexpr

Definition at line 204 of file CustomizableOptional.h.

References X.

◆ operator>=() [1/8]

bool clang::operator>= ( const CodeCompletionResult X,
const CodeCompletionResult Y 
)
inline

Definition at line 1012 of file CodeCompleteConsumer.h.

References X.

◆ operator>=() [2/8]

template<typename T , typename U >
constexpr bool clang::operator>= ( const CustomizableOptional< T > &  X,
const CustomizableOptional< U > &  Y 
)
constexpr

Definition at line 153 of file CustomizableOptional.h.

References X.

◆ operator>=() [3/8]

template<typename T >
constexpr bool clang::operator>= ( const CustomizableOptional< T > &  X,
const T Y 
)
constexpr

Definition at line 269 of file CustomizableOptional.h.

References X.

◆ operator>=() [4/8]

template<typename T >
constexpr bool clang::operator>= ( const CustomizableOptional< T > &  X,
std::nullopt_t   
)
constexpr

Definition at line 209 of file CustomizableOptional.h.

References X.

◆ operator>=() [5/8]

bool clang::operator>= ( const SourceLocation LHS,
const SourceLocation RHS 
)
inline

Definition at line 208 of file SourceLocation.h.

References clang::SourceLocation::getRawEncoding().

◆ operator>=() [6/8]

template<typename T >
constexpr bool clang::operator>= ( const T X,
const CustomizableOptional< T > &  Y 
)
constexpr

Definition at line 274 of file CustomizableOptional.h.

References X.

◆ operator>=() [7/8]

bool clang::operator>= ( DeclarationName  LHS,
DeclarationName  RHS 
)
inline

Ordering on two declaration names.

If both names are identifiers, this provides a lexicographical ordering.

Definition at line 568 of file DeclarationName.h.

References clang::DeclarationName::compare().

◆ operator>=() [8/8]

template<typename T >
constexpr bool clang::operator>= ( std::nullopt_t  ,
const CustomizableOptional< T > &  X 
)
constexpr

Definition at line 214 of file CustomizableOptional.h.

References X.

◆ operator|()

DiagnosticLevelMask clang::operator| ( DiagnosticLevelMask  LHS,
DiagnosticLevelMask  RHS 
)
inline

Definition at line 53 of file DiagnosticOptions.h.

◆ operator~()

DiagnosticLevelMask clang::operator~ ( DiagnosticLevelMask  M)
inline

Definition at line 48 of file DiagnosticOptions.h.

◆ ParseAST() [1/2]

void clang::ParseAST ( Preprocessor PP,
ASTConsumer Consumer,
ASTContext Ctx,
bool  PrintStats = false,
TranslationUnitKind  TUKind = TU_Complete,
CodeCompleteConsumer CompletionConsumer = nullptr,
bool  SkipFunctionBodies = false 
)

Parse the entire file specified, notifying the ASTConsumer as the file is parsed.

ParseAST - Parse the entire file specified, notifying the ASTConsumer as the file is parsed.

This operation inserts the parsed decls into the translation unit held by Ctx.

Parameters
PrintStatsWhether to print LLVM statistics related to parsing.
TUKindThe kind of translation unit being parsed.
CompletionConsumerIf given, an object to consume code completion results.
SkipFunctionBodiesWhether to skip parsing of function bodies. This option can be used, for example, to speed up searches for declarations/definitions when indexing.

This inserts the parsed decls into the translation unit held by Ctx.

Definition at line 101 of file ParseAST.cpp.

Referenced by createChainedIncludesSource(), and clang::ASTFrontendAction::ExecuteAction().

◆ ParseAST() [2/2]

void clang::ParseAST ( Sema S,
bool  PrintStats = false,
bool  SkipFunctionBodies = false 
)

Parse the main file known to the preprocessor, producing an abstract syntax tree.

Definition at line 116 of file ParseAST.cpp.

◆ parseDarwinSDKInfo()

Expected< std::optional< DarwinSDKInfo > > clang::parseDarwinSDKInfo ( llvm::vfs::FileSystem &  VFS,
StringRef  SDKRootPath 
)

Parse the SDK information from the SDKSettings.json file.

Returns
an error if the SDKSettings.json file is invalid, std::nullopt if the SDK has no SDKSettings.json, or a valid DarwinSDKInfo otherwise.

Definition at line 132 of file DarwinSDKInfo.cpp.

References File, and clang::DarwinSDKInfo::parseDarwinSDKSettingsJSON().

Referenced by clang::Sema::getDarwinSDKInfoForAvailabilityChecking().

◆ ParseDiagnosticArgs()

bool clang::ParseDiagnosticArgs ( DiagnosticOptions Opts,
llvm::opt::ArgList &  Args,
DiagnosticsEngine Diags = nullptr,
bool  DefaultDiagColor = true 
)

Fill out Opts based on the options given in Args.

Args must have been created from the OptTable returned by createCC1OptTable().

When errors are encountered, return false and, if Diags is non-null, report the error(s).

Referenced by CreateAndPopulateDiagOpts().

◆ parseSanitizerValue()

SanitizerMask clang::parseSanitizerValue ( StringRef  Value,
bool  AllowGroups 
)

Parse a single value from a -fsanitize= or -fno-sanitize= value list.

Returns a non-zero SanitizerMask, or 0 if Value is not known.

Definition at line 29 of file Sanitizers.cpp.

Referenced by describeSanitizeArg(), clang::driver::toolchains::HIPAMDToolChain::HIPAMDToolChain(), parseArgValues(), and shouldSkipSanitizeOption().

◆ parseTargetID()

std::optional< llvm::StringRef > clang::parseTargetID ( const llvm::Triple &  T,
llvm::StringRef  OffloadArch,
llvm::StringMap< bool > *  FeatureMap 
)

Parse a target ID to get processor and feature map.

Returns canonicalized processor name or std::nullopt if the target ID is invalid. Returns target ID features in FeatureMap if it is not null pointer. This function assumes OffloadArch is a valid target ID. If the target ID contains feature+, map it to true. If the target ID contains feature-, map it to false. If the target ID does not contain a feature (default), do not map it.

Definition at line 105 of file TargetID.cpp.

References getAllPossibleTargetIDFeatures(), getCanonicalProcessorName(), parseTargetIDWithFormatCheckingOnly(), and T.

Referenced by clang::driver::tools::amdgpu::getAMDGPUTargetFeatures(), getCanonicalArchString(), clang::driver::toolchains::AMDGPUToolChain::getParsedTargetID(), isCodeObjectCompatible(), and shouldSkipSanitizeOption().

◆ parseTargetIDWithFormatCheckingOnly()

static std::optional<llvm::StringRef> clang::parseTargetIDWithFormatCheckingOnly ( llvm::StringRef  TargetID,
llvm::StringMap< bool > *  FeatureMap 
)
static

Definition at line 67 of file TargetID.cpp.

References Loc.

Referenced by getConflictTargetIDCombination(), isCompatibleTargetID(), and parseTargetID().

◆ parseXRayInstrValue()

XRayInstrMask clang::parseXRayInstrValue ( StringRef  Value)

◆ prepare_PragmaString()

void clang::prepare_PragmaString ( SmallVectorImpl< char > &  StrVal)

Destringize a _Pragma("") string according to C11 6.10.9.1: "The string literal is destringized by deleting any encoding prefix, deleting the leading and trailing double-quotes, replacing each escape sequence " by a double-quote, and replacing each escape sequence \ by a single backslash.

"

Definition at line 306 of file Pragma.cpp.

◆ printDependencyDirectivesAsSource()

void clang::printDependencyDirectivesAsSource ( StringRef  Source,
ArrayRef< dependency_directives_scan::Directive Directives,
llvm::raw_ostream &  OS 
)

Print the previously scanned dependency directives as minimized source text.

Parameters
SourceThe original source text that the dependency directives were scanned from.
DirectivesThe previously scanned dependency directives.
OSthe stream to print the dependency directives on.

This is used primarily for testing purposes, during dependency scanning the Lexer uses the tokens directly, not their printed version.

Definition at line 958 of file DependencyDirectivesScanner.cpp.

References clang::dependency_directives_scan::Token::getEnd(), clang::dependency_directives_scan::Token::isOneOf(), clang::dependency_directives_scan::Token::Kind, clang::dependency_directives_scan::Directive::Kind, clang::dependency_directives_scan::Token::Offset, clang::dependency_directives_scan::Directive::Tokens, and clang::dependency_directives_scan::tokens_present_before_eof.

◆ printOpenACCClauseKind()

template<typename StreamTy >
StreamTy& clang::printOpenACCClauseKind ( StreamTy &  Out,
OpenACCClauseKind  K 
)
inline

◆ printOpenACCDefaultClauseKind()

template<typename StreamTy >
StreamTy& clang::printOpenACCDefaultClauseKind ( StreamTy &  Out,
OpenACCDefaultClauseKind  K 
)
inline

Definition at line 472 of file OpenACCKinds.h.

References Invalid, None, and Present.

Referenced by operator<<().

◆ printOpenACCDirectiveKind()

template<typename StreamTy >
StreamTy& clang::printOpenACCDirectiveKind ( StreamTy &  Out,
OpenACCDirectiveKind  K 
)
inline

◆ printOpenACCReductionOperator()

template<typename StreamTy >
StreamTy& clang::printOpenACCReductionOperator ( StreamTy &  Out,
OpenACCReductionOperator  Op 
)
inline

Definition at line 519 of file OpenACCKinds.h.

References Addition, And, BitwiseAnd, BitwiseOr, BitwiseXOr, Invalid, Max, Min, Multiplication, and Or.

Referenced by operator<<().

◆ printQuotedName()

template<typename NamedDeclDerivedT >
void clang::printQuotedName ( llvm::raw_ostream &  Os,
const NamedDeclDerivedT &  D 
)

Definition at line 27 of file DiagOutputUtils.h.

◆ printQuotedQualifiedName()

template<typename NamedDeclDerivedT >
void clang::printQuotedQualifiedName ( llvm::raw_ostream &  Os,
const NamedDeclDerivedT &  D 
)

Definition at line 18 of file DiagOutputUtils.h.

◆ printSourceLocationAsJson()

void clang::printSourceLocationAsJson ( raw_ostream &  Out,
SourceLocation  Loc,
const SourceManager SM,
bool  AddBraces = true 
)
inline

◆ printTemplateArgumentList() [1/3]

void clang::printTemplateArgumentList ( raw_ostream &  OS,
ArrayRef< TemplateArgument Args,
const PrintingPolicy Policy,
const TemplateParameterList TPL = nullptr 
)

◆ printTemplateArgumentList() [2/3]

void clang::printTemplateArgumentList ( raw_ostream &  OS,
ArrayRef< TemplateArgumentLoc Args,
const PrintingPolicy Policy,
const TemplateParameterList TPL = nullptr 
)

Definition at line 2392 of file TypePrinter.cpp.

◆ printTemplateArgumentList() [3/3]

void clang::printTemplateArgumentList ( raw_ostream &  OS,
const TemplateArgumentListInfo Args,
const PrintingPolicy Policy,
const TemplateParameterList TPL = nullptr 
)

Definition at line 2378 of file TypePrinter.cpp.

◆ ProcessWarningOptions()

void clang::ProcessWarningOptions ( DiagnosticsEngine Diags,
const DiagnosticOptions Opts,
bool  ReportDiags = true 
)

ProcessWarningOptions - Initialize the diagnostic client and process the warning options specified on the command line.

Definition at line 44 of file Warnings.cpp.

References EmitUnknownDiagWarning(), clang::diag::Error, clang::DiagnosticsEngine::getDiagnosticIDs(), clang::diag::Ignored, clang::diag::Remark, clang::DiagnosticOptions::Remarks, clang::DiagnosticsEngine::Report(), clang::DiagnosticsEngine::setConstexprBacktraceLimit(), clang::DiagnosticsEngine::setDiagnosticGroupErrorAsFatal(), clang::DiagnosticsEngine::setDiagnosticGroupWarningAsError(), clang::DiagnosticsEngine::setElideType(), clang::DiagnosticsEngine::setEnableAllWarnings(), clang::DiagnosticsEngine::setErrorLimit(), clang::DiagnosticsEngine::setErrorsAsFatal(), clang::DiagnosticsEngine::setExtensionHandlingBehavior(), clang::DiagnosticsEngine::setIgnoreAllWarnings(), clang::DiagnosticsEngine::setPrintTemplateTree(), clang::DiagnosticsEngine::setSeverityForAll(), clang::DiagnosticsEngine::setSeverityForGroup(), clang::DiagnosticsEngine::setShowColors(), clang::DiagnosticsEngine::setShowOverloads(), clang::DiagnosticsEngine::setSuppressSystemWarnings(), clang::DiagnosticsEngine::setTemplateBacktraceLimit(), clang::DiagnosticsEngine::setWarningsAsErrors(), Specifier, clang::diag::Warning, clang::diag::WarningOrError, and clang::DiagnosticOptions::Warnings.

Referenced by clang::PrecompiledPreamble::Build(), clang::CompilerInstance::createDiagnostics(), clang::ASTUnit::LoadFromCompilerInvocationAction(), clang::PCHValidator::ReadDiagnosticOptions(), and clang::ASTUnit::Reparse().

◆ quoteMakeTarget()

void clang::quoteMakeTarget ( StringRef  Target,
SmallVectorImpl< char > &  Res 
)

Quote target names for inclusion in GNU Make dependency files.

Only the characters '$', '#', ' ', '\t' are quoted.

Definition at line 11 of file MakeSupport.cpp.

◆ reportOptRecordError()

static void clang::reportOptRecordError ( Error  E,
DiagnosticsEngine Diags,
const CodeGenOptions CodeGenOpts 
)
static

◆ RewriteIncludesInInput()

void clang::RewriteIncludesInInput ( Preprocessor PP,
raw_ostream *  OS,
const PreprocessorOutputOptions Opts 
)

◆ RewriteMacrosInInput()

void clang::RewriteMacrosInInput ( Preprocessor PP,
raw_ostream *  OS 
)

◆ runUninitializedVariablesAnalysis()

void clang::runUninitializedVariablesAnalysis ( const DeclContext dc,
const CFG cfg,
AnalysisDeclContext ac,
UninitVariablesHandler handler,
UninitVariablesAnalysisStats stats 
)

◆ runWithSufficientStackSpace()

void clang::runWithSufficientStackSpace ( llvm::function_ref< void()>  Diag,
llvm::function_ref< void()>  Fn 
)
inline

Run a given function on a stack with "sufficient" space.

If stack space is insufficient, calls Diag to emit a diagnostic before calling Fn.

Definition at line 40 of file Stack.h.

References Diag(), isStackNearlyExhausted(), and runWithSufficientStackSpaceSlow().

Referenced by clang::Sema::BuildCXXDefaultArgExpr(), clang::Sema::BuildCXXDefaultInitExpr(), clang::Sema::CheckCXXDefaultArgExpr(), clang::Sema::DeduceTemplateArguments(), clang::Sema::MarkFunctionReferenced(), and clang::Sema::runWithSufficientStackSpace().

◆ runWithSufficientStackSpaceSlow()

void clang::runWithSufficientStackSpaceSlow ( llvm::function_ref< void()>  Diag,
llvm::function_ref< void()>  Fn 
)

Definition at line 66 of file Stack.cpp.

References DesiredStackSize, Diag(), and noteBottomOfStack().

Referenced by runWithSufficientStackSpace().

◆ safeGetName()

template<typename T >
std::string clang::safeGetName ( const T ASTNode)
Returns
name of AST node or empty string.

Definition at line 68 of file ASTUtils.h.

Referenced by isCtorOfRefCounted(), isGetterOfRefCounted(), isPtrConversion(), and isRefCounted().

◆ scanDirectory() [1/2]

std::vector<std::string> clang::scanDirectory ( llvm::StringRef  Path)

Gets names (filenames) of items in directory at Path.

Returns
empty vector if Path is not a directory, doesn't exist or can't be read from.

◆ scanDirectory() [2/2]

std::vector<std::string> clang::scanDirectory ( StringRef  Path)

Definition at line 26 of file DirectoryScanner.cpp.

References End, and getFileStatus().

◆ scanSourceForDependencyDirectives()

bool clang::scanSourceForDependencyDirectives ( StringRef  Input,
SmallVectorImpl< dependency_directives_scan::Token > &  Tokens,
SmallVectorImpl< dependency_directives_scan::Directive > &  Directives,
DiagnosticsEngine Diags = nullptr,
SourceLocation  InputSourceLoc = SourceLocation() 
)

Scan the input for the preprocessor directives that might have an effect on the dependencies for a compilation unit.

This function ignores all non-preprocessor code and anything that can't affect what gets included.

Returns
false on success, true on error. If the diagnostic engine is not null, an appropriate error is reported using the given input location with the offset that corresponds to the Input buffer offset.

Definition at line 951 of file DependencyDirectivesScanner.cpp.

Referenced by clang::tooling::dependencies::DependencyScanningWorkerFilesystem::ensureDirectiveTokensArePopulated().

◆ serializeSanitizerSet()

void clang::serializeSanitizerSet ( SanitizerSet  Set,
SmallVectorImpl< StringRef > &  Values 
)

Serialize a SanitizerSet into values for -fsanitize= or -fno-sanitize=.

Definition at line 39 of file Sanitizers.cpp.

◆ serializeXRayInstrValue()

void clang::serializeXRayInstrValue ( XRayInstrSet  Set,
SmallVectorImpl< StringRef > &  Values 
)

◆ shouldEnforceArgLimit()

bool clang::shouldEnforceArgLimit ( bool  PartialOverloading,
FunctionDecl Function 
)

Definition at line 16496 of file SemaOverload.cpp.

References Function.

◆ shouldSkipCheckingODR()

bool clang::shouldSkipCheckingODR ( const Decl D)
inline

◆ specific_attr_begin()

template<typename SpecificAttr , typename Container >
specific_attr_iterator<SpecificAttr, Container> clang::specific_attr_begin ( const Container &  container)
inline

Definition at line 101 of file AttrIterator.h.

◆ specific_attr_end()

template<typename SpecificAttr , typename Container >
specific_attr_iterator<SpecificAttr, Container> clang::specific_attr_end ( const Container &  container)
inline

Definition at line 106 of file AttrIterator.h.

◆ StmtEmpty()

StmtResult clang::StmtEmpty ( )
inline

Definition at line 272 of file Ownership.h.

Referenced by clang::SemaOpenACC::ActOnEndStmtDirective().

◆ StmtError() [1/2]

StmtResult clang::StmtError ( )
inline

Definition at line 265 of file Ownership.h.

Referenced by clang::Sema::ActOnCapScopeReturnStmt(), clang::Sema::ActOnCaseStmt(), clang::Sema::ActOnDeclStmt(), clang::Sema::ActOnDoStmt(), clang::SemaOpenACC::ActOnEndStmtDirective(), clang::Sema::ActOnExprStmt(), clang::Sema::ActOnExprStmtError(), clang::Sema::ActOnFinishFullStmt(), clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnForEachLValueExpr(), clang::Sema::ActOnForStmt(), clang::Sema::ActOnIfStmt(), clang::Sema::ActOnMSAsmStmt(), clang::SemaObjC::ActOnObjCAtThrowStmt(), clang::SemaOpenMP::ActOnOpenMPCancelDirective(), clang::SemaOpenMP::ActOnOpenMPCancellationPointDirective(), clang::SemaOpenMP::ActOnOpenMPCriticalDirective(), clang::SemaOpenMP::ActOnOpenMPDepobjDirective(), clang::SemaOpenMP::ActOnOpenMPDispatchDirective(), clang::SemaOpenMP::ActOnOpenMPDistributeDirective(), clang::SemaOpenMP::ActOnOpenMPDistributeParallelForDirective(), clang::SemaOpenMP::ActOnOpenMPDistributeParallelForSimdDirective(), clang::SemaOpenMP::ActOnOpenMPDistributeSimdDirective(), clang::SemaOpenMP::ActOnOpenMPErrorDirective(), clang::SemaOpenMP::ActOnOpenMPExecutableDirective(), clang::SemaOpenMP::ActOnOpenMPFlushDirective(), clang::SemaOpenMP::ActOnOpenMPForDirective(), clang::SemaOpenMP::ActOnOpenMPForSimdDirective(), clang::SemaOpenMP::ActOnOpenMPGenericLoopDirective(), clang::SemaOpenMP::ActOnOpenMPInteropDirective(), clang::SemaOpenMP::ActOnOpenMPMaskedDirective(), clang::SemaOpenMP::ActOnOpenMPMaskedTaskLoopDirective(), clang::SemaOpenMP::ActOnOpenMPMaskedTaskLoopSimdDirective(), clang::SemaOpenMP::ActOnOpenMPMasterDirective(), clang::SemaOpenMP::ActOnOpenMPMasterTaskLoopDirective(), clang::SemaOpenMP::ActOnOpenMPMasterTaskLoopSimdDirective(), clang::SemaOpenMP::ActOnOpenMPOrderedDirective(), clang::SemaOpenMP::ActOnOpenMPParallelDirective(), clang::SemaOpenMP::ActOnOpenMPParallelForDirective(), clang::SemaOpenMP::ActOnOpenMPParallelForSimdDirective(), clang::SemaOpenMP::ActOnOpenMPParallelGenericLoopDirective(), clang::SemaOpenMP::ActOnOpenMPParallelMaskedDirective(), clang::SemaOpenMP::ActOnOpenMPParallelMaskedTaskLoopDirective(), clang::SemaOpenMP::ActOnOpenMPParallelMaskedTaskLoopSimdDirective(), clang::SemaOpenMP::ActOnOpenMPParallelMasterDirective(), clang::SemaOpenMP::ActOnOpenMPParallelMasterTaskLoopDirective(), clang::SemaOpenMP::ActOnOpenMPParallelMasterTaskLoopSimdDirective(), clang::SemaOpenMP::ActOnOpenMPParallelSectionsDirective(), clang::SemaOpenMP::ActOnOpenMPScanDirective(), clang::SemaOpenMP::ActOnOpenMPScopeDirective(), clang::SemaOpenMP::ActOnOpenMPSectionDirective(), clang::SemaOpenMP::ActOnOpenMPSectionsDirective(), clang::SemaOpenMP::ActOnOpenMPSimdDirective(), clang::SemaOpenMP::ActOnOpenMPSingleDirective(), clang::SemaOpenMP::ActOnOpenMPTargetDataDirective(), clang::SemaOpenMP::ActOnOpenMPTargetDirective(), clang::SemaOpenMP::ActOnOpenMPTargetEnterDataDirective(), clang::SemaOpenMP::ActOnOpenMPTargetExitDataDirective(), clang::SemaOpenMP::ActOnOpenMPTargetParallelDirective(), clang::SemaOpenMP::ActOnOpenMPTargetParallelForDirective(), clang::SemaOpenMP::ActOnOpenMPTargetParallelForSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTargetParallelGenericLoopDirective(), clang::SemaOpenMP::ActOnOpenMPTargetSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTargetTeamsDirective(), clang::SemaOpenMP::ActOnOpenMPTargetTeamsDistributeDirective(), clang::SemaOpenMP::ActOnOpenMPTargetTeamsDistributeParallelForDirective(), clang::SemaOpenMP::ActOnOpenMPTargetTeamsDistributeParallelForSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTargetTeamsDistributeSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTargetTeamsGenericLoopDirective(), clang::SemaOpenMP::ActOnOpenMPTargetUpdateDirective(), clang::SemaOpenMP::ActOnOpenMPTaskDirective(), clang::SemaOpenMP::ActOnOpenMPTaskgroupDirective(), clang::SemaOpenMP::ActOnOpenMPTaskLoopDirective(), clang::SemaOpenMP::ActOnOpenMPTaskLoopSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTaskwaitDirective(), clang::SemaOpenMP::ActOnOpenMPTeamsDirective(), clang::SemaOpenMP::ActOnOpenMPTeamsDistributeDirective(), clang::SemaOpenMP::ActOnOpenMPTeamsDistributeParallelForDirective(), clang::SemaOpenMP::ActOnOpenMPTeamsDistributeParallelForSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTeamsDistributeSimdDirective(), clang::SemaOpenMP::ActOnOpenMPTeamsGenericLoopDirective(), clang::Sema::ActOnReturnStmt(), clang::Sema::ActOnSEHExceptBlock(), clang::Sema::ActOnSEHLeaveStmt(), clang::Sema::ActOnStartOfSwitchStmt(), clang::Sema::ActOnWhileStmt(), clang::Sema::BuildCoreturnStmt(), clang::Sema::BuildCoroutineBodyStmt(), clang::Sema::BuildIfStmt(), clang::Sema::BuildReturnStmt(), clang::Parser::ParseOpenACCDirectiveStmt(), clang::TreeTransform< Derived >::RebuildAttributedStmt(), clang::TreeTransform< Derived >::RebuildCXXForRangeStmt(), StmtError(), and clang::TreeTransform< Derived >::TransformOMPExecutableDirective().

◆ StmtError() [2/2]

StmtResult clang::StmtError ( const StreamingDiagnostic )
inline

Definition at line 269 of file Ownership.h.

References StmtError().

◆ StringToCudaArch()

CudaArch clang::StringToCudaArch ( llvm::StringRef  S)

◆ stringToHeaderIncludeFiltering()

bool clang::stringToHeaderIncludeFiltering ( const char *  Str,
HeaderIncludeFilteringKind Kind 
)
inline

Definition at line 37 of file HeaderInclude.h.

References Default, HIFIL_None, HIFIL_Only_Direct_System, and P.

◆ stringToHeaderIncludeFormatKind()

HeaderIncludeFormatKind clang::stringToHeaderIncludeFormatKind ( const char *  Str)
inline

Definition at line 30 of file HeaderInclude.h.

References HIFMT_JSON, HIFMT_None, and HIFMT_Textual.

◆ supportsVariadicCall()

bool clang::supportsVariadicCall ( CallingConv  CC)
inline

Checks whether the given calling convention supports variadic calls.

Unprototyped calls also use the variadic call rules.

Definition at line 304 of file Specifiers.h.

References CC_M68kRTD, CC_OpenCLKernel, CC_SpirFunction, CC_Swift, CC_SwiftAsync, CC_X86FastCall, CC_X86Pascal, CC_X86RegCall, CC_X86StdCall, CC_X86ThisCall, and CC_X86VectorCall.

◆ takeAndConcatenateAttrs()

void clang::takeAndConcatenateAttrs ( ParsedAttributes First,
ParsedAttributes Second,
ParsedAttributes Result 
)

Consumes the attributes from First and Second and concatenates them into Result.

Sets Result.Range to the combined range of First and Second.

Definition at line 318 of file ParsedAttr.cpp.

References First, clang::SourceRange::getBegin(), clang::SourceRange::getEnd(), clang::SourceLocation::isValid(), and clang::ParsedAttributesView::Range.

◆ ToConstrainedExceptMD()

llvm::fp::ExceptionBehavior clang::ToConstrainedExceptMD ( LangOptions::FPExceptionModeKind  Kind)

◆ ToCudaVersion()

CudaVersion clang::ToCudaVersion ( llvm::VersionTuple  Version)

Definition at line 66 of file Cuda.cpp.

References CudaNameVersionMap, UNKNOWN, and clang::CudaVersionMapEntry::Version.

Referenced by CudaFeatureEnabled().

◆ toExprDependence() [1/2]

ExprDependence clang::toExprDependence ( NestedNameSpecifierDependence  D)
inline

Definition at line 259 of file DependenceFlags.h.

References clang::Dependence::expr().

◆ toExprDependence() [2/2]

ExprDependence clang::toExprDependence ( TemplateArgumentDependence  TA)
inline

Computes dependencies of a reference with the name having template arguments with TA dependencies.

Definition at line 247 of file DependenceFlags.h.

References clang::Dependence::expr().

Referenced by computeDependence().

◆ toExprDependenceAsWritten()

ExprDependence clang::toExprDependenceAsWritten ( TypeDependence  D)
inline

Definition at line 253 of file DependenceFlags.h.

References clang::Dependence::expr().

Referenced by computeDependence().

◆ toExprDependenceForImpliedType()

ExprDependence clang::toExprDependenceForImpliedType ( TypeDependence  D)
inline

Definition at line 250 of file DependenceFlags.h.

References clang::Dependence::expr(), and clang::Dependence::semantic().

Referenced by computeDependence().

◆ tokenIsLikeStringLiteral()

bool clang::tokenIsLikeStringLiteral ( const Token Tok,
const LangOptions LO 
)

Return true if the token is a string literal, or a function local predefined macro, which expands to a string literal.

Definition at line 450 of file LiteralSupport.cpp.

References clang::Token::getKind(), isFunctionLocalStringLiteralMacro(), and clang::tok::isStringLiteral().

◆ toLowercase()

LLVM_READONLY char clang::toLowercase ( char  c)
inline

Converts the given ASCII character to its lowercase equivalent.

If the character is not an uppercase character, it is returned as is.

Definition at line 224 of file CharInfo.h.

References c, and isUppercase().

Referenced by UseNSOptionsMacro().

◆ toNestedNameSpecifierDependendence()

NestedNameSpecifierDependence clang::toNestedNameSpecifierDependendence ( TypeDependence  D)
inline

◆ toSemanticDependence()

TypeDependence clang::toSemanticDependence ( TypeDependence  D)
inline

Definition at line 291 of file DependenceFlags.h.

References clang::Dependence::semantic(), and clang::Dependence::type().

◆ toSyntacticDependence()

TypeDependence clang::toSyntacticDependence ( TypeDependence  D)
inline

Definition at line 288 of file DependenceFlags.h.

References clang::Dependence::syntactic(), and clang::Dependence::type().

◆ toTargetAddressSpace()

unsigned clang::toTargetAddressSpace ( LangAS  AS)
inline

◆ toTemplateArgumentDependence() [1/3]

TemplateArgumentDependence clang::toTemplateArgumentDependence ( ExprDependence  D)
inline

Definition at line 309 of file DependenceFlags.h.

References clang::Dependence::templateArgument().

◆ toTemplateArgumentDependence() [2/3]

TemplateArgumentDependence clang::toTemplateArgumentDependence ( TemplateNameDependence  D)
inline

Definition at line 305 of file DependenceFlags.h.

References clang::Dependence::templateArgument().

◆ toTemplateArgumentDependence() [3/3]

TemplateArgumentDependence clang::toTemplateArgumentDependence ( TypeDependence  D)
inline

◆ toTemplateNameDependence()

TemplateNameDependence clang::toTemplateNameDependence ( NestedNameSpecifierDependence  D)
inline

Definition at line 314 of file DependenceFlags.h.

References clang::Dependence::templateName().

Referenced by clang::TemplateName::getDependence().

◆ toTypeDependence() [1/4]

TypeDependence clang::toTypeDependence ( ExprDependence  D)
inline

Definition at line 275 of file DependenceFlags.h.

References clang::Dependence::type().

◆ toTypeDependence() [2/4]

TypeDependence clang::toTypeDependence ( NestedNameSpecifierDependence  D)
inline

Definition at line 278 of file DependenceFlags.h.

References clang::Dependence::type().

◆ toTypeDependence() [3/4]

TypeDependence clang::toTypeDependence ( TemplateArgumentDependence  D)
inline

Definition at line 284 of file DependenceFlags.h.

References clang::Dependence::type().

◆ toTypeDependence() [4/4]

TypeDependence clang::toTypeDependence ( TemplateNameDependence  D)
inline

Definition at line 281 of file DependenceFlags.h.

References clang::Dependence::type().

◆ toUppercase()

LLVM_READONLY char clang::toUppercase ( char  c)
inline

Converts the given ASCII character to its uppercase equivalent.

If the character is not a lowercase character, it is returned as is.

Definition at line 233 of file CharInfo.h.

References c, and isLowercase().

Referenced by isCaseSensitivePath().

◆ transformOMPMappableExprListClause()

template<typename Derived , class T >
bool clang::transformOMPMappableExprListClause ( TreeTransform< Derived > &  TT,
OMPMappableExprListClause< T > *  C,
llvm::SmallVectorImpl< Expr * > &  Vars,
CXXScopeSpec MapperIdScopeSpec,
DeclarationNameInfo MapperIdInfo,
llvm::SmallVectorImpl< Expr * > &  UnresolvedMappers 
)

◆ TransformTypeSpecType()

template<class TyLoc >
static QualType clang::TransformTypeSpecType ( TypeLocBuilder TLB,
TyLoc  T 
)
inlinestatic

Definition at line 5254 of file TreeTransform.h.

References clang::TypeLocBuilder::push(), and T.

◆ TRY_TO() [1/13]

clang::TRY_TO ( TraverseArrayTypeLocHelper(TL)  )
Initial value:
{
TRY_TO(TraverseTypeLoc(TL.getElementLoc()))

◆ TRY_TO() [2/13]

clang::TRY_TO ( TraverseStmt(T->getIndexExpr())  )

◆ TRY_TO() [3/13]

clang::TRY_TO ( TraverseStmt(T->getSizeExpr())  )

◆ TRY_TO() [4/13]

clang::TRY_TO ( TraverseStmt(TL.getAttrColumnOperand())  )

◆ TRY_TO() [5/13]

clang::TRY_TO ( TraverseStmt(TL.getTypePtr() ->getIndexExpr())  )

◆ TRY_TO() [6/13]

clang::TRY_TO ( TraverseTemplateArguments(T->template_arguments())  )
Initial value:
{
TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()))

◆ TRY_TO() [7/13]

else clang::TRY_TO ( TraverseType(QualType(TL.getTypePtr() ->getClass(), 0))  )

◆ TRY_TO() [8/13]

clang::TRY_TO ( TraverseType(T->desugar())  )

◆ TRY_TO() [9/13]

clang::TRY_TO ( TraverseType(T->getElementType())  )

◆ TRY_TO() [10/13]

clang::TRY_TO ( TraverseType(T->getPointeeType())  )

◆ TRY_TO() [11/13]

clang::TRY_TO ( TraverseType(TL.getTypePtr() ->getElementType())  )

◆ TRY_TO() [12/13]

clang::TRY_TO ( TraverseType(TL.getTypePtr() ->getPointeeType())  )

◆ TRY_TO() [13/13]

clang::TRY_TO ( TraverseTypeLoc(TL.getPointeeLoc())  )

◆ tryToFindPtrOrigin()

bool clang::tryToFindPtrOrigin ( const clang::Expr E,
bool  StopAtFirstRefCountedObj,
std::function< bool(const clang::Expr *, bool)>  callback 
)

This function de-facto defines a set of transformations that we consider safe (in heuristical sense).

These transformation if passed a safe value as an input should provide a safe value (or an object that provides safe values).

For more context see Static Analyzer checkers documentation - specifically webkit.UncountedCallArgsChecker checker. Allowed list of transformations:

  • constructors of ref-counted types (including factory methods)
  • getters of ref-counted types
  • member overloaded operators
  • casts
  • unary operators like & or *

If passed expression is of type uncounted pointer/reference we try to find the "origin" of the pointer value. Origin can be for example a local variable, nullptr, constant or this-pointer.

Certain subexpression nodes represent transformations that don't affect where the memory address originates from. We try to traverse such subexpressions to get to the relevant child nodes. Whenever we encounter a subexpression that either can't be ignored, we don't model its semantics or that has multiple children we stop.

E is an expression of uncounted pointer/reference type. If StopAtFirstRefCountedObj is true and we encounter a subexpression that represents ref-counted object during the traversal we return relevant sub-expression and true.

Calls callback with the subexpression that we traversed to and if StopAtFirstRefCountedObj is true we also specify whether we stopped early. Returns false if any of calls to callbacks returned false. Otherwise true.

Definition at line 19 of file ASTUtils.cpp.

References cast(), Class, clang::ast_matchers::decl, isCtorOfRefCounted(), isGetterOfRefCounted(), isPtrConversion(), isRefCounted(), isReturnValueRefCounted(), and isSingleton().

◆ turnTypeToValueDependence()

ExprDependence clang::turnTypeToValueDependence ( ExprDependence  D)
inline

Definition at line 262 of file DependenceFlags.h.

Referenced by computeDependence().

◆ turnValueToTypeDependence()

ExprDependence clang::turnValueToTypeDependence ( ExprDependence  D)
inline

Definition at line 267 of file DependenceFlags.h.

References Type.

Referenced by computeDependence().

◆ TypeError()

TypeResult clang::TypeError ( )
inline

◆ updateFlags()

void clang::updateFlags ( const Decl From,
Decl To 
)

Definition at line 131 of file ASTImporter.cpp.

References clang::Decl::isUsed(), and clang::Decl::setIsUsed().

Referenced by clang::ASTImporter::Import().

Variable Documentation

◆ AddressColor

const TerminalColor clang::AddressColor = {llvm::raw_ostream::YELLOW, false}
static

Definition at line 57 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::dumpPointer().

◆ arch_names

const CudaArchToStringMap clang::arch_names[]
static

Definition at line 86 of file Cuda.cpp.

Referenced by CudaArchToString(), and CudaArchToVirtualArchString().

◆ AttrColor

const TerminalColor clang::AttrColor = {llvm::raw_ostream::BLUE, true}
static

◆ CastColor

const TerminalColor clang::CastColor = {llvm::raw_ostream::RED, false}
static

Definition at line 76 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::VisitCastExpr().

◆ CodeCompletionFileName

const std::string clang::CodeCompletionFileName = "input_line_[Completion]"

Definition at line 32 of file CodeCompletion.cpp.

Referenced by clang::ReplCodeCompleter::codeComplete().

◆ CommentColor

const TerminalColor clang::CommentColor = {llvm::raw_ostream::BLUE, false}
static

Definition at line 51 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::Visit().

◆ CudaNameVersionMap

const CudaVersionMapEntry clang::CudaNameVersionMap[]
static
Initial value:
= {
CUDA_ENTRY(7, 0),
CUDA_ENTRY(7, 5),
CUDA_ENTRY(8, 0),
CUDA_ENTRY(9, 0),
CUDA_ENTRY(9, 1),
CUDA_ENTRY(9, 2),
CUDA_ENTRY(10, 0),
CUDA_ENTRY(10, 1),
CUDA_ENTRY(10, 2),
CUDA_ENTRY(11, 0),
CUDA_ENTRY(11, 1),
CUDA_ENTRY(11, 2),
CUDA_ENTRY(11, 3),
CUDA_ENTRY(11, 4),
CUDA_ENTRY(11, 5),
CUDA_ENTRY(11, 6),
CUDA_ENTRY(11, 7),
CUDA_ENTRY(11, 8),
CUDA_ENTRY(12, 0),
CUDA_ENTRY(12, 1),
CUDA_ENTRY(12, 2),
CUDA_ENTRY(12, 3),
CUDA_ENTRY(12, 4),
{"", CudaVersion::NEW, llvm::VersionTuple(std::numeric_limits<int>::max())},
{"unknown", CudaVersion::UNKNOWN, {}}
}
#define CUDA_ENTRY(major, minor)
Definition: Cuda.cpp:15
__DEVICE__ int max(int __a, int __b)

Definition at line 21 of file Cuda.cpp.

Referenced by CudaVersionToString(), and ToCudaVersion().

◆ DeclKindNameColor

const TerminalColor clang::DeclKindNameColor = {llvm::raw_ostream::GREEN, true}
static

◆ DeclNameColor

const TerminalColor clang::DeclNameColor = {llvm::raw_ostream::CYAN, true}
static

◆ DependentFeaturesList

const std::pair<StringRef, StringRef> clang::DependentFeaturesList[]
static
Initial value:
= {
{"__opencl_c_read_write_images", "__opencl_c_images"},
{"__opencl_c_3d_image_writes", "__opencl_c_images"},
{"__opencl_c_pipes", "__opencl_c_generic_address_space"},
{"__opencl_c_device_enqueue", "__opencl_c_generic_address_space"},
{"__opencl_c_device_enqueue", "__opencl_c_program_scope_global_variables"}}

Definition at line 16 of file OpenCLOptions.cpp.

Referenced by clang::OpenCLOptions::diagnoseUnsupportedFeatureDependencies().

◆ DesiredStackSize

constexpr size_t clang::DesiredStackSize = 8 << 20
constexpr

The amount of stack space that Clang would like to be provided with.

If less than this much is available, we may be unable to reach our template instantiation depth limit and other similar limits.

Definition at line 26 of file Stack.h.

Referenced by isStackNearlyExhausted(), and runWithSufficientStackSpaceSlow().

◆ ErrorsColor

const TerminalColor clang::ErrorsColor = {llvm::raw_ostream::RED, true}
static

Definition at line 66 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::Visit().

◆ FeatureExtensionMap

const std::pair<StringRef, StringRef> clang::FeatureExtensionMap[]
static
Initial value:
= {
{"cl_khr_fp64", "__opencl_c_fp64"},
{"cl_khr_3d_image_writes", "__opencl_c_3d_image_writes"}}

Definition at line 24 of file OpenCLOptions.cpp.

Referenced by clang::OpenCLOptions::diagnoseFeatureExtensionDifferences().

◆ IndentColor

const TerminalColor clang::IndentColor = {llvm::raw_ostream::BLUE, false}
static

Definition at line 84 of file ASTDumperUtils.h.

Referenced by clang::TextTreeStructure::AddChild().

◆ InterestingIdentifierBits

constexpr int clang::InterestingIdentifierBits = 16
staticconstexpr

Definition at line 87 of file IdentifierTable.h.

◆ LargestBuiltinID

constexpr uint64_t clang::LargestBuiltinID
staticconstexpr

◆ LocationColor

const TerminalColor clang::LocationColor = {llvm::raw_ostream::YELLOW, false}
static

Definition at line 59 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::dumpLocation().

◆ NullColor

const TerminalColor clang::NullColor = {llvm::raw_ostream::BLUE, false}
static

◆ NUM_PREDEF_DECL_IDS

const unsigned int clang::NUM_PREDEF_DECL_IDS = 18

The number of declaration IDs that are predefined.

For more information about predefined declarations, see the PredefinedDeclIDs type and the PREDEF_DECL_*_ID constants.

Definition at line 90 of file DeclID.h.

Referenced by clang::ASTReader::FindExternalLexicalDecls(), clang::ASTReader::GetDecl(), clang::ASTReader::GetExistingDecl(), clang::ASTReader::getGlobalDeclID(), clang::ASTReader::getSourceLocationForDeclID(), clang::ASTReader::isDeclIDFromModule(), clang::ASTWriter::IsLocalDecl(), and clang::ASTReader::mapGlobalIDToModuleFileGlobalID().

◆ NumberOfOMPMapClauseModifiers

constexpr unsigned clang::NumberOfOMPMapClauseModifiers
staticconstexpr
Initial value:

Number of allowed map-type-modifiers.

Definition at line 87 of file OpenMPKinds.h.

Referenced by clang::SemaOpenMP::ActOnOpenMPMapClause(), clang::OMPMapClause::getMapTypeModifier(), and clang::OMPMapClause::getMapTypeModifierLoc().

◆ NumberOfOMPMotionModifiers

constexpr unsigned clang::NumberOfOMPMotionModifiers
staticconstexpr

◆ ObjectKindColor

const TerminalColor clang::ObjectKindColor = {llvm::raw_ostream::CYAN, false}
static

Definition at line 64 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::Visit().

◆ PointerAuthKeyNone

constexpr unsigned clang::PointerAuthKeyNone = -1
constexpr

Definition at line 19 of file PointerAuthOptions.h.

Referenced by clang::PointerAuthQualifier::Create().

◆ StmtColor

const TerminalColor clang::StmtColor = {llvm::raw_ostream::MAGENTA, true}
static

◆ T

const FunctionProtoType* clang::T = TL.getTypePtr()
Examples
/home/runner/work/llvm/llvm/repo/clang/lib/StaticAnalyzer/Core/RegionStore.cpp.

Definition at line 1353 of file RecursiveASTVisitor.h.

Referenced by clang::Sema::ActOnArrayTypeTrait(), clang::Sema::ActOnBlockArguments(), clang::Sema::ActOnCXXNestedNameSpecifierDecltype(), clang::Sema::ActOnCXXTryBlock(), clang::SemaOpenACC::ActOnIntExpr(), clang::Sema::ActOnPragmaVisibility(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateTypeArgument(), clang::SemaObjC::ActOnTypedefedProtocols(), clang::Sema::ActOnTypeName(), clang::Sema::ActOnTypeRequirement(), clang::Sema::ActOnTypeTrait(), clang::ento::ProgramStateManager::add(), clang::ento::ProgramState::add(), addAssociatedClassesAndNamespaces(), clang::ASTContext::addDestruction(), addFlexibleArrayMemberInitSize(), clang::TypoCorrectionConsumer::addNamespaces(), clang::ento::taint::addPartialTaint(), clang::ODRHash::AddQualType(), clang::driver::tools::AddStaticDeviceLibs(), clang::driver::tools::AddStaticDeviceLibsLinking(), clang::ASTWriter::AddToken(), clang::ODRHash::AddType(), clang::ASTRecordWriter::AddTypeRef(), clang::ASTWriter::AddTypeRef(), clang::TemplateDeclInstantiator::adjustForRewrite(), clang::ASTContext::adjustFunctionType(), clang::Sema::adjustMemberFunctionCC(), AlignOfType(), clang::ASTContext::Allocate(), AllocatesMemory(), clang::threadSafety::til::MemRegionRef::allocateT(), allowAmbiguity(), clang::TreeTransform< Derived >::AlreadyTransformed(), clang::syntax::FactoryImpl::appendChildLowLevel(), AppendPlatformPrefix(), applySYCLAspectsMD(), clang::analyze_format_string::ArgType::ArgType(), clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(), clang::Value::as(), asanUseGlobalsGC(), clang::syntax::Node::assertInvariants(), clang::interp::assignInteger(), clang::ento::SimpleConstraintManager::assumeInternal(), clang::ento::iterator::assumeNoOverflow(), clang::ento::RangedConstraintManager::assumeSymUnsupported(), clang::ASTContext::AtomicUsesUnsupportedLibcall(), clang::ento::BinarySymExpr::BinarySymExpr(), clang::threadSafety::til::Branch::Branch(), clang::Sema::BuildAddressSpaceAttr(), clang::CodeGen::CodeGenFunction::BuildAppleKextVirtualCall(), clang::Sema::BuildArrayType(), clang::Sema::BuildArrayTypeTrait(), clang::Sema::BuildAtomicType(), clang::Sema::BuildBlockPointerType(), buildByrefHelpers(), clang::driver::Driver::BuildCompilation(), clang::Sema::BuildConvertedConstantExpression(), clang::Sema::buildCoroutinePromise(), clang::Sema::BuildCXXThrow(), clang::Sema::BuildCXXTypeId(), clang::Sema::BuildExtVectorType(), clang::Sema::BuildFunctionType(), clang::Sema::BuildMemberPointerType(), clang::Sema::BuildParenType(), clang::Sema::BuildPointerType(), clang::Sema::BuildQualifiedType(), clang::Sema::BuildReadPipeType(), clang::Sema::BuildReferenceType(), clang::Sema::BuildTypeofExprType(), clang::Sema::BuildVAArgExpr(), clang::Sema::BuildWritePipeType(), clang::Sema::BuiltinRemoveReference(), bytes(), clang::arcmt::trans::canApplyWeak(), clang::Value::convertFwd< T >::cast(), clang::Value::convertFwd< T * >::cast(), clang::CFGElement::castAs(), clang::ProgramPoint::castAs(), clang::TypeLoc::castAs(), clang::ento::SVal::castDataAs(), clang::ento::RangeSet::Factory::castTo(), checkAllAtProps(), clang::Sema::CheckBooleanCondition(), CheckC23ConstexprVarType(), clang::Sema::CheckCastAlign(), checkCastFunctionType(), clang::Sema::CheckConditionVariable(), CheckConstexprDestructorSubobjects(), clang::Sema::CheckConvertedConstantExpression(), clang::Sema::CheckDistantExceptionSpec(), clang::Sema::CheckEnumUnderlyingType(), clang::Sema::CheckFunctionReturnType(), CheckLiteralType(), clang::Sema::CheckMain(), clang::Sema::CheckMSVCRTEntryPoint(), clang::Sema::CheckNonTypeTemplateParameterType(), checkObjCMethodX86VectorTypes(), clang::ento::retaincountchecker::RetainCountChecker::checkPostCall(), clang::ento::retaincountchecker::RetainCountChecker::checkPostStmt(), clang::Sema::CheckQualifiedFunctionForTypeId(), clang::Sema::CheckSpecifiedExceptionType(), clang::SemaObjC::CheckSubscriptingKind(), clang::ento::retaincountchecker::RetainCountChecker::checkSummary(), clang::Sema::CheckTypenameType(), checkValueAtLValForInvariantViolation(), clang::Sema::CheckVariableDeclarationType(), clang::UnaryExprOrTypeTraitExpr::children(), chooseRecoveryType(), clang::interp::Context::classify(), clang::interp::ByteCodeExprGen< Emitter >::classifyPrim(), ClassifyTemporary(), ClassifyUnnamed(), clang::OMPNoChildClause< ClauseKind >::classof(), clang::OMPOneStmtClause< ClauseKind, Base >::classof(), clang::OMPAllocateClause::classof(), clang::OMPIfClause::classof(), clang::OMPSizesClause::classof(), clang::OMPPartialClause::classof(), clang::OMPDefaultClause::classof(), clang::OMPProcBindClause::classof(), clang::OMPUnifiedSharedMemoryClause::classof(), clang::OMPReverseOffloadClause::classof(), clang::OMPDynamicAllocatorsClause::classof(), clang::OMPAtomicDefaultMemOrderClause::classof(), clang::OMPAtClause::classof(), clang::OMPSeverityClause::classof(), clang::OMPMessageClause::classof(), clang::OMPScheduleClause::classof(), clang::OMPOrderedClause::classof(), clang::OMPUntiedClause::classof(), clang::OMPMergeableClause::classof(), clang::OMPReadClause::classof(), clang::OMPWriteClause::classof(), clang::OMPUpdateClause::classof(), clang::OMPCaptureClause::classof(), clang::OMPCompareClause::classof(), clang::OMPSeqCstClause::classof(), clang::OMPAcqRelClause::classof(), clang::OMPAcquireClause::classof(), clang::OMPReleaseClause::classof(), clang::OMPRelaxedClause::classof(), clang::OMPWeakClause::classof(), clang::OMPFailClause::classof(), clang::OMPPrivateClause::classof(), clang::OMPFirstprivateClause::classof(), clang::OMPLastprivateClause::classof(), clang::OMPSharedClause::classof(), clang::OMPReductionClause::classof(), clang::OMPTaskReductionClause::classof(), clang::OMPInReductionClause::classof(), clang::OMPLinearClause::classof(), clang::OMPAlignedClause::classof(), clang::OMPCopyinClause::classof(), clang::OMPCopyprivateClause::classof(), clang::OMPFlushClause::classof(), clang::OMPDepobjClause::classof(), clang::OMPDependClause::classof(), clang::OMPDeviceClause::classof(), clang::OMPSIMDClause::classof(), clang::OMPMapClause::classof(), clang::OMPNumTeamsClause::classof(), clang::OMPThreadLimitClause::classof(), clang::OMPPriorityClause::classof(), clang::OMPGrainsizeClause::classof(), clang::OMPNogroupClause::classof(), clang::OMPNumTasksClause::classof(), clang::OMPHintClause::classof(), clang::OMPDistScheduleClause::classof(), clang::OMPDefaultmapClause::classof(), clang::OMPToClause::classof(), clang::OMPFromClause::classof(), clang::OMPUseDevicePtrClause::classof(), clang::OMPUseDeviceAddrClause::classof(), clang::OMPIsDevicePtrClause::classof(), clang::OMPHasDeviceAddrClause::classof(), clang::OMPNontemporalClause::classof(), clang::OMPOrderClause::classof(), clang::OMPInitClause::classof(), clang::OMPUseClause::classof(), clang::OMPDestroyClause::classof(), clang::OMPInclusiveClause::classof(), clang::OMPExclusiveClause::classof(), clang::OMPUsesAllocatorsClause::classof(), clang::OMPAffinityClause::classof(), clang::OMPDoacrossClause::classof(), clang::ento::NoteTag::classof(), clang::Expr::classof(), clang::FullExpr::classof(), clang::ConstantExpr::classof(), clang::OpaqueValueExpr::classof(), clang::DeclRefExpr::classof(), clang::IntegerLiteral::classof(), clang::FixedPointLiteral::classof(), clang::CharacterLiteral::classof(), clang::FloatingLiteral::classof(), clang::ImaginaryLiteral::classof(), clang::StringLiteral::classof(), clang::PredefinedExpr::classof(), clang::SYCLUniqueStableNameExpr::classof(), clang::SYCLUniqueStableIdExpr::classof(), clang::ParenExpr::classof(), clang::UnaryOperator::classof(), clang::OffsetOfExpr::classof(), clang::UnaryExprOrTypeTraitExpr::classof(), clang::ArraySubscriptExpr::classof(), clang::MatrixSubscriptExpr::classof(), clang::CallExpr::classof(), clang::MemberExpr::classof(), clang::CompoundLiteralExpr::classof(), clang::CastExpr::classof(), clang::ImplicitCastExpr::classof(), clang::ExplicitCastExpr::classof(), clang::CStyleCastExpr::classof(), clang::AbstractConditionalOperator::classof(), clang::ConditionalOperator::classof(), clang::BinaryConditionalOperator::classof(), clang::AddrLabelExpr::classof(), clang::StmtExpr::classof(), clang::ShuffleVectorExpr::classof(), clang::ConvertVectorExpr::classof(), clang::ChooseExpr::classof(), clang::GNUNullExpr::classof(), clang::VAArgExpr::classof(), clang::SourceLocExpr::classof(), clang::InitListExpr::classof(), clang::DesignatedInitExpr::classof(), clang::NoInitExpr::classof(), clang::DesignatedInitUpdateExpr::classof(), clang::ImplicitValueInitExpr::classof(), clang::ParenListExpr::classof(), clang::GenericSelectionExpr::classof(), clang::ExtVectorElementExpr::classof(), clang::BlockExpr::classof(), clang::AsTypeExpr::classof(), clang::PseudoObjectExpr::classof(), clang::AtomicExpr::classof(), clang::TypoExpr::classof(), clang::ArraySectionExpr::classof(), clang::RecoveryExpr::classof(), clang::ConceptSpecializationExpr::classof(), clang::RequiresExpr::classof(), clang::CXXOperatorCallExpr::classof(), clang::CXXMemberCallExpr::classof(), clang::CUDAKernelCallExpr::classof(), clang::CXXRewrittenBinaryOperator::classof(), clang::CXXNamedCastExpr::classof(), clang::CXXStaticCastExpr::classof(), clang::CXXDynamicCastExpr::classof(), clang::CXXReinterpretCastExpr::classof(), clang::CXXConstCastExpr::classof(), clang::CXXAddrspaceCastExpr::classof(), clang::CXXBoolLiteralExpr::classof(), clang::CXXNullPtrLiteralExpr::classof(), clang::CXXTypeidExpr::classof(), clang::MSPropertyRefExpr::classof(), clang::MSPropertySubscriptExpr::classof(), clang::CXXUuidofExpr::classof(), clang::CXXThisExpr::classof(), clang::CXXThrowExpr::classof(), clang::CXXDefaultArgExpr::classof(), clang::CXXDefaultInitExpr::classof(), clang::CXXBindTemporaryExpr::classof(), clang::CXXConstructExpr::classof(), clang::CXXInheritedCtorInitExpr::classof(), clang::CXXFunctionalCastExpr::classof(), clang::CXXTemporaryObjectExpr::classof(), clang::LambdaExpr::classof(), clang::CXXScalarValueInitExpr::classof(), clang::CXXNewExpr::classof(), clang::CXXDeleteExpr::classof(), clang::CXXPseudoDestructorExpr::classof(), clang::TypeTraitExpr::classof(), clang::ArrayTypeTraitExpr::classof(), clang::ExpressionTraitExpr::classof(), clang::OverloadExpr::classof(), clang::UnresolvedLookupExpr::classof(), clang::DependentScopeDeclRefExpr::classof(), clang::ExprWithCleanups::classof(), clang::CXXUnresolvedConstructExpr::classof(), clang::CXXDependentScopeMemberExpr::classof(), clang::UnresolvedMemberExpr::classof(), clang::CXXNoexceptExpr::classof(), clang::PackExpansionExpr::classof(), clang::SizeOfPackExpr::classof(), clang::PackIndexingExpr::classof(), clang::SubstNonTypeTemplateParmPackExpr::classof(), clang::FunctionParmPackExpr::classof(), clang::MaterializeTemporaryExpr::classof(), clang::CXXFoldExpr::classof(), clang::CXXParenListInitExpr::classof(), clang::CoroutineSuspendExpr::classof(), clang::CoawaitExpr::classof(), clang::DependentCoawaitExpr::classof(), clang::CoyieldExpr::classof(), clang::BuiltinBitCastExpr::classof(), clang::SYCLBuiltinNumFieldsExpr::classof(), clang::SYCLBuiltinFieldTypeExpr::classof(), clang::SYCLBuiltinNumBasesExpr::classof(), clang::SYCLBuiltinBaseTypeExpr::classof(), clang::ObjCStringLiteral::classof(), clang::ObjCBoolLiteralExpr::classof(), clang::ObjCBoxedExpr::classof(), clang::ObjCArrayLiteral::classof(), clang::ObjCDictionaryLiteral::classof(), clang::ObjCEncodeExpr::classof(), clang::ObjCSelectorExpr::classof(), clang::ObjCProtocolExpr::classof(), clang::ObjCIvarRefExpr::classof(), clang::ObjCPropertyRefExpr::classof(), clang::ObjCSubscriptRefExpr::classof(), clang::ObjCMessageExpr::classof(), clang::ObjCIsaExpr::classof(), clang::ObjCBridgedCastExpr::classof(), clang::ObjCAvailabilityCheckExpr::classof(), clang::OMPArrayShapingExpr::classof(), clang::OMPIteratorExpr::classof(), clang::DeclStmt::classof(), clang::NullStmt::classof(), clang::CompoundStmt::classof(), clang::SwitchCase::classof(), clang::CaseStmt::classof(), clang::DefaultStmt::classof(), clang::ValueStmt::classof(), clang::LabelStmt::classof(), clang::AttributedStmt::classof(), clang::IfStmt::classof(), clang::SwitchStmt::classof(), clang::WhileStmt::classof(), clang::DoStmt::classof(), clang::ForStmt::classof(), clang::GotoStmt::classof(), clang::IndirectGotoStmt::classof(), clang::ContinueStmt::classof(), clang::BreakStmt::classof(), clang::ReturnStmt::classof(), clang::AsmStmt::classof(), clang::GCCAsmStmt::classof(), clang::MSAsmStmt::classof(), clang::SEHExceptStmt::classof(), clang::SEHFinallyStmt::classof(), clang::SEHTryStmt::classof(), clang::SEHLeaveStmt::classof(), clang::CapturedStmt::classof(), clang::CXXCatchStmt::classof(), clang::CXXTryStmt::classof(), clang::CXXForRangeStmt::classof(), clang::MSDependentExistsStmt::classof(), clang::CoroutineBodyStmt::classof(), clang::CoreturnStmt::classof(), clang::ObjCForCollectionStmt::classof(), clang::ObjCAtCatchStmt::classof(), clang::ObjCAtFinallyStmt::classof(), clang::ObjCAtTryStmt::classof(), clang::ObjCAtSynchronizedStmt::classof(), clang::ObjCAtThrowStmt::classof(), clang::ObjCAutoreleasePoolStmt::classof(), clang::OpenACCComputeConstruct::classof(), clang::OMPParallelDirective::classof(), clang::OMPLoopBasedDirective::classof(), clang::OMPLoopTransformationDirective::classof(), clang::OMPLoopDirective::classof(), clang::OMPSimdDirective::classof(), clang::OMPForDirective::classof(), clang::OMPForSimdDirective::classof(), clang::OMPSectionsDirective::classof(), clang::OMPSectionDirective::classof(), clang::OMPScopeDirective::classof(), clang::OMPSingleDirective::classof(), clang::OMPMasterDirective::classof(), clang::OMPCriticalDirective::classof(), clang::OMPParallelForDirective::classof(), clang::OMPParallelForSimdDirective::classof(), clang::OMPParallelMasterDirective::classof(), clang::OMPParallelMaskedDirective::classof(), clang::OMPParallelSectionsDirective::classof(), clang::OMPTaskDirective::classof(), clang::OMPTaskyieldDirective::classof(), clang::OMPBarrierDirective::classof(), clang::OMPTaskwaitDirective::classof(), clang::OMPTaskgroupDirective::classof(), clang::OMPFlushDirective::classof(), clang::OMPDepobjDirective::classof(), clang::OMPOrderedDirective::classof(), clang::OMPAtomicDirective::classof(), clang::OMPTargetDirective::classof(), clang::OMPTargetDataDirective::classof(), clang::OMPTargetEnterDataDirective::classof(), clang::OMPTargetExitDataDirective::classof(), clang::OMPTargetParallelDirective::classof(), clang::OMPTargetParallelForDirective::classof(), clang::OMPTeamsDirective::classof(), clang::OMPCancellationPointDirective::classof(), clang::OMPCancelDirective::classof(), clang::OMPTaskLoopDirective::classof(), clang::OMPTaskLoopSimdDirective::classof(), clang::OMPMasterTaskLoopDirective::classof(), clang::OMPMaskedTaskLoopDirective::classof(), clang::OMPMasterTaskLoopSimdDirective::classof(), clang::OMPMaskedTaskLoopSimdDirective::classof(), clang::OMPParallelMasterTaskLoopDirective::classof(), clang::OMPParallelMaskedTaskLoopDirective::classof(), clang::OMPParallelMasterTaskLoopSimdDirective::classof(), clang::OMPParallelMaskedTaskLoopSimdDirective::classof(), clang::OMPDistributeDirective::classof(), clang::OMPTargetUpdateDirective::classof(), clang::OMPDistributeParallelForDirective::classof(), clang::OMPDistributeParallelForSimdDirective::classof(), clang::OMPDistributeSimdDirective::classof(), clang::OMPTargetParallelForSimdDirective::classof(), clang::OMPTargetSimdDirective::classof(), clang::OMPTeamsDistributeDirective::classof(), clang::OMPTeamsDistributeSimdDirective::classof(), clang::OMPTeamsDistributeParallelForSimdDirective::classof(), clang::OMPTeamsDistributeParallelForDirective::classof(), clang::OMPTargetTeamsDirective::classof(), clang::OMPTargetTeamsDistributeDirective::classof(), clang::OMPTargetTeamsDistributeParallelForDirective::classof(), clang::OMPTargetTeamsDistributeParallelForSimdDirective::classof(), clang::OMPTargetTeamsDistributeSimdDirective::classof(), clang::OMPTileDirective::classof(), clang::OMPUnrollDirective::classof(), clang::OMPScanDirective::classof(), clang::OMPInteropDirective::classof(), clang::OMPDispatchDirective::classof(), clang::OMPMaskedDirective::classof(), clang::OMPMetaDirective::classof(), clang::OMPGenericLoopDirective::classof(), clang::OMPTeamsGenericLoopDirective::classof(), clang::OMPTargetTeamsGenericLoopDirective::classof(), clang::OMPParallelGenericLoopDirective::classof(), clang::OMPTargetParallelGenericLoopDirective::classof(), clang::OMPErrorDirective::classof(), clang::LocInfoType::classof(), clang::BuiltinType::classof(), clang::ComplexType::classof(), clang::ParenType::classof(), clang::PointerType::classof(), clang::BoundsAttributedType::classof(), clang::CountAttributedType::classof(), clang::AdjustedType::classof(), clang::DecayedType::classof(), clang::BlockPointerType::classof(), clang::ReferenceType::classof(), clang::LValueReferenceType::classof(), clang::RValueReferenceType::classof(), clang::MemberPointerType::classof(), clang::ArrayType::classof(), clang::ConstantArrayType::classof(), clang::ArrayParameterType::classof(), clang::IncompleteArrayType::classof(), clang::VariableArrayType::classof(), clang::DependentSizedArrayType::classof(), clang::DependentAddressSpaceType::classof(), clang::DependentSizedExtVectorType::classof(), clang::VectorType::classof(), clang::DependentVectorType::classof(), clang::ExtVectorType::classof(), clang::MatrixType::classof(), clang::ConstantMatrixType::classof(), clang::DependentSizedMatrixType::classof(), clang::FunctionType::classof(), clang::FunctionNoProtoType::classof(), clang::FunctionProtoType::classof(), clang::UnresolvedUsingType::classof(), clang::UsingType::classof(), clang::TypedefType::classof(), clang::MacroQualifiedType::classof(), clang::TypeOfExprType::classof(), clang::TypeOfType::classof(), clang::DecltypeType::classof(), clang::PackIndexingType::classof(), clang::UnaryTransformType::classof(), clang::TagType::classof(), clang::RecordType::classof(), clang::EnumType::classof(), clang::AttributedType::classof(), clang::BTFTagAttributedType::classof(), clang::TemplateTypeParmType::classof(), clang::SubstTemplateTypeParmType::classof(), clang::SubstTemplateTypeParmPackType::classof(), clang::DeducedType::classof(), clang::AutoType::classof(), clang::DeducedTemplateSpecializationType::classof(), clang::TemplateSpecializationType::classof(), clang::InjectedClassNameType::classof(), clang::ElaboratedType::classof(), clang::DependentNameType::classof(), clang::DependentTemplateSpecializationType::classof(), clang::PackExpansionType::classof(), clang::ObjCTypeParamType::classof(), clang::ObjCObjectType::classof(), clang::ObjCInterfaceType::classof(), clang::ObjCObjectPointerType::classof(), clang::AtomicType::classof(), clang::PipeType::classof(), clang::BitIntType::classof(), clang::DependentBitIntType::classof(), clang::driver::Compilation::CleanupFileList(), clang::ento::CallEvent::cloneWithState(), clang::CodeCompletionContext::CodeCompletionContext(), clang::Sema::collectUnexpandedParameterPacks(), clang::interp::ByteCodeEmitter::compileFunc(), clang::Sema::completeExprArrayBound(), clang::CodeGen::CGDebugInfo::completeRequiredType(), clang::ento::CompoundValData::CompoundValData(), computeCachedProperties(), clang::Sema::computeDeclContext(), computeDependence(), computeOffset(), computeTargetTriple(), clang::RISCV::RVVTypeCache::computeType(), clang::LinkageComputer::computeTypeLinkageInfo(), clang::ento::SValBuilder::conjureSymbolVal(), clang::driver::tools::OffloadBundler::ConstructJob(), clang::driver::tools::SYCLPostLink::ConstructJob(), clang::driver::tools::CrossWindows::Linker::ConstructJob(), clang::driver::tools::darwin::Assembler::ConstructJob(), clang::driver::tools::SYCL::constructLLVMForeachCommand(), clang::driver::tools::SPIRV::constructTranslateCommand(), clang::Sema::containsUnexpandedParameterPacks(), clang::ento::RangeSet::containsZero(), clang::ento::BasicValueFactory::Convert(), ConvertAPValueToString(), ConvertForConditional(), clang::CodeGen::convertFreeFunctionType(), clang::CodeGen::CGOpenCLRuntime::convertOpenCLSpecificType(), clang::tooling::detail::TransformerImpl::convertToAtomicChanges(), clang::CodeGen::CodeGenFunction::ConvertType(), clang::CodeGen::CodeGenTypes::ConvertType(), clang::CodeGen::CodeGenFunction::ConvertTypeForMem(), clang::CodeGen::CodeGenTypes::ConvertTypeForMem(), clang::CodeGen::convertTypeForMemory(), clang::dataflow::Environment::create(), clang::CXXParenListInitExpr::Create(), clang::CXXDestructorDecl::Create(), clang::CXXConversionDecl::Create(), clang::CXXConstructorDecl::Create(), clang::CXXMethodDecl::Create(), clang::OMPCapturedExprDecl::Create(), clang::IndirectFieldDecl::Create(), clang::ObjCPropertyDecl::Create(), clang::MSPropertyDecl::Create(), clang::CXXDeductionGuideDecl::Create(), clang::ObjCAtDefsFieldDecl::Create(), clang::DecompositionDecl::Create(), clang::FunctionDecl::Create(), clang::EnumConstantDecl::Create(), clang::ObjCIvarDecl::Create(), clang::ObjCMethodDecl::Create(), clang::RecoveryExpr::Create(), clang::ObjCArrayLiteral::Create(), clang::ObjCDictionaryLiteral::Create(), clang::FieldDecl::Create(), clang::NonTypeTemplateParmDecl::Create(), clang::TypeTraitExpr::Create(), clang::ImplicitCastExpr::Create(), clang::CStyleCastExpr::Create(), clang::CXXStaticCastExpr::Create(), clang::CXXDynamicCastExpr::Create(), clang::CXXReinterpretCastExpr::Create(), clang::CXXAddrspaceCastExpr::Create(), clang::CXXConstCastExpr::Create(), clang::CXXFunctionalCastExpr::Create(), clang::interp::Program::createDescriptor(), clang::ASTContext::createDeviceMangleContext(), clang::OMPExecutableDirective::createDirective(), clang::OMPDeclarativeDirective< U >::createDirective(), clang::OMPDeclarativeDirective< U >::createEmptyDirective(), clang::OMPExecutableDirective::createEmptyDirective(), clang::MemberExpr::CreateImplicit(), clang::CodeGen::CodeGenModule::CreateKCFITypeId(), createMakeIntegerSeqParameterList(), clang::ASTContext::createMangleContext(), clang::Sema::CreateMaterializeTemporaryExpr(), clang::CodeGen::CodeGenModule::CreateMetadataIdentifierForType(), clang::CodeGen::CodeGenModule::CreateMetadataIdentifierForVirtualMemPtrType(), clang::CodeGen::CodeGenModule::CreateMetadataIdentifierGeneralized(), clang::driver::Driver::CreateOffloadingDeviceToolChains(), clang::Sema::CreateParsedType(), clang::syntax::createTree(), clang::ASTContext::CreateTypeSourceInfo(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), ctorArrayTy(), ctorTy(), clang::CodeGen::CodeGenFunction::cxxDestructorCanThrow(), clang::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(), CXXRecordAllNonInlineVirtualsHaveAttr(), clang::targets::DarwinI386TargetInfo::DarwinI386TargetInfo(), clang::targets::DarwinX86_64TargetInfo::DarwinX86_64TargetInfo(), clang::Sema::DeclareAggregateDeductionGuideFromInitList(), clang::syntax::deepCopyExpandingMacros(), DEF_TRAVERSE_TYPE(), clang::Sema::DefaultLvalueConversion(), DependsOnTemplateParameters(), clang::interp::Block::deref(), clang::interp::Pointer::deref(), describeClass(), diagnoseAmbiguousConversion(), clang::Sema::DiagnoseImmediateEscalatingReason(), diagnoseMutableFields(), diagnoseNoViableConversion(), clang::Sema::diagnoseUnavailableAlignedAllocation(), clang::Sema::DiagnoseUnexpandedParameterPack(), clang::Sema::DiagnoseUnusedNestedTypedefs(), clang::interp::InterpStack::discard(), clang::Sema::DiscardMisalignedMemberAddress(), dtorArrayTy(), dtorTy(), clang::TextNodeDumper::dumpBareType(), clang::syntax::TokenBuffer::dumpForTests(), dumpMicrosoftThunkAdjustment(), dumpPreviousDeclImpl(), clang::TextNodeDumper::dumpType(), clang::APValue::LValueBase::dyn_cast(), clang::interp::Pointer::elem(), emit(), EmitBinaryAtomicPost(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCastLValue(), clang::CodeGen::CodeGenFunction::EmitCheckTypeDescriptor(), clang::CodeGen::CodeGenFunction::EmitCXXGlobalVarDeclInit(), clang::CodeGen::CodeGenFunction::EmitCXXThrowExpr(), clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(), clang::CodeGen::CodeGenFunction::EmitDynamicCast(), clang::CodeGen::ConstantEmitter::emitForMemory(), EmitFromInt(), EmitGlobalVarDeclLValue(), clang::CodeGen::CGDebugInfo::EmitGlobalVariable(), clang::CodeGen::CodeGenFunction::EmitNonNullRValueCheck(), clang::CodeGen::CodeGenModule::EmitNullConstant(), clang::CodeGen::ConstantEmitter::emitNullForMemory(), clang::CodeGen::CodeGenFunction::EmitParmDecl(), EmitThreadPrivateVarDeclLValue(), EmitToInt(), clang::CodeGen::CodeGenFunction::EmitUnaryOpLValue(), clang::CodeGen::CodeGenFunction::EmitVTablePtrCheckForCast(), clang::TypePropertyCache< Private >::ensure(), clang::transformer::MatchComputation< T >::eval(), clang::ento::ExprEngine::evalBinOp(), Evaluate(), EvaluateArrayTypeTrait(), clang::Expr::EvaluateAsConstantExpr(), clang::Sema::EvaluateConvertedConstantExpression(), EvaluateInPlace(), clang::Sema::EvaluateStaticAssertMessageAsString(), EvaluateUnaryTypeTrait(), clang::Interpreter::Execute(), clang::Expr::Expr(), extractMaskValue(), clang::Sema::FillInlineAsmIdentifierInfo(), FilterAttributeList(), filterLookupForUDReductionAndMapper(), clang::DeclContextLookupResult::find_first(), findClangRelativeSysroot(), clang::Sema::FindCompositePointerType(), findGcc(), clang::Sema::FindInstantiatedDecl(), clang::CodeGen::CGHLSLRuntime::finishCodeGen(), for(), clang::Sema::FormatStringHasSArg(), clang::installapi::FrontendRecordsSlice::FrontendRecordsSlice(), clang::CompilerInvocationBase::generateCC1CommandLine(), clang::CodeGen::CGHLSLRuntime::generateGlobalCtorDtorCalls(), clang::index::generateUSRForType(), clang::CodeGen::CodeGenFunction::GenerateVarArgsThunk(), clang::APValue::LValueBase::get(), clang::CodeGen::EHPersonality::get(), clang::ast_matchers::dynamic::internal::ArgTypeTraits< ast_matchers::internal::Matcher< T > >::get(), clang::LazyOffsetPtr< T, OffsT, Get >::get(), clang::TypePropertyCache< Private >::get(), clang::ento::ProgramState::get_context(), clang::CodeGen::TargetCodeGenInfo::getABIInfo(), getAbsoluteValueKind(), clang::LazyOffsetPtr< T, OffsT, Get >::getAddressOfPointer(), clang::ASTContext::getAddrSpaceQualType(), clang::ASTContext::getAdjustedParameterType(), clang::ASTContext::getAlignOfGlobalVar(), clang::ASTContext::getAlignOfGlobalVarInChars(), GetAlignOfType(), clang::ASTNameGenerator::Implementation::getAllManglings(), getAllPossibleAMDGPUTargetIDFeatures(), getAllPossibleTargetIDFeatures(), getAMDGPUTargetGPU(), clang::AnalysisDeclContext::getAnalysis(), clang::LocationContext::getAnalysis(), clang::ento::ExplodedNode::getAnalysis(), clang::ento::AnalysisManager::getAnalysis(), clang::ento::BasicValueFactory::getAPSIntType(), clang::ActionResult< PtrTy, Compress >::getAs(), clang::ActionResult< PtrTy, true >::getAs(), clang::CFGElement::getAs(), clang::ProgramPoint::getAs(), clang::TypeLoc::getAs(), clang::TypeLoc::getAsAdjusted(), getAsArrayToPointerDecayedDecl(), clang::ASTContext::getAsArrayType(), clang::ASTContext::getAsConstantArrayType(), clang::ASTContext::getAsDependentSizedArrayType(), clang::ASTContext::getAsIncompleteArrayType(), clang::Type::getAsObjCQualifiedInterfaceType(), getAsSimpleValueDeclRef(), GetAssumedMessageSendExprType(), clang::ASTContext::getAsVariableArrayType(), clang::ASTContext::getAtomicType(), clang::interp::Record::getBase(), GetBaseType(), clang::interp::Context::getBitWidth(), getBlockFieldFlagsForObjCObjectPointer(), clang::ASTContext::getBlockPointerType(), clang::CodeGen::CGCXXABI::GetBogusMemberPointer(), clang::Sema::getCallingConvAttributedType(), clang::ASTContext::getCanonicalNestedNameSpecifier(), getCanonicalParamType(), clang::ASTContext::getCanonicalParamType(), getCanonicalProcessorName(), getCanonicalRD(), clang::ASTContext::getCanonicalType(), GetCFNumberSize(), getComparisonCategoryForBuiltinCmp(), clang::ASTContext::getComplexType(), clang::OMPMappableExprListClause< T >::getComponentListSizesRef(), clang::OMPMappableExprListClause< T >::getComponentsRef(), clang::ento::BasicValueFactory::getCompoundValData(), clang::ento::SValBuilder::getConjuredHeapSymbolVal(), clang::ASTContext::getConstType(), getContainedDynamicClass(), clang::ASTContext::getCorrespondingSignedType(), clang::TargetInfo::getCorrespondingUnsignedType(), clang::ASTContext::getCorrespondingUnsignedType(), getCPersonality(), getCtorPrim(), clang::Sema::getCurrentInstantiationOf(), getCurrentInstantiationOf(), clang::ASTContext::getCVRQualifiedType(), getCXXPersonality(), getCXXRecord(), clang::ento::SValBuilder::getCXXThis(), clang::ASTContext::getDecayedType(), clang::ASTContext::getDeclAlign(), clang::FunctionDecl::getDeclaredReturnType(), clang::OMPMappableExprListClause< T >::getDeclNumListsRef(), GetDeclSpecTypeForDeclarator(), clang::Sema::getDecltypeForExpr(), getDeclUsageType(), clang::diff::SyntaxTree::Impl::getDeclValue(), getDeepPointeeType(), getDefaultLanguageStandard(), clang::driver::toolchains::Darwin::getDefaultObjCRuntime(), clang::ento::SValBuilder::getDerivedRegionValueSymbolVal(), clang::Sema::getDestructorTypeForDecltype(), GetDiagnosticTypeSpecifierID(), clang::CodeGen::ABIArgInfo::getDirect(), clang::CodeGen::ABIArgInfo::getDirectInReg(), getDtorPrim(), clang::Sema::getElaboratedType(), clang::ASTContext::getElaboratedType(), clang::ento::MemRegionManager::getElementRegion(), clang::ento::StoreManager::GetElementZeroRegion(), clang::ASTContext::getExceptionObjectType(), clang::FunctionDecl::getExceptionSpecType(), clang::targets::DarwinTargetInfo< Target >::getExnObjectAlignment(), GetExprRange(), clang::CodeGen::ABIArgInfo::getExtend(), clang::CodeGen::ABIArgInfo::getExtendInReg(), clang::ento::CXXInstanceCall::getExtraInvalidatedValues(), clang::Sema::getFixItZeroInitializerForType(), clang::Sema::getFixItZeroLiteralForType(), getFloatingRank(), clang::interp::Context::getFloatSemantics(), clang::ASTContext::getFloatTypeSemantics(), clang::extractapi::DeclarationFragmentsBuilder::getFragmentsForVar(), clang::extractapi::DeclarationFragmentsBuilder::getFragmentsForVarTemplate(), clang::ASTNodeKind::getFromNode(), clang::QualType::getFromOpaquePtr(), GetFullTypeForDeclarator(), clang::ASTContext::getFunctionTypeWithoutPtrSizes(), clang::serialization::UnsafeQualTypeDenseMapInfo::getHashValue(), clang::ento::ExprEngine::getInitialState(), clang::ASTContext::getInjectedTemplateArg(), clang::ASTContext::getInnerObjCOwnership(), clang::EnumDecl::getIntegerType(), clang::ObjCObjectType::getInterface(), clang::ento::BasicValueFactory::getIntValue(), clang::ASTContext::getIntWidth(), getLDMOption(), getLiteralTriple(), clang::ento::ExplodedNode::getLocationAs(), clang::ento::TypedValueRegion::getLocationType(), clang::ASTContext::getLValueReferenceType(), getLValueType(), clang::LinkageComputer::getLVForDecl(), clang::ento::BasicValueFactory::getMaxValue(), clang::ASTContext::getMemberPointerType(), clang::ento::BasicValueFactory::getMinValue(), clang::driver::toolchains::OHOS::getMultiarchTriple(), clang::installapi::getName(), clang::UnresolvedMemberExpr::getNamingClass(), clang::CodeGen::CodeGenModule::getNaturalPointeeTypeAlignment(), clang::CodeGen::CodeGenModule::getNaturalTypeAlignment(), clang::ast_matchers::BoundNodes::getNodeAs(), clang::ASTContext::getNSIntegerType(), clang::NSAPI::GetNSIntegralKind(), clang::NSAPI::getNSNumberFactoryMethodKind(), clang::ASTContext::getNSUIntegerType(), clang::CodeGen::TargetCodeGenInfo::getNullPointer(), clang::CodeGen::CodeGenModule::getNullPointer(), clang::Sema::getNumArgumentsInExpansion(), clang::ObjCProtocolQualifiers< T >::getNumProtocols(), clang::ento::BlockCounter::getNumVisited(), getObjCBridgeAttr(), clang::ASTContext::getObjCClassDecl(), clang::ASTContext::getObjCGCQualType(), clang::ASTContext::getObjCIdDecl(), clang::ASTContext::getObjCInterfaceType(), clang::ASTContext::getObjCObjectType(), getObjCPersonality(), clang::ASTContext::getObjCSelDecl(), clang::TypeInfoLValue::getOpaqueValue(), clang::ASTContext::getOpenCLTypeAddrSpace(), clang::ASTContext::getOpenCLTypeKind(), clang::interp::Program::getOrCreateDummy(), clang::interp::Program::getOrCreateRecord(), clang::CodeGen::CGDebugInfo::getOrCreateRecordType(), clang::CodeGen::CGDebugInfo::getOrCreateStandaloneType(), clang::ASTWriter::GetOrCreateTypeID(), clang::ParmVarDecl::getOriginalType(), clang::ASTContext::getPackExpansionType(), clang::interp::InterpFrame::getParam(), clang::interp::InterpFrame::getParamPointer(), clang::ASTContext::getParenType(), clang::CodeGen::CGOpenCLRuntime::getPipeType(), clang::ReferenceType::getPointeeType(), clang::ASTContext::getPointerType(), clang::CodeGen::CGOpenCLRuntime::getPointerType(), getPPCGenericTargetCPU(), clang::ASTContext::getPreferredTypeAlign(), clang::ASTContext::getPreferredTypeAlignInChars(), clang::Sema::getPrintable(), getProcessorFromTargetID(), clang::ObjCProtocolQualifiers< T >::getProtocolStorage(), GetPrototypeLoc(), clang::ASTContext::getQualifiedType(), clang::ento::ProgramState::getRawSVal(), clang::ASTContext::getReadPipeType(), clang::ObjCMessageExpr::getReceiverInterface(), clang::CodeGen::getRecordArgABI(), clang::ASTContext::getReferenceQualifiedType(), clang::ento::SValBuilder::getRegionValueSymbolVal(), clang::analyze_format_string::ArgType::getRepresentativeType(), clang::ASTContext::getRestrictType(), clang::ASTContext::getRValueReferenceType(), clang::CodeGen::CGOpenCLRuntime::getSamplerType(), clang::Type::getScalarTypeKind(), GetSDLFromOffloadArchive(), getSEHPersonalityMSVC(), clang::ASTContext::getSignatureParameterType(), clang::CodeGen::ABIArgInfo::getSignExtend(), getSimplifiedTypeClass(), clang::ASTDeclWriter::getSpecializationDecl(), clang::DeclSpec::getSpecifierName(), clang::RISCV::RVVIntrinsic::getSuffixStr(), clang::ento::ProgramState::getSVal(), clang::ento::ProgramState::getSValAsScalarOrLoc(), clang::CodeGen::CodeGenTypes::getTargetAddressSpace(), clang::ASTContext::getTemplateParamObjectDecl(), getTraitName(), getTraitSpelling(), clang::ASTContext::getTrivialTypeSourceInfo(), clang::ento::BasicValueFactory::getTruthValue(), clang::TypeInfoLValue::getType(), clang::APValue::LValueBase::getType(), clang::ento::CompoundValData::getType(), clang::interp::Descriptor::getType(), clang::ento::retaincountchecker::RefVal::getType(), clang::ento::UnarySymExpr::getType(), clang::ento::BinarySymExpr::getType(), clang::TargetInfo::getTypeAlign(), clang::ASTContext::getTypeAlign(), clang::ASTContext::getTypeAlignIfKnown(), clang::ASTContext::getTypeAlignInChars(), clang::TargetInfo::getTypeConstantSuffix(), clang::ASTContext::getTypedefType(), clang::Sema::GetTypeForDeclarator(), clang::TargetInfo::getTypeFormatModifier(), clang::ASTContext::getTypeInfo(), clang::ASTContext::getTypeInfoDataSizeInChars(), clang::ASTContext::getTypeInfoInChars(), clang::LinkageComputer::getTypeLinkageAndVisibility(), clang::TargetInfo::getTypeName(), clang::ASTContext::getTypeSize(), clang::ASTContext::getTypeSizeInChars(), getTypeTraitArity(), clang::ASTContext::getTypeUnadjustedAlign(), clang::ASTContext::getTypeUnadjustedAlignInChars(), clang::TargetInfo::getTypeWidth(), clang::OMPMappableExprListClause< T >::getUDMapperRefs(), clang::ASTContext::getUnconstrainedType(), GetUnderlyingFunction(), clang::OMPMappableExprListClause< T >::getUniqueDeclsRef(), clang::ASTContext::getUsingType(), clang::ento::BasicValueFactory::getValue(), clang::Expr::getValueKindForType(), clang::AtomicExpr::getValueType(), clang::OMPVarListClause< T >::getVarRefs(), getVirtualOperatorDelete(), clang::ASTContext::getVolatileType(), clang::ASTContext::getWritePipeType(), clang::CodeGen::ABIArgInfo::getZeroExtend(), clang::ento::BasicValueFactory::getZeroWithTypeSize(), handleDefaultInitValue(), HandleDestruction(), HandleDestructionImpl(), handleHVXTargetFeatures(), clang::ento::ExprEngine::handleLValueBitCast(), clang::CodeGen::CodeGenFunction::hasAggregateEvaluationKind(), hasArmZAState(), hasArmZT0State(), clang::cross_tu::hasBodyOrInit(), clang::ast_matchers::dynamic::internal::ArgTypeTraits< ast_matchers::internal::Matcher< T > >::hasCorrectValue(), clang::VarDecl::hasDependentAlignment(), clang::Sema::hasExplicitCallingConv(), hasFlag(), hasMangledSubstitutionQualifiers(), HasNonDllImportDtor(), hasPublicMethodInBase(), clang::ASTContext::hasSameFunctionTypeIgnoringExceptionSpec(), clang::ASTContext::hasSameFunctionTypeIgnoringPtrSizes(), clang::CodeGen::CodeGenFunction::hasScalarEvaluationKind(), hasTemplateSpecializationInEncodedString(), hasVirtualDestructor(), clang::CodeGen::CodeGenFunction::hasVolatileMember(), if(), clang::Sema::IgnoredValueConversions(), clang::ASTNodeImporter::importChecked(), InitializationHasSideEffects(), clang::InitializedEntity::InitializeTemplateParameter(), clang::ASTVector< T >::insert(), clang::TreeTransform< Derived >::InventTypeSourceInfo(), clang::APValue::LValueBase::is(), clang::Sema::isAbstractType(), clang::Sema::isAcceptableNestedNameSpecifier(), clang::QualType::isAddressSpaceOverlapping(), clang::CodeGen::isAggregateTypeForABI(), clang::ASTContext::isAlignmentRequired(), isArc4RandomAvailable(), isCallback(), clang::QualType::isCanonicalAsParam(), isCanonicalResultType(), IsCFError(), clang::ento::coreFoundation::isCFObjectRef(), isCFStringType(), clang::Sema::isCompleteType(), clang::ento::NonLoc::isCompoundType(), isCrossCompiling(), clang::DeclSpec::isDeclRep(), clang::DeclarationName::isDependentName(), isDependentOrGNUAutoType(), clang::ento::isDereferencableType(), IsDerivedFromInclusive(), isDiskArbitrationAPIRefType(), isFirstInExternCContext(), clang::Type::isFunctionPointerType(), clang::Type::isFunctionReferenceType(), clang::arcmt::trans::MigrationContext::isGCOwnedNonObjC(), isIncompleteOrZeroLengthArrayType(), clang::interp::isIntegralType(), isKnownNonNilCollectionType(), IsLLVMStringRef(), clang::ento::Loc::isLocType(), clang::Type::isMemberDataPointerType(), clang::Type::isMemberFunctionPointerType(), IsNSError(), isNSStringType(), clang::NSAPI::isObjCBOOLType(), clang::ASTContext::isObjCClassType(), clang::Expr::isOBJCGCCandidate(), clang::ASTContext::isObjCIdType(), clang::NSAPI::isObjCNSIntegerType(), clang::NSAPI::isObjCNSUIntegerType(), isObjCReceiverType(), clang::ASTContext::isObjCSelType(), clang::ObjCObjectType::isObjCUnqualifiedIdOrClass(), clang::Type::isObjectPointerType(), isOneByteCharacterType(), isOneOf(), isOverflowingIntegerType(), IsPartOfAST(), isPointerToRecordType(), clang::CodeGen::CodeGenTypes::isPointerZeroInitializable(), IsPossiblyOpaquelyQualifiedType(), IsPossiblyOpaquelyQualifiedTypeInternal(), clang::ento::isPrimitiveType(), clang::ASTContext::isPromotableIntegerType(), clang::interp::isPtrType(), isReadByLvalueToRvalueConversion(), IsReconstitutableType(), isRecordType(), isRecordWithAttr(), clang::FunctionDecl::isReplaceableGlobalAllocationFunction(), isScopedEnumerationType(), isSimpleTemplateIdType(), IsSmallVector(), IsStdString(), IsStdVector(), isStreamingCompatible(), isSupportedByOpenMPIRBuilder(), clang::TargetCXXABI::isSupportedCXXABI(), isSynthesizedRetainableProperty(), clang::DeclSpec::isTransformTypeTrait(), isTransparentUnion(), clang::TargetInfo::isTypeSigned(), isTypeTypedefedAsBOOL(), isUncountedPtr(), isUndeducedReturnType(), isUnsigned(), isValidAfterIdentifierInDeclarator(), clang::MatrixType::isValidElementType(), isValidPointerType(), isValidStructGUID(), isValidSYCLTriple(), clang::ento::SymExpr::isValidTypeForSymbol(), clang::VAOptDefinitionContext::isVAOptToken(), IsVariableSizedType(), isVoidPointer(), isVoidPointerToNonConst(), isWithinConstantOverflowBounds(), clang::CodeGen::CodeGenTypes::isZeroInitializable(), isZeroInitialized(), clang::comments::Lexer::lex(), lifetimeStartedInEvaluation(), likelyhasbetween(), clang::Sema::LookupConstructors(), clang::Sema::LookupInlineAsmIdentifier(), clang::Sema::LookupInlineAsmVarDeclField(), clang::driver::Compilation::MakeAction(), clang::CodeGen::CodeGenFunction::MakeAddrLValue(), clang::CodeGen::CodeGenFunction::MakeAddrLValueWithoutTBAA(), MakeAtomicCmpXchgValue(), MakeBinaryAtomicValue(), clang::ento::DefaultProgramStatePartialTraitImpl< T >::MakeData(), clang::CodeGen::CodeGenFunction::makeNaturalAddressForPointer(), clang::CodeGen::CodeGenFunction::MakeNaturalAlignAddrLValue(), MakeNaturalAlignAddrLValue(), clang::CodeGen::CodeGenFunction::MakeNaturalAlignPointeeAddrLValue(), clang::CodeGen::CodeGenFunction::MakeNaturalAlignPointeeRawAddrLValue(), clang::CodeGen::CodeGenFunction::MakeNaturalAlignRawAddrLValue(), clang::serialization::makeNullableFromOptional(), clang::CodeGen::CodeGenFunction::MakeRawAddrLValue(), MakeTypeID(), clang::analyze_format_string::ArgType::makeVectorType(), llvm::yaml::MappingTraits< Namespace >::mapping(), llvm::yaml::MappingTraits< Tag >::mapping(), llvm::yaml::MappingTraits< Typedef >::mapping(), clang::syntax::TreeBuilder::markChildToken(), clang::Sema::MarkDeclarationsReferencedInType(), clang::SemaSYCL::MarkDevices(), MarkUsedTemplateParameters(), clang::Sema::ICEConvertDiagnoser::match(), clang::analyze_format_string::ArgType::matchesType(), clang::Sema::MatchTemplateParametersToScopeSpecifier(), clang::Sema::MaybeBindToTemporary(), clang::MultiplexExternalSemaSource::MaybeDiagnoseMissingCompleteType(), MaybePrintTagKeywordIfSupressingScopes(), clang::CodeGen::CGCXXABI::mayNeedDestruction(), mergeForwardValue(), clang::ASTDeclReader::mergeMergeable(), clang::ASTDeclReader::mergeRedeclarable(), clang::ASTContext::mergeTransparentUnionType(), mergeTypeLists(), moveArrayTy(), moveTy(), clang::transformer::name(), NeedsInstantiationAsFunctionType(), normalizeCPUName(), normalizeForBundler(), ObjCBridgeRelatedAttrFromType(), clang::ObjCPropertyRefExpr::ObjCPropertyRefExpr(), objectifyExpr(), clang::TypeInfoLValue::operator bool(), clang::LazyDetector< T >::operator->(), operator<<(), clang::syntax::operator<<(), clang::ento::retaincountchecker::RefVal::operator==(), clang::ObjCList< T >::operator[](), clang::TypeSourceInfo::overrideType(), clang::format::FormatToken::overwriteFixedType(), clang::Parser::parseMapperModifier(), clang::Parser::ParseOpenMPParensExpr(), parseOpenMPSimpleClause(), clang::Parser::ParseOpenMPVarList(), parseTargetID(), clang::interp::InterpStack::peek(), clang::interp::peekToAPSInt(), clang::Sema::PerformContextualImplicitConversion(), clang::interp::InterpStack::pop(), clang::BumpVector< T >::pop_back_val(), clang::ASTVector< T >::pop_back_val(), clang::interp::InterpFrame::popArgs(), clang::syntax::FactoryImpl::prependChildLowLevel(), clang::interp::primSize(), primTypeToString(), clang::NestedNameSpecifier::print(), clang::threadSafety::til::PrettyPrinter< Self, StreamType >::printBasicBlock(), clang::threadSafety::til::PrettyPrinter< Self, StreamType >::printCall(), printCountAttributedImpl(), printIntegral(), PrintMacroDefinition(), clang::ASTContext::PrintStats(), clang::driver::Driver::PrintSYCLToolHelp(), clang::ento::ExprEngine::ProcessMemberDtor(), clang::ento::retaincountchecker::RetainCountChecker::processObjCLiterals(), clang::ento::retaincountchecker::RetainCountChecker::processSummaryOfInlined(), clang::ento::ExprEngine::ProcessTemporaryDtor(), clang::ento::CompoundValData::Profile(), clang::ento::retaincountchecker::RefVal::Profile(), clang::ento::UnarySymExpr::Profile(), clang::ObjCObjectPointerType::Profile(), clang::AtomicType::Profile(), clang::PipeType::Profile(), clang::TemplateParamObjectDecl::Profile(), clang::ento::SymbolMetadata::Profile(), clang::ento::SymbolConjured::Profile(), clang::TypeLocBuilder::push(), clang::interp::InterpStack::push(), clang::BumpVector< T >::push_back(), clang::ASTVector< T >::push_back(), clang::CodeGen::EHScopeStack::pushCleanup(), clang::CodeGen::CodeGenFunction::pushCleanupAfterFullExpr(), clang::CodeGen::CodeGenFunction::pushCleanupAfterFullExprWithActiveFlag(), clang::CodeGen::CodeGenFunction::pushCleanupAndDeferDeactivation(), clang::CodeGen::EHScopeStack::pushCleanupTuple(), clang::CodeGen::EHScopeStack::pushCleanupWithExtra(), clang::CodeGen::CodeGenFunction::PushDestructorCleanup(), clang::CodeGen::CodeGenFunction::pushFullExprCleanup(), clang::TypeLocBuilder::pushTypeSpec(), clang::interp::CodePtr::read(), ReadArg(), clang::ASTRecordReader::readDeclAs(), clang::serialization::DataStreamBasicReader< Impl >::readEnum(), clang::ASTReader::ReadLateParsedTemplates(), ReadOriginalFileName(), clang::ASTReader::ReadPragmaDiagnosticMappings(), clang::TreeTransform< Derived >::RebuildCXXConstructExpr(), clang::TreeTransform< Derived >::RebuildCXXInheritedCtorInitExpr(), clang::TreeTransform< Derived >::RebuildDependentNameType(), clang::TreeTransform< Derived >::RebuildFunctionNoProtoType(), clang::TreeTransform< Derived >::RebuildFunctionProtoType(), clang::TreeTransform< Derived >::RebuildImplicitValueInitExpr(), clang::TreeTransform< Derived >::RebuildMacroQualifiedType(), clang::TreeTransform< Derived >::RebuildObjCExceptionDecl(), clang::TreeTransform< Derived >::RebuildQualifiedType(), clang::TreeTransform< Derived >::RebuildTypeRequirement(), clang::TreeTransform< Derived >::RebuildUnresolvedUsingType(), recordConversion(), RecoverCastedSymbol(), clang::threadSafety::til::VisitReducer< Self >::reduceBasicBlock(), clang::threadSafety::til::VisitReducer< Self >::reduceIfThenElse(), clang::CodeGen::CodeGenTypes::RefreshTypeCacheForClass(), clang::driver::RegisterEffectiveTriple::RegisterEffectiveTriple(), clang::CodeGen::CodeGenModule::Release(), clang::ento::ProgramStateManager::remove(), clang::ento::ProgramState::remove(), clang::ASTContext::removeAddrSpaceQualType(), clang::ASTContext::removePtrSizeAddrSpace(), RenderCharacterOptions(), renderDebugOptions(), renderDwarfFormat(), RenderObjCOptions(), clang::Sema::RequireCompleteSizedType(), clang::Sema::RequireCompleteType(), clang::Sema::RequireLiteralType(), clang::Sema::RequireNonAbstractType(), clang::Sema::RequireStructuralType(), clang::threadSafety::til::SimpleArray< T >::reserve(), clang::LookupResult::resolveKind(), clang::CodeGen::DominatingPointer< T, true >::restore(), ScopeSpecifierHasTemplateId(), clang::ento::ProgramStateManager::set(), clang::ento::ProgramState::set(), clang::StandardConversionSequence::setAllToTypes(), clang::ImplicitConversionSequence::setAsIdentityConversion(), clang::LookupResult::setBaseObjectType(), clang::ASTContext::setCFConstantStringType(), clang::CodeGen::ABIArgInfo::setCoerceToType(), clang::CompoundAssignOperator::setComputationLHSType(), clang::CompoundAssignOperator::setComputationResultType(), clang::DeclarationName::setFETokenInfo(), clang::IdentifierInfo::setFETokenInfo(), setFlag(), clang::StandardConversionSequence::setFromType(), clang::AmbiguousConversionSequence::setFromType(), clang::BadConversionSequence::setFromType(), clang::ImplicitConversionSequence::setInitializerListContainerType(), clang::EnumDecl::setIntegerType(), clang::TemplateArgument::setIntegralType(), clang::LangOptions::setLangDefaults(), clang::ObjCProtocolQualifiers< T >::setNumProtocols(), clang::ASTContext::setObjCNSStringType(), clang::ASTImporter::setODRHandling(), clang::interp::InterpFrame::setParam(), clang::CodeCompletionContext::setPreferredType(), clang::EnumDecl::setPromotionType(), clang::ObjCMethodDecl::setReturnType(), clang::LabelDecl::setStmt(), clang::ObjCMessageExpr::setSuper(), clang::installapi::DylibVerifier::setTarget(), clang::CXXBindTemporaryExpr::setTemporary(), clang::AmbiguousConversionSequence::setToType(), clang::BadConversionSequence::setToType(), clang::StandardConversionSequence::setToType(), clang::ObjCPropertyDecl::setType(), clang::TagDecl::setTypedefNameForAnonDecl(), clang::DeclSpec::SetTypeQual(), clang::DeclSpec::SetTypeSpecType(), clang::OMPVarListClause< T >::setVarRefs(), shouldHaveNullability(), shouldIgnoreUnsupportedTargetFeature(), skipTopLevelReferences(), clang::Parser::SkipUntil(), clang::QualType::StreamedQualTypeHelper::StreamedQualTypeHelper(), clang::AttributedType::stripOuterNullability(), clang::Sema::SubstFunctionDeclType(), clang::Sema::SubstType(), clang::ento::SymbolConjured::SymbolConjured(), clang::ento::SymbolMetadata::SymbolMetadata(), clang::TargetInfo::TargetInfo(), clang::TemplateArgument::TemplateArgument(), clang::Sema::TemporaryMaterializationConversion(), clang::syntax::Token::Token(), clang::syntax::TokenCollector::TokenCollector(), clang::interp::Pointer::toRValue(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::TreeTransform< Derived >::TransformExceptionSpec(), clang::TreeTransform< Derived >::TransformFunctionProtoType(), clang::TreeTransform< Derived >::TransformNestedNameSpecifierLoc(), clang::TreeTransform< Derived >::TransformReferenceType(), clang::TreeTransform< Derived >::TransformTemplateArgument(), clang::TreeTransform< Derived >::TransformTemplateSpecializationType(), clang::TreeTransform< Derived >::TransformType(), TransformTypeSpecType(), clang::TreeTransform< Derived >::TransformTypeWithDeducedTST(), translateEdits(), translateTemplateArgument(), clang::RecursiveASTVisitor< Derived >::TraverseType(), clang::syntax::TreeBuilder::TreeBuilder(), TryClassUnification(), TryDeconstructFunctionLike(), clang::ento::tryExpandAsInteger(), clang::TypeInfoLValue::TypeInfoLValue(), TypeIsInnerPointer(), typeIsPostfix(), clang::MultiplexASTDeserializationListener::TypeRead(), clang::TypeLocBuilder::TypeWasModifiedSafely(), clang::TypoExpr::TypoExpr(), clang::ento::UnarySymExpr::UnarySymExpr(), unwrapSugar(), UnwrapTypeForDebugInfo(), updateConsecutiveMacroArgTokens(), clang::driver::tools::arm::useAAPCSForMachO(), clang::TargetInfo::useObjCFPRetForRealType(), clang::TargetCXXABI::usesRelativeVTables(), clang::JSONNodeDumper::Visit(), clang::TextNodeDumper::Visit(), clang::TypeVisitor< ImplClass, RetTy >::Visit(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit(), SYCLKernelNameTypeVisitor::Visit(), SYCLFwdDeclEmitter::Visit(), SYCLKernelNameTypePrinter::Visit(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitAdjustedType(), clang::interp::ByteCodeExprGen< Emitter >::visitAPValueInitializer(), clang::interp::ByteCodeExprGen< Emitter >::visitArrayElemInit(), clang::ento::ExprEngine::VisitArraySubscriptExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitArrayType(), clang::TextNodeDumper::VisitArrayType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitAtomicType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitAttributedType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitAutoType(), clang::TextNodeDumper::VisitAutoType(), clang::interp::ByteCodeExprGen< Emitter >::VisitBinaryOperator(), clang::ento::ExprEngine::VisitBlockExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitBlockPointerType(), clang::interp::ByteCodeExprGen< Emitter >::visitBool(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitBTFTagAttributedType(), clang::interp::ByteCodeExprGen< Emitter >::VisitCallExpr(), clang::ento::ExprEngine::VisitCast(), clang::interp::ByteCodeExprGen< Emitter >::VisitCastExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitComplexType(), clang::interp::ByteCodeExprGen< Emitter >::VisitCompoundLiteralExpr(), clang::TextNodeDumper::VisitConstantArrayType(), clang::interp::ByteCodeExprGen< Emitter >::VisitConstantExpr(), clang::interp::ByteCodeExprGen< Emitter >::VisitCXXConstructExpr(), clang::interp::ByteCodeExprGen< Emitter >::VisitCXXDefaultArgExpr(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::interp::ByteCodeExprGen< Emitter >::VisitCXXScalarValueInitExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitDecltypeType(), clang::TextNodeDumper::VisitDeducedTemplateSpecializationType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitDependentSizedArrayType(), clang::TextNodeDumper::VisitDependentSizedArrayType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitDependentSizedExtVectorType(), clang::TextNodeDumper::VisitDependentSizedExtVectorType(), clang::interp::ByteCodeExprGen< Emitter >::visitExpr(), clang::TextNodeDumper::VisitFriendDecl(), clang::JSONNodeDumper::VisitFriendDecl(), clang::interp::ByteCodeStmtGen< Emitter >::visitFunc(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitFunctionProtoType(), clang::JSONNodeDumper::VisitFunctionProtoType(), clang::TextNodeDumper::VisitFunctionProtoType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitFunctionType(), clang::JSONNodeDumper::VisitFunctionType(), clang::TextNodeDumper::VisitFunctionType(), clang::interp::ByteCodeExprGen< Emitter >::VisitGNUNullExpr(), clang::interp::ByteCodeExprGen< Emitter >::VisitImplicitValueInitExpr(), clang::interp::ByteCodeExprGen< Emitter >::visitInitList(), clang::ento::ExprEngine::VisitInitListExpr(), clang::TextNodeDumper::VisitInjectedClassNameType(), SYCLKernelNameTypeVisitor::VisitIntegralTemplateArgument(), SYCLFwdDeclEmitter::VisitIntegralTemplateArgument(), SYCLKernelNameTypePrinter::VisitIntegralTemplateArgument(), clang::interp::ByteCodeExprGen< Emitter >::VisitLambdaExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitLocInfoType(), clang::interp::ByteCodeExprGen< Emitter >::VisitLogicalBinOp(), clang::ento::ExprEngine::VisitLogicalExpr(), clang::interp::ByteCodeExprGen< Emitter >::VisitMemberExpr(), clang::ento::ExprEngine::VisitMemberExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitMemberPointerType(), clang::ento::UndefOrNullArgVisitor::VisitNode(), clang::ento::TagVisitor::VisitNode(), clang::TextNodeDumper::VisitObjCInterfaceType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitObjCObjectPointerType(), clang::ASTDeclReader::VisitObjCPropertyDecl(), clang::interp::ByteCodeExprGen< Emitter >::VisitOffsetOfExpr(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitPackExpansionType(), clang::TextNodeDumper::VisitPackExpansionType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitPackIndexingType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitPipeType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitPointerType(), SYCLFwdDeclEmitter::VisitPointerType(), clang::ASTDeclReader::VisitRedeclarable(), clang::ASTDeclWriter::VisitRedeclarable(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitReferenceType(), clang::TextNodeDumper::VisitRValueReferenceType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitSubstTemplateTypeParmPackType(), clang::JSONNodeDumper::VisitSubstTemplateTypeParmPackType(), clang::TextNodeDumper::VisitSubstTemplateTypeParmPackType(), clang::TextNodeDumper::VisitSubstTemplateTypeParmType(), clang::TextNodeDumper::VisitTagType(), SYCLFwdDeclEmitter::VisitTagType(), SYCLKernelNameTypePrinter::VisitTagType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitTemplateSpecializationType(), clang::TextNodeDumper::VisitTemplateSpecializationType(), clang::TextNodeDumper::VisitTemplateTypeParmType(), clang::ASTNodeImporter::VisitType(), SYCLKernelNameTypePrinter::VisitType(), clang::TextNodeDumper::VisitTypedefType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitTypeOfExprType(), SYCLKernelNameTypeVisitor::VisitTypeTemplateArgument(), SYCLFwdDeclEmitter::VisitTypeTemplateArgument(), SYCLKernelNameTypePrinter::VisitTypeTemplateArgument(), clang::ento::ExprEngine::VisitUnaryExprOrTypeTraitExpr(), clang::interp::ByteCodeExprGen< Emitter >::VisitUnaryOperator(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitUnaryTransformType(), clang::TextNodeDumper::VisitUnaryTransformType(), clang::TextNodeDumper::VisitUnresolvedUsingType(), clang::TextNodeDumper::VisitUsingType(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitVariableArrayType(), clang::TextNodeDumper::VisitVariableArrayType(), clang::ASTNodeImporter::VisitVarTemplateSpecializationDecl(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::VisitVectorType(), clang::TextNodeDumper::VisitVectorType(), clang::RecursiveASTVisitor< Derived >::WalkUpFromType(), clang::targets::WebAssembly32TargetInfo::WebAssembly32TargetInfo(), clang::targets::WebAssembly64TargetInfo::WebAssembly64TargetInfo(), clang::QualType::withFastQualifiers(), clang::QualType::withoutLocalFastQualifiers(), withoutUnaligned(), clang::serialization::DataStreamBasicWriter< Impl >::writeArray(), and clang::ASTRecordWriter::writeQualType().

◆ ToggleHighlight

const char clang::ToggleHighlight = 127

Special character that the diagnostic printer will use to toggle the bold attribute.

The character itself will be not be printed.

Definition at line 1852 of file Diagnostic.h.

Referenced by applyTemplateHighlighting().

◆ TypeColor

const TerminalColor clang::TypeColor = {llvm::raw_ostream::GREEN, false}
static

◆ UndeserializedColor

const TerminalColor clang::UndeserializedColor
static
Initial value:
= {llvm::raw_ostream::GREEN,
true}

Definition at line 72 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::Visit().

◆ ValueColor

const TerminalColor clang::ValueColor = {llvm::raw_ostream::CYAN, true}
static

◆ ValueKindColor

const TerminalColor clang::ValueKindColor = {llvm::raw_ostream::CYAN, false}
static

Definition at line 62 of file ASTDumperUtils.h.

Referenced by clang::TextNodeDumper::Visit().