class TypeSpecTypeLoc

Declaration

class TypeSpecTypeLoc : public ConcreteTypeLoc { /* full declaration omitted */ };

Description

A reasonable base class for TypeLocs that correspond to types that are written as a type-specifier.

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

Inherits from: ConcreteTypeLoc

Method Overview

Methods

clang::SourceRange getLocalSourceRange() const

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

clang::SourceLocation getNameLoc() const

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

void initializeLocal(clang::ASTContext& Context,
                     clang::SourceLocation Loc)

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

Parameters

clang::ASTContext& Context
clang::SourceLocation Loc

static bool isKind(const clang::TypeLoc& TL)

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

Parameters

const clang::TypeLoc& TL

void setNameLoc(clang::SourceLocation Loc)

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

Parameters

clang::SourceLocation Loc