aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2022-03-08 11:34:15 -0500
committerJason Merrill <jason@redhat.com>2022-03-18 14:07:58 -0400
commiteabf8cad2ba1c261a3de9b07be8874d57303d9ec (patch)
treed40d5f6515b3c01b19a5699bd64be23ca21e28f1 /gcc/tree.h
parent47da5198766256be658b4c321cecfd6039b0b91b (diff)
downloadgcc-eabf8cad2ba1c261a3de9b07be8874d57303d9ec.zip
gcc-eabf8cad2ba1c261a3de9b07be8874d57303d9ec.tar.gz
gcc-eabf8cad2ba1c261a3de9b07be8874d57303d9ec.tar.bz2
tree: Add comment.
gcc/ChangeLog: * tree.h (IDENTIFIER_LENGTH): Add comment.
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index da6f3b3..2fedcf0 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -1080,6 +1080,7 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int,
/* Define fields and accessors for some special-purpose tree nodes. */
+/* As with STRING_CST, in C terms this is sizeof, not strlen. */
#define IDENTIFIER_LENGTH(NODE) \
(IDENTIFIER_NODE_CHECK (NODE)->identifier.id.len)
#define IDENTIFIER_POINTER(NODE) \