clang: clang::KeywordWrapper< T > Class Template Reference (original) (raw)
#include "[clang/AST/TypeBase.h](TypeBase%5F8h%5Fsource.html)"
Inheritance diagram for clang::KeywordWrapper< T >:
[legend]
| Classes | |
|---|---|
| class | CannotCastToThisType |
| Public Member Functions | |
|---|---|
| ElaboratedTypeKeyword | getKeyword () const |
| Static Public Member Functions | |
|---|---|
| static CannotCastToThisType | classof (const T *) |
| Static Public Member Functions inherited from clang::KeywordHelpers | |
| static ElaboratedTypeKeyword | getKeywordForTypeSpec (unsigned TypeSpec) |
| Converts a type specifier (DeclSpec::TST) into an elaborated type keyword. | |
| static TagTypeKind | getTagTypeKindForTypeSpec (unsigned TypeSpec) |
| Converts a type specifier (DeclSpec::TST) into a tag type kind. | |
| static ElaboratedTypeKeyword | getKeywordForTagTypeKind (TagTypeKind Tag) |
| Converts a TagTypeKind into an elaborated type keyword. | |
| static TagTypeKind | getTagTypeKindForKeyword (ElaboratedTypeKeyword Keyword) |
| Converts an elaborated type keyword into a TagTypeKind. | |
| static bool | KeywordIsTagTypeKind (ElaboratedTypeKeyword Keyword) |
| static StringRef | getKeywordName (ElaboratedTypeKeyword Keyword) |
| static StringRef | getTagTypeKindName (TagTypeKind Kind) |
| Protected Member Functions |
|---|
| template<class... As> |
Detailed Description
template<class T>
class clang::KeywordWrapper< T >
Definition at line 5922 of file TypeBase.h.
Constructor & Destructor Documentation
template<class T>
template<class... As>
| clang::KeywordWrapper< T >::KeywordWrapper ( ElaboratedTypeKeyword Keyword, As &&... as ) | inlineprotected |
|---|
Definition at line 5925 of file TypeBase.h.
References clang::Keyword, and clang::T.
Member Function Documentation
◆ classof()
template<class T>
| CannotCastToThisType clang::KeywordWrapper< T >::classof ( const T * ) | static |
|---|
References clang::T.
◆ getKeyword()
template<class T>
| ElaboratedTypeKeyword clang::KeywordWrapper< T >::getKeyword ( ) const | inline |
|---|
Definition at line 5931 of file TypeBase.h.
The documentation for this class was generated from the following file:
- include/clang/AST/TypeBase.h