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
- public clang::SourceRange getLocalSourceRange() const
- public clang::SourceLocation getNameLoc() const
- public void initializeLocal(clang::ASTContext & Context, clang::SourceLocation Loc)
- private static bool isKind(const clang::TypeLoc & TL)
- public void setNameLoc(clang::SourceLocation Loc)
Methods
¶clang::SourceRange getLocalSourceRange() const
clang::SourceRange getLocalSourceRange() const
Declared at: clang/include/clang/AST/TypeLoc.h:531
¶clang::SourceLocation getNameLoc() const
clang::SourceLocation getNameLoc() const
Declared at: clang/include/clang/AST/TypeLoc.h:523
¶void initializeLocal(clang::ASTContext& Context,
clang::SourceLocation Loc)
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)
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)
void setNameLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/TypeLoc.h:527