Home | History | Annotate | Download | only in cp

Lines Matching defs:trivial

7443 	       with a non-trivial destructor or a (possibly multi-dimensional)
8420 /* Converting integer to real isn't a trivial conversion, either. */
8556 whether it has trivial copy or not. */
8562 with a non-trivial copy constructor or a non-trivial destructor
8583 copy constructor is trivial but not callable. */
8957 /* A trivial copy is OK. */
9129 /* Call the trivial destructor for INSTANCE, which can be either an lvalue of
9153 /* A trivial destructor should still clobber the object. */
9719 bool trivial = trivial_fn_p (fn);
9768 else if (!trivial)
9784 ctor is trivial, do a bitwise copy with a simple TARGET_EXPR for a
9790 else if (trivial)
9793 else if ((trivial || TREE_CODE (arg) == TARGET_EXPR)
9876 /* Warn if the built-in writes to an object of a non-trivial type. */
10026 /* Return the DECL of the first non-trivial subobject of class TYPE
10038 class TYPE are trivial and at least one of them is not deleted and,
10040 HASASSIGN to true when the TYPE has a (not necessarily trivial)
10076 /* Return true if they're all trivial and one of the expressions
10085 trivial and at least one of them is not deleted and, when ACCESS is
10087 to true when the TYPE has a (not necessarily trivial) default and copy
10130 like) trivial or standard layout type with a non-deleted assignment
10132 references, virtual table pointers, and bypassing non-trivial
10162 type. If so, and if the class has no non-trivial bases or members,
10178 /* True if the class is trivial. */
10179 bool trivial = trivial_type_p (desttype);
10184 are all trivial (and not deleted) and at least one of them is
10193 trivial (and not deleted) and at least one of them is accessible. */
10197 tree fld = trivial ? first_non_public_field (desttype) : NULL_TREE;
10211 /* Diagnose setting non-copy-assignable or non-trivial types,
10222 "no trivial copy-assignment");
10223 else if (!trivial)
10224 warnfmt = G_("%qD writing to an object of non-trivial type %#qT%s");
10242 /* Similarly to the above, diagnose clearing non-trivial or non-
10257 "no trivial copy-assignment%s");
10258 else if (!trivial)
10259 warnfmt = G_("%qD clearing an object of non-trivial type %#qT%s");
10289 warnfmt = G_("%qD writing to an object of type %#qT with no trivial "
10297 else if (!trivial
10303 /* Warn when copying into a non-trivial object from an object
10306 "%qD copying an object of non-trivial type "
10323 else if (!trivial && vec_safe_length (args) > 2)
10338 "a non-trivial type %#qT leaves %wu "
10341 "a non-trivial type %#qT leaves %wu "
10358 else if (!trivial)
10365 "%qD moving an object of non-trivial type "
12944 /* Any reference temp has a non-trivial initializer. */