Commit 537e309c by Jason Merrill

TREE_STRING_LENGTH comment

From-SVN: r180800
parent af8ed618
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment