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

NameValueComment
UPPC_Expression0An arbitrary expression.
UPPC_BaseType1The base type of a class type.
UPPC_DeclarationType2The type of an arbitrary declaration.
UPPC_DataMemberType3The type of a data member.
UPPC_BitFieldWidth4The size of a bit-field.
UPPC_StaticAssertExpression5The expression in a static assertion.
UPPC_FixedUnderlyingType6The fixed underlying type of an enumeration.
UPPC_EnumeratorValue7The enumerator value.
UPPC_UsingDeclaration8A using declaration.
UPPC_FriendDeclaration9A friend declaration.
UPPC_DeclarationQualifier10A declaration qualifier.
UPPC_Initializer11An initializer.
UPPC_DefaultArgument12A default argument.
UPPC_NonTypeTemplateParameterType13The type of a non-type template parameter.
UPPC_ExceptionType14The type of an exception.
UPPC_PartialSpecialization15Partial specialization.
UPPC_IfExists16Microsoft __if_exists.
UPPC_IfNotExists17Microsoft __if_not_exists.
UPPC_Lambda18Lambda expression.
UPPC_Block19Block expression.
UPPC_TypeConstraint20A type constraint.
UPPC_Requirement21A type constraint.
UPPC_RequiresClause22A type constraint.