unsigned ParamIndex;
public:
- enum LLVM_ENUM_INT_TYPE(unsigned) {
+ enum : unsigned {
InvalidParamIndex = ~0U,
VarArgParamIndex = ~0U/*InvalidParamIndex*/ - 1U
};
public:
/// NoResult - A value for the result index indicating that there is
/// no semantic result.
- enum LLVM_ENUM_INT_TYPE(unsigned) { NoResult = ~0U };
+ enum : unsigned { NoResult = ~0U };
static PseudoObjectExpr *Create(const ASTContext &Context, Expr *syntactic,
ArrayRef<Expr*> semantic,
friend class SourceManager;
friend class ASTReader;
friend class ASTWriter;
- enum LLVM_ENUM_INT_TYPE(unsigned) {
+ enum : unsigned {
MacroIDBit = 1U << 31
};
public:
}
typedef std::vector<std::pair<unsigned, SourceLocation> > VisStack;
-enum LLVM_ENUM_INT_TYPE(unsigned) { NoVisibility = ~0U };
+enum : unsigned { NoVisibility = ~0U };
void Sema::AddPushedVisibilityAttribute(Decl *D) {
if (!VisContext)