class TagTypeLoc
Declaration
class TagTypeLoc : public InheritingConcreteTypeLoc { /* full declaration omitted */ };
Description
Wrapper for source info for tag types. Note that this only records source info for the name itself; a type written 'struct foo' should be represented as an ElaboratedTypeLoc. We currently only do that when C++ is enabled because of the expense of creating an ElaboratedType node for so many type references in C.
Declared at: clang/include/clang/AST/TypeLoc.h:716
Inherits from: InheritingConcreteTypeLoc
Method Overview
- public clang::TagDecl * getDecl() const
- public bool isDefinition() const
Methods
¶clang::TagDecl* getDecl() const
clang::TagDecl* getDecl() const
Declared at: clang/include/clang/AST/TypeLoc.h:720
¶bool isDefinition() const
bool isDefinition() const
Description
True if the tag was defined in this type specifier.
Declared at: clang/include/clang/AST/TypeLoc.h:723