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
Name | Value | Comment |
---|---|---|
NC_Unknown | 0 | This name is not a type or template in this context, but might be something else. |
NC_Error | 1 | Classification failed; an error has been produced. |
NC_Keyword | 2 | The name has been typo-corrected to a keyword. |
NC_Type | 3 | The name was classified as a type. |
NC_NonType | 4 | The name was classified as a specific non-type, non-template declaration. ActOnNameClassifiedAsNonType should be called to convert the declaration to an expression. |
NC_UndeclaredNonType | 5 | The name was classified as an ADL-only function name. ActOnNameClassifiedAsUndeclaredNonType should be called to convert the result to an expression. |
NC_DependentNonType | 6 | The 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_OverloadSet | 7 | The 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_TypeTemplate | 8 | The name was classified as a template whose specializations are types. |
NC_VarTemplate | 9 | The name was classified as a variable template name. |
NC_FunctionTemplate | 10 | The name was classified as a function template name. |
NC_UndeclaredTemplate | 11 | The name was classified as an ADL-only function template name. |
NC_Concept | 12 | The name was classified as a concept name. |