aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDouglas Gregor <doug.gregor@gmail.com>2007-07-04 06:35:25 +0000
committerDoug Gregor <dgregor@gcc.gnu.org>2007-07-04 06:35:25 +0000
commitc92b85159f14f32796cb71be4a489d488e1090a0 (patch)
tree2d76a2f767f8853b417de3dc3e150e70c0b9d94b /gcc
parent8de08f4c8650d8b1b00901d0ada78ffd87a7cfa9 (diff)
downloadgcc-c92b85159f14f32796cb71be4a489d488e1090a0.zip
gcc-c92b85159f14f32796cb71be4a489d488e1090a0.tar.gz
gcc-c92b85159f14f32796cb71be4a489d488e1090a0.tar.bz2
tree.c (maybe_canonicalize_argtypes): Improve description.
2007-07-04 Douglas Gregor <doug.gregor@gmail.com> * tree.c (maybe_canonicalize_argtypes): Improve description. From-SVN: r126304
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.c14
2 files changed, 9 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index abeacc3..507818d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2007-07-04 Douglas Gregor <doug.gregor@gmail.com>
+ * tree.c (maybe_canonicalize_argtypes): Improve description.
+
+2007-07-04 Douglas Gregor <doug.gregor@gmail.com>
+
* tree.c (maybe_canonicalize_argtypes): New.
(build_function_type): Set canonical type.
(build_method_type_directly): Ditto.
diff --git a/gcc/tree.c b/gcc/tree.c
index 8feaf47..06472ea 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -5650,17 +5650,13 @@ get_inner_array_type (tree array)
/* Computes the canonical argument types from the argument type list
ARGTYPES.
- ANY_STRUCTURAL_P points to a boolean that states whether any of the
- other types that work with ARGTYPES (e.g., the return type of the
- function) are structural. *ANY_STRUCTURAL_P will be set TRUE if any
- of those types or any of the argument types in ARGTYPES are
+ Upon return, *ANY_STRUCTURAL_P will be true iff either it was true
+ on entry to this function, or if any of the ARGTYPES are
structural.
- ANY_NONCANONICAL_P points to a boolean that states whether any of
- the other types that work with ARGTYPES (e.g., the return type of
- the function) are non-canonical type nodes. *ANY_NONCANONICAL_P
- will be set TRUE if any of those types or any of the argument types
- in ARGTYPES are non-canonical.
+ Upon return, *ANY_NONCANONICAL_P will be true iff either it was
+ true on entry to this function, or if any of the ARGTYPES are
+ non-canonical.
Returns a canonical argument list, which may be ARGTYPES when the
canonical argument list is unneeded (i.e., *ANY_STRUCTURAL_P is