DAK_Normal
};
+ enum { NumScopeDepthOrObjCQualsBits = 7 };
+
class ParmVarDeclBitfields {
friend class ASTDeclReader;
friend class ParmVarDecl;
/// Whether this parameter is an ObjC method parameter or not.
unsigned IsObjCMethodParam : 1;
- enum { NumScopeDepthOrObjCQualsBits = 7 };
-
/// If IsObjCMethodParam, a Decl::ObjCDeclQualifier.
/// Otherwise, the number of function parameter scopes enclosing
/// the function parameter scope in which this parameter was
}
static constexpr unsigned getMaxFunctionScopeDepth() {
- return (1u << ParmVarDeclBitfields::NumScopeDepthOrObjCQualsBits) - 1;
+ return (1u << NumScopeDepthOrObjCQualsBits) - 1;
}
/// Returns the index of this parameter in its prototype or method scope.