clang  14.0.0git
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

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 OverloadSet (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 Concept (TemplateName Name)
static NameClassification UndeclaredTemplate (TemplateName Name)

Detailed Description

Definition at line 2489 of file Sema.h.

Constructor & Destructor Documentation

◆ NameClassification() [1/2]

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

Definition at line 2501 of file Sema.h.

◆ NameClassification() [2/2]

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

Definition at line 2503 of file Sema.h.

Member Function Documentation

◆ Concept()

static NameClassification clang::Sema::NameClassification::Concept ( TemplateName  Name)

Definition at line 2551 of file Sema.h.

◆ DependentNonType()

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

Definition at line 2529 of file Sema.h.

References clang::Sema::NC_DependentNonType.

◆ Error()

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

Definition at line 2505 of file Sema.h.

References clang::Sema::NC_Error.

◆ FunctionTemplate()

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

Definition at line 2545 of file Sema.h.

◆ getExpression()

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

Definition at line 2565 of file Sema.h.

References Expr, and clang::Sema::NC_OverloadSet.

◆ getKind()

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

Definition at line 2563 of file Sema.h.

◆ getNonTypeDecl()

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

Definition at line 2575 of file Sema.h.

References clang::Sema::NC_NonType, and NonTypeDecl.

◆ getTemplateName()

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

◆ getTemplateNameKind()

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

◆ getType()

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

Definition at line 2570 of file Sema.h.

References clang::Sema::NC_Type, and Type.

◆ NonType()

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

Definition at line 2519 of file Sema.h.

References clang::Sema::NC_NonType.

◆ OverloadSet()

static NameClassification clang::Sema::NameClassification::OverloadSet ( ExprResult  E)

Definition at line 2513 of file Sema.h.

References clang::Sema::NC_OverloadSet.

◆ TypeTemplate()

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

Definition at line 2533 of file Sema.h.

◆ UndeclaredNonType()

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

Definition at line 2525 of file Sema.h.

References clang::Sema::NC_UndeclaredNonType.

◆ UndeclaredTemplate()

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

Definition at line 2557 of file Sema.h.

◆ Unknown()

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

Definition at line 2509 of file Sema.h.

References clang::Sema::NC_Unknown.

◆ VarTemplate()

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

Definition at line 2539 of file Sema.h.

Member Data Documentation

◆ Expr

ExprResult clang::Sema::NameClassification::Expr

Definition at line 2492 of file Sema.h.

Referenced by getExpression().

◆ NonTypeDecl

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

Definition at line 2493 of file Sema.h.

Referenced by getNonTypeDecl().

◆ Template

TemplateName clang::Sema::NameClassification::Template

Definition at line 2494 of file Sema.h.

Referenced by getTemplateName().

◆ Type

ParsedType clang::Sema::NameClassification::Type

Definition at line 2495 of file Sema.h.

Referenced by getType().

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