clang API Documentation
#include <Decl.h>


Public Member Functions | |
| SourceRange | getSourceRange () const override LLVM_READONLY |
| Source range that this declaration covers. | |
Static Public Member Functions | |
| static TypedefDecl * | Create (ASTContext &C, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo) |
| static TypedefDecl * | CreateDeserialized (ASTContext &C, unsigned ID) |
| static bool | classof (const Decl *D) |
| static bool | classofKind (Kind K) |
TypedefDecl - Represents the declaration of a typedef-name via the 'typedef' type specifier.
| static bool clang::TypedefDecl::classof | ( | const Decl * | D | ) | [inline, static] |
Reimplemented from clang::TypedefNameDecl.
Definition at line 2558 of file Decl.h.
References clang::Decl::getKind().
| static bool clang::TypedefDecl::classofKind | ( | Kind | K | ) | [inline, static] |
Reimplemented from clang::TypedefNameDecl.
| TypedefDecl * TypedefDecl::Create | ( | ASTContext & | C, |
| DeclContext * | DC, | ||
| SourceLocation | StartLoc, | ||
| SourceLocation | IdLoc, | ||
| IdentifierInfo * | Id, | ||
| TypeSourceInfo * | TInfo | ||
| ) | [static] |
Definition at line 3860 of file Decl.cpp.
References AttributeLangSupport::C.
Referenced by clang::ASTContext::buildImplicitTypedef(), clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(), clang::Sema::ParseTypedefDecl(), and clang::ASTNodeImporter::VisitTypedefNameDecl().
| TypedefDecl * TypedefDecl::CreateDeserialized | ( | ASTContext & | C, |
| unsigned | ID | ||
| ) | [static] |
Definition at line 3868 of file Decl.cpp.
References AttributeLangSupport::C.
| SourceRange TypedefDecl::getSourceRange | ( | ) | const [override, virtual] |
Source range that this declaration covers.
Reimplemented from clang::TypeDecl.
Definition at line 3885 of file Decl.cpp.
References clang::Decl::getLocation(), clang::TypeDecl::getLocStart(), and clang::TypedefNameDecl::getTypeSourceInfo().