From 537e309ce321c058535a935e37b005069ef388d5 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 2 Nov 2011 16:52:18 -0400 Subject: [PATCH] TREE_STRING_LENGTH comment From-SVN: r180800 --- gcc/tree.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/tree.h b/gcc/tree.h index 4f9970b3c8c..5dc17988c07 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1521,6 +1521,7 @@ struct GTY(()) tree_fixed_cst { }; /* In a STRING_CST */ +/* In C terms, this is sizeof, not strlen. */ #define TREE_STRING_LENGTH(NODE) (STRING_CST_CHECK (NODE)->string.length) #define TREE_STRING_POINTER(NODE) \ ((const char *)(STRING_CST_CHECK (NODE)->string.str)) -- 2.30.2