enum Sema::UnexpandedParameterPackContext
Description
The context in which an unexpanded parameter pack is being diagnosed. Note that the values of this enumeration line up with the first argument to the \c err_unexpanded_parameter_pack diagnostic.
Declared at: clang/include/clang/Sema/Sema.h:8326
Enumerators
| Name | Value | Comment |
|---|---|---|
| UPPC_Expression | 0 | An arbitrary expression. |
| UPPC_BaseType | 1 | The base type of a class type. |
| UPPC_DeclarationType | 2 | The type of an arbitrary declaration. |
| UPPC_DataMemberType | 3 | The type of a data member. |
| UPPC_BitFieldWidth | 4 | The size of a bit-field. |
| UPPC_StaticAssertExpression | 5 | The expression in a static assertion. |
| UPPC_FixedUnderlyingType | 6 | The fixed underlying type of an enumeration. |
| UPPC_EnumeratorValue | 7 | The enumerator value. |
| UPPC_UsingDeclaration | 8 | A using declaration. |
| UPPC_FriendDeclaration | 9 | A friend declaration. |
| UPPC_DeclarationQualifier | 10 | A declaration qualifier. |
| UPPC_Initializer | 11 | An initializer. |
| UPPC_DefaultArgument | 12 | A default argument. |
| UPPC_NonTypeTemplateParameterType | 13 | The type of a non-type template parameter. |
| UPPC_ExceptionType | 14 | The type of an exception. |
| UPPC_PartialSpecialization | 15 | Partial specialization. |
| UPPC_IfExists | 16 | Microsoft __if_exists. |
| UPPC_IfNotExists | 17 | Microsoft __if_not_exists. |
| UPPC_Lambda | 18 | Lambda expression. |
| UPPC_Block | 19 | Block expression. |
| UPPC_TypeConstraint | 20 | A type constraint. |
| UPPC_Requirement | 21 | A type constraint. |
| UPPC_RequiresClause | 22 | A type constraint. |