clang API Documentation
#include <Type.h>
Public Member Functions | |
TagDecl * | getDecl () const |
bool | isBeingDefined () const |
Determines whether this type is in the process of being defined. | |
Static Public Member Functions | |
static bool | classof (const Type *T) |
Protected Member Functions | |
TagType (TypeClass TC, const TagDecl *D, QualType can) | |
Friends | |
class | ASTReader |
TagType::TagType | ( | TypeClass | TC, |
const TagDecl * | D, | ||
QualType | can | ||
) | [protected] |
static bool clang::TagType::classof | ( | const Type * | T | ) | [inline, static] |
Reimplemented in clang::EnumType, and clang::RecordType.
Definition at line 3345 of file Type.h.
References clang::Type::getTypeClass().
TagDecl * TagType::getDecl | ( | ) | const |
Reimplemented in clang::EnumType, and clang::RecordType.
Definition at line 1891 of file Type.cpp.
References getInterestingTagDecl().
Referenced by clang::Sema::computeDeclContext(), clang::RecordType::getDecl(), clang::EnumType::getDecl(), getUniqueTagTypeName(), clang::ASTReader::InitializeContext(), isBeingDefined(), and isTypeTypedefedAsBOOL().
bool TagType::isBeingDefined | ( | ) | const |
Determines whether this type is in the process of being defined.
Definition at line 1895 of file Type.cpp.
References getDecl(), and clang::TagDecl::isBeingDefined().
Referenced by clang::Sema::ActOnTag(), clang::Sema::FindInstantiatedDecl(), and clang::Sema::RequireCompleteDeclContext().
friend class ASTReader [friend] |
Reimplemented from clang::Type.