aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-05-10 16:20:09 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2015-05-10 14:20:09 +0000
commite3855ed21a54f4bdba7b9c69580f2e071cedc4d6 (patch)
tree0f8fc246f33c2c915dc590fa157b279456786803 /gcc/tree.h
parent9a22098d4d355f6a220eca9460e5767193a399fd (diff)
downloadgcc-e3855ed21a54f4bdba7b9c69580f2e071cedc4d6.zip
gcc-e3855ed21a54f4bdba7b9c69580f2e071cedc4d6.tar.gz
gcc-e3855ed21a54f4bdba7b9c69580f2e071cedc4d6.tar.bz2
* tree.h (is_lang_specific): Constify.
From-SVN: r222981
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 1974186..f2424c6 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -4621,7 +4621,7 @@ more_call_expr_args_p (const call_expr_arg_iterator *iter)
/* Return true if tree node T is a language-specific node. */
static inline bool
-is_lang_specific (tree t)
+is_lang_specific (const_tree t)
{
return TREE_CODE (t) == LANG_TYPE || TREE_CODE (t) >= NUM_TREE_CODES;
}