From: Ted Kremenek Date: Sat, 15 Oct 2011 04:06:52 +0000 (+0000) Subject: Revert "Move doxygen comments to pair with the actual values." X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8706f95eae8f85af01a26eee899c5daf8d6fcde;p=clang Revert "Move doxygen comments to pair with the actual values." John convinced me this wasn't the right thing to do. I'll follow up with a second commit to make these non-doxygen comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142051 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index dd9aa56ed1..9a4bf80c12 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -2705,17 +2705,8 @@ 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; }; @@ -2746,6 +2737,19 @@ 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 {