From eabf8cad2ba1c261a3de9b07be8874d57303d9ec Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 8 Mar 2022 11:34:15 -0500 Subject: [PATCH] tree: Add comment. gcc/ChangeLog: * tree.h (IDENTIFIER_LENGTH): Add comment. --- gcc/tree.h | 1 + 1 file changed, 1 insertion(+) 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) \ -- 2.7.4