enum Sema::NameClassificationKind

Description

Describes the result of the name lookup and resolution performed by \c ClassifyName().

Declared at: clang/include/clang/Sema/Sema.h:2560

Enumerators

NameValueComment
NC_Unknown0This name is not a type or template in this context, but might be something else.
NC_Error1Classification failed; an error has been produced.
NC_Keyword2The name has been typo-corrected to a keyword.
NC_Type3The name was classified as a type.
NC_NonType4The name was classified as a specific non-type, non-template declaration. ActOnNameClassifiedAsNonType should be called to convert the declaration to an expression.
NC_UndeclaredNonType5The name was classified as an ADL-only function name. ActOnNameClassifiedAsUndeclaredNonType should be called to convert the result to an expression.
NC_DependentNonType6The name denotes a member of a dependent type that could not be resolved. ActOnNameClassifiedAsDependentNonType should be called to convert the result to an expression.
NC_OverloadSet7The name was classified as an overload set, and an expression representing that overload set has been formed. ActOnNameClassifiedAsOverloadSet should be called to form a suitable expression referencing the overload set.
NC_TypeTemplate8The name was classified as a template whose specializations are types.
NC_VarTemplate9The name was classified as a variable template name.
NC_FunctionTemplate10The name was classified as a function template name.
NC_UndeclaredTemplate11The name was classified as an ADL-only function template name.
NC_Concept12The name was classified as a concept name.