[cfe-commits] r95989 - /cfe/trunk/include/clang/AST/Type.h
Douglas Gregor
dgregor at apple.com
Fri Feb 12 09:28:42 PST 2010
Author: dgregor
Date: Fri Feb 12 11:28:41 2010
New Revision: 95989
URL: http://llvm.org/viewvc/llvm-project?rev=95989&view=rev
Log:
Improve documentation for DependentTypeOfExprType, DependentDecltypeType. No functionality change.
Modified:
cfe/trunk/include/clang/AST/Type.h
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=95989&r1=95988&r2=95989&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Fri Feb 12 11:28:41 2010
@@ -1993,8 +1993,12 @@
static bool classof(const TypeOfExprType *) { return true; }
};
-/// Subclass of TypeOfExprType that is used for canonical, dependent
+/// \brief Internal representation of canonical, dependent
/// typeof(expr) types.
+///
+/// This class is used internally by the ASTContext to manage
+/// canonical, dependent types, only. Clients will only see instances
+/// of this class via TypeOfExprType nodes.
class DependentTypeOfExprType
: public TypeOfExprType, public llvm::FoldingSetNode {
ASTContext &Context;
@@ -2061,8 +2065,12 @@
static bool classof(const DecltypeType *) { return true; }
};
-/// Subclass of DecltypeType that is used for canonical, dependent
-/// C++0x decltype types.
+/// \brief Internal representation of canonical, dependent
+/// decltype(expr) types.
+///
+/// This class is used internally by the ASTContext to manage
+/// canonical, dependent types, only. Clients will only see instances
+/// of this class via DecltypeType nodes.
class DependentDecltypeType : public DecltypeType, public llvm::FoldingSetNode {
ASTContext &Context;
More information about the cfe-commits
mailing list