class QualifiedTypeLoc
Declaration
class QualifiedTypeLoc : public TypeLoc { /* full declaration omitted */ };
Description
Wrapper of type source information for a type with non-trivial direct qualifiers. Currently, we intentionally do not provide source location for type qualifiers.
Declared at: clang/include/clang/AST/TypeLoc.h:277
Inherits from: TypeLoc
Member Variables
Inherited from TypeLoc:
- protected Ty = nullptr
- protected Data = nullptr
Method Overview
- public void copyLocal(clang::TypeLoc other)
- public unsigned int getLocalDataAlignment() const
- public unsigned int getLocalDataSize() const
- public clang::SourceRange getLocalSourceRange() const
- public clang::TypeLoc getNextTypeLoc() const
- public clang::UnqualTypeLoc getUnqualifiedLoc() const
- public void initializeLocal(clang::ASTContext & Context, clang::SourceLocation Loc)
- private static bool isKind(const clang::TypeLoc & TL)
Inherited from TypeLoc:
- public IgnoreParens
- public castAs
- public copy
- public findExplicitQualifierLoc
- public findNullabilityLoc
- public getAs
- public getAsAdjusted
- public getBeginLoc
- public getContainedAutoTypeLoc
- public getEndLoc
- public getFullDataSize
- public getFullDataSizeForType
- public getLocalAlignmentForType
- public getLocalSourceRange
- public getNextTypeLoc
- public getOpaqueData
- public getSourceRange
- public getType
- public getTypeLocClass
- public getTypePtr
- public getUnqualifiedLoc
- public initialize
- public initializeFullCopy
- public initializeFullCopy
- public isNull
- public operator bool
Methods
¶void copyLocal(clang::TypeLoc other)
void copyLocal(clang::TypeLoc other)
Declared at: clang/include/clang/AST/TypeLoc.h:295
Parameters
- clang::TypeLoc other
¶unsigned int getLocalDataAlignment() const
unsigned int getLocalDataAlignment() const
Description
Returns the alignment of the type source info data block that is specific to this type.
Declared at: clang/include/clang/AST/TypeLoc.h:313
¶unsigned int getLocalDataSize() const
unsigned int getLocalDataSize() const
Description
Returns the size of the type source info data block that is specific to this type.
Declared at: clang/include/clang/AST/TypeLoc.h:305
¶clang::SourceRange getLocalSourceRange() const
clang::SourceRange getLocalSourceRange() const
Declared at: clang/include/clang/AST/TypeLoc.h:279
¶clang::TypeLoc getNextTypeLoc() const
clang::TypeLoc getNextTypeLoc() const
Declared at: clang/include/clang/AST/TypeLoc.h:299
¶clang::UnqualTypeLoc getUnqualifiedLoc() const
clang::UnqualTypeLoc getUnqualifiedLoc() const
Declared at: clang/include/clang/AST/TypeLoc.h:281
¶void initializeLocal(clang::ASTContext& Context,
clang::SourceLocation Loc)
void initializeLocal(clang::ASTContext& Context,
clang::SourceLocation Loc)
Description
Initializes the local data of this type source info block to provide no information.
Declared at: clang/include/clang/AST/TypeLoc.h:291
Parameters
- clang::ASTContext& Context
- clang::SourceLocation Loc
¶static bool isKind(const clang::TypeLoc& TL)
static bool isKind(const clang::TypeLoc& TL)
Declared at: clang/include/clang/AST/TypeLoc.h:321
Parameters
- const clang::TypeLoc& TL