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

Inherited from TypeLoc:

Methods

void copyLocal(clang::TypeLoc other)

Declared at: clang/include/clang/AST/TypeLoc.h:295

Parameters

clang::TypeLoc other

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

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

Declared at: clang/include/clang/AST/TypeLoc.h:279

clang::TypeLoc getNextTypeLoc() const

Declared at: clang/include/clang/AST/TypeLoc.h:299

clang::UnqualTypeLoc getUnqualifiedLoc() const

Declared at: clang/include/clang/AST/TypeLoc.h:281

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)

Declared at: clang/include/clang/AST/TypeLoc.h:321

Parameters

const clang::TypeLoc& TL