TREE_STRING_LENGTH comment

From-SVN: r180800
This commit is contained in:
Jason Merrill 2011-11-02 16:52:18 -04:00
parent af8ed618fb
commit 537e309ce3

View file

@ -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))