clang 22.0.0git
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::KeywordWrapper< T > Class Template Reference

#include "clang/AST/TypeBase.h"

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>
 KeywordWrapper (ElaboratedTypeKeyword Keyword, As &&...as)
 

Detailed Description

template<class T>
class clang::KeywordWrapper< T >

Definition at line 5950 of file TypeBase.h.

Constructor & Destructor Documentation

◆ KeywordWrapper()

template<class T >
template<class... As>
clang::KeywordWrapper< T >::KeywordWrapper ( ElaboratedTypeKeyword  Keyword,
As &&...  as 
)
inlineprotected

Definition at line 5953 of file TypeBase.h.

References clang::Keyword, and clang::T.

Member Function Documentation

◆ classof()

template<class T >
static CannotCastToThisType clang::KeywordWrapper< T >::classof ( const T )
static

◆ getKeyword()

template<class T >
ElaboratedTypeKeyword clang::KeywordWrapper< T >::getKeyword ( ) const
inline

The documentation for this class was generated from the following file: