summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/langhooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/langhooks.h')
-rw-r--r--contrib/gcc/langhooks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc/langhooks.h b/contrib/gcc/langhooks.h
index e614893..1254c63 100644
--- a/contrib/gcc/langhooks.h
+++ b/contrib/gcc/langhooks.h
@@ -119,6 +119,10 @@ struct lang_hooks_for_types
according to UNSIGNEDP. */
tree (*signed_or_unsigned_type) (int, tree);
+ /* True if the type is an instantiation of a generic type,
+ e.g. C++ template implicit specializations. */
+ bool (*generic_p) (tree);
+
/* Given a type, apply default promotions to unnamed function
arguments and return the new type. Return the same type if no
change. Required by any language that supports variadic
OpenPOWER on IntegriCloud