clang  10.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
clang::Sema::NameClassification Class Reference

#include "clang/Sema/Sema.h"

Collaboration diagram for clang::Sema::NameClassification:
Collaboration graph
[legend]

Public Member Functions

 NameClassification (ParsedType Type)
 
 NameClassification (const IdentifierInfo *Keyword)
 
NameClassificationKind getKind () const
 
ExprResult getExpression () const
 
ParsedType getType () const
 
NamedDeclgetNonTypeDecl () const
 
TemplateName getTemplateName () const
 
TemplateNameKind getTemplateNameKind () const
 

Static Public Member Functions

static NameClassification Error ()
 
static NameClassification Unknown ()
 
static NameClassification ContextIndependentExpr (ExprResult E)
 
static NameClassification NonType (NamedDecl *D)
 
static NameClassification UndeclaredNonType ()
 
static NameClassification DependentNonType ()
 
static NameClassification TypeTemplate (TemplateName Name)
 
static NameClassification VarTemplate (TemplateName Name)
 
static NameClassification FunctionTemplate (TemplateName Name)
 
static NameClassification UndeclaredTemplate (TemplateName Name)
 

Detailed Description

Definition at line 1892 of file Sema.h.

Constructor & Destructor Documentation

◆ NameClassification() [1/2]

clang::Sema::NameClassification::NameClassification ( ParsedType  Type)
inline

Definition at line 1904 of file Sema.h.

◆ NameClassification() [2/2]

clang::Sema::NameClassification::NameClassification ( const IdentifierInfo Keyword)
inline

Definition at line 1906 of file Sema.h.

Member Function Documentation

◆ ContextIndependentExpr()

static NameClassification clang::Sema::NameClassification::ContextIndependentExpr ( ExprResult  E)
inlinestatic

Definition at line 1916 of file Sema.h.

References Expr.

◆ DependentNonType()

static NameClassification clang::Sema::NameClassification::DependentNonType ( )
inlinestatic

Definition at line 1932 of file Sema.h.

◆ Error()

static NameClassification clang::Sema::NameClassification::Error ( )
inlinestatic

Definition at line 1908 of file Sema.h.

◆ FunctionTemplate()

static NameClassification clang::Sema::NameClassification::FunctionTemplate ( TemplateName  Name)
inlinestatic

Definition at line 1948 of file Sema.h.

References Template.

◆ getExpression()

ExprResult clang::Sema::NameClassification::getExpression ( ) const
inline

Definition at line 1962 of file Sema.h.

◆ getKind()

NameClassificationKind clang::Sema::NameClassification::getKind ( ) const
inline

Definition at line 1960 of file Sema.h.

◆ getNonTypeDecl()

NamedDecl* clang::Sema::NameClassification::getNonTypeDecl ( ) const
inline

Definition at line 1972 of file Sema.h.

◆ getTemplateName()

TemplateName clang::Sema::NameClassification::getTemplateName ( ) const
inline

Definition at line 1977 of file Sema.h.

◆ getTemplateNameKind()

TemplateNameKind clang::Sema::NameClassification::getTemplateNameKind ( ) const
inline

◆ getType()

ParsedType clang::Sema::NameClassification::getType ( ) const
inline

Definition at line 1967 of file Sema.h.

◆ NonType()

static NameClassification clang::Sema::NameClassification::NonType ( NamedDecl D)
inlinestatic

Definition at line 1922 of file Sema.h.

References NonTypeDecl.

◆ TypeTemplate()

static NameClassification clang::Sema::NameClassification::TypeTemplate ( TemplateName  Name)
inlinestatic

Definition at line 1936 of file Sema.h.

References Template.

◆ UndeclaredNonType()

static NameClassification clang::Sema::NameClassification::UndeclaredNonType ( )
inlinestatic

Definition at line 1928 of file Sema.h.

◆ UndeclaredTemplate()

static NameClassification clang::Sema::NameClassification::UndeclaredTemplate ( TemplateName  Name)
inlinestatic

Definition at line 1954 of file Sema.h.

References Template.

◆ Unknown()

static NameClassification clang::Sema::NameClassification::Unknown ( )
inlinestatic

Definition at line 1912 of file Sema.h.

◆ VarTemplate()

static NameClassification clang::Sema::NameClassification::VarTemplate ( TemplateName  Name)
inlinestatic

Definition at line 1942 of file Sema.h.

References Template.

Member Data Documentation

◆ Expr

ExprResult clang::Sema::NameClassification::Expr

Definition at line 1895 of file Sema.h.

Referenced by ContextIndependentExpr().

◆ NonTypeDecl

NamedDecl* clang::Sema::NameClassification::NonTypeDecl

Definition at line 1896 of file Sema.h.

Referenced by NonType().

◆ Template

TemplateName clang::Sema::NameClassification::Template

Definition at line 1897 of file Sema.h.

Referenced by FunctionTemplate(), TypeTemplate(), UndeclaredTemplate(), and VarTemplate().

◆ Type

ParsedType clang::Sema::NameClassification::Type

Definition at line 1898 of file Sema.h.


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