aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-02-12 17:28:41 +0000
committerDouglas Gregor <dgregor@apple.com>2010-02-12 17:28:41 +0000
commitc4875ee41ba35f1d746f4266ce47461247f19f41 (patch)
treeb5953d41177b9bb389dd79af37fe1c608001b7c1
parentd014542e1c6710d2c230b65b0cfcb8302a596b21 (diff)
Improve documentation for DependentTypeOfExprType, DependentDecltypeType. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95989 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/Type.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h
index 04dc99eda2..182ece96d7 100644
--- a/include/clang/AST/Type.h
+++ b/include/clang/AST/Type.h
@@ -1993,8 +1993,12 @@ public:
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 @@ public:
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;