diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h index 73bf9810b726..1e4b6a740266 100644 --- a/clang/include/clang/AST/Type.h +++ b/clang/include/clang/AST/Type.h @@ -2702,8 +2702,17 @@ public: unsigned char TypeQuals; RefQualifierKind RefQualifier; unsigned NumExceptions; + + /// Exceptions - A variable size array after that holds the exception types. const QualType *Exceptions; + + /// NoexceptExpr - Instead of Exceptions, there may be a single Expr* + /// pointing to the expression in the noexcept() specifier. Expr *NoexceptExpr; + + /// ConsumedArgs - A variable size array, following Exceptions + /// and of length NumArgs, holding flags indicating which arguments + /// are consumed. This only appears if HasAnyConsumedArgs is true. const bool *ConsumedArguments; }; @@ -2734,19 +2743,6 @@ private: /// HasAnyConsumedArgs - Whether this function has any consumed arguments. unsigned HasAnyConsumedArgs : 1; - /// ArgInfo - There is an variable size array after the class in memory that - /// holds the argument types. - - /// Exceptions - There is another variable size array after ArgInfo that - /// holds the exception types. - - /// NoexceptExpr - Instead of Exceptions, there may be a single Expr* pointing - /// to the expression in the noexcept() specifier. - - /// ConsumedArgs - A variable size array, following Exceptions - /// and of length NumArgs, holding flags indicating which arguments - /// are consumed. This only appears if HasAnyConsumedArgs is true. - friend class ASTContext; // ASTContext creates these. const bool *getConsumedArgsBuffer() const {