aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constraint.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/constraint.cc')
-rw-r--r--gcc/cp/constraint.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc
index c8eef24..8d7aec3 100644
--- a/gcc/cp/constraint.cc
+++ b/gcc/cp/constraint.cc
@@ -3205,6 +3205,9 @@ diagnose_trait_expr (tree expr, tree args)
else
inform (loc, " %qT is not nothrow invocable by %qE", t1, t2);
break;
+ case CPTK_IS_NOTHROW_RELOCATABLE:
+ inform (loc, " %qT is not nothrow relocatable", t1);
+ break;
case CPTK_IS_OBJECT:
inform (loc, " %qT is not an object type", t1);
break;
@@ -3224,6 +3227,9 @@ diagnose_trait_expr (tree expr, tree args)
case CPTK_IS_REFERENCE:
inform (loc, " %qT is not a reference", t1);
break;
+ case CPTK_IS_REPLACEABLE:
+ inform (loc, " %qT is not replaceable", t1);
+ break;
case CPTK_IS_SAME:
inform (loc, " %qT is not the same as %qT", t1, t2);
break;
@@ -3251,6 +3257,9 @@ diagnose_trait_expr (tree expr, tree args)
case CPTK_IS_TRIVIALLY_DESTRUCTIBLE:
inform (loc, " %qT is not trivially destructible", t1);
break;
+ case CPTK_IS_TRIVIALLY_RELOCATABLE:
+ inform (loc, " %qT is not trivially relocatable", t1);
+ break;
case CPTK_IS_UNBOUNDED_ARRAY:
inform (loc, " %qT is not an unbounded array", t1);
break;