Home | History | Annotate | Download | only in cp

Lines Matching defs:assertion

11186 /* Build a STATIC_ASSERT for a static assertion with the condition
11188 of the static assertion in the source code. When MEMBER_P, this
11189 static assertion is a member of a class. If SHOW_EXPR_P is true,
11211 tree assertion;
11213 assertion = make_node (STATIC_ASSERT);
11214 STATIC_ASSERT_CONDITION (assertion) = condition;
11215 STATIC_ASSERT_MESSAGE (assertion) = message;
11216 STATIC_ASSERT_SOURCE_LOCATION (assertion) = location;
11220 assertion,
11223 add_stmt (assertion);
11259 error_at (cloc, "static assertion failed");
11261 error_at (cloc, "static assertion failed: %s",
11282 error ("non-constant condition for static assertion");