diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-10-15 11:27:43 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-10-15 11:27:43 +0000 |
commit | 45869a6cab14c0904d21a0a6699dee73d9cbbe4b (patch) | |
tree | 2411eb0474f73e5c07a2298b3088b34464cf149a /gcc/cp/cp-tree.def | |
parent | 80fba193dd65d41044e3175d95e5a3b29d2ab353 (diff) | |
download | gcc-45869a6cab14c0904d21a0a6699dee73d9cbbe4b.zip gcc-45869a6cab14c0904d21a0a6699dee73d9cbbe4b.tar.gz gcc-45869a6cab14c0904d21a0a6699dee73d9cbbe4b.tar.bz2 |
cp-tree.def (TYPENAME_TYPE): Add to documentation.
* cp-tree.def (TYPENAME_TYPE): Add to documentation.
* cp-tree.h (TYPENAME_TYPE_FULLNAME): Document.
(build_typename_type): New function.
* decl.c (build_typename_type): Broken out from ...
(make_typename_type): Use it.
* search.c (lookup_field): Likewise.
From-SVN: r23110
Diffstat (limited to 'gcc/cp/cp-tree.def')
-rw-r--r-- | gcc/cp/cp-tree.def | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.def b/gcc/cp/cp-tree.def index 20a0117..2b24969 100644 --- a/gcc/cp/cp-tree.def +++ b/gcc/cp/cp-tree.def @@ -143,7 +143,10 @@ DEFTREECODE (TEMPLATE_TYPE_PARM, "template_type_parm", 't', 0) The TYPE_FIELDS value will be a TEMPLATE_PARM_INDEX. */ DEFTREECODE (TEMPLATE_TEMPLATE_PARM, "template_template_parm", 't', 0) -/* A type designated by 'typename T::t'. */ +/* A type designated by `typename T::t'. TYPE_CONTEXT is `T', + TYPE_NAME is a TYPE_DECL for `t'. If TREE_TYPE is present, this + type was generated by the implicit typename extension, and the + TREE_TYPE is a _TYPE from a baseclass of `T'. */ DEFTREECODE (TYPENAME_TYPE, "typename_type", 't', 0) /* A thunk is a stub function. |