Lines Matching refs:trivial
396 /* True iff CTYPE has a trivial SFK. */
424 /* Note that CTYPE has a non-trivial SFK even though we previously thought
425 it was trivial. */
456 /* True iff FN is a trivial defaulted member function ([cd]tor, op=). */
677 bool trivial = trivial_fn_p (fndecl);
683 if (trivial)
800 bool trivial = trivial_fn_p (fndecl);
806 if (trivial
810 else if (trivial)
2040 return it if it calls something other than a trivial special member
2164 is_xible_helper (enum tree_code code, tree to, tree from, bool trivial)
2175 else if (trivial && from && TREE_CHAIN (from)
2177 return error_mark_node; // only 0- and 1-argument ctors can be trivial
2193 tree expr = is_xible_helper (code, to, from, /*trivial*/true);
2207 tree expr = is_xible_helper (code, to, from, /*trivial*/false);
2220 tree expr = is_xible_helper (code, to, from, /*trivial*/false);
2274 error ("union member %q+D with non-trivial %qD", arg, fn);
2615 be trivial but deleted or otherwise not callable. So we can't exit
2618 resolution, so a constructor can be trivial even if it would otherwise
2619 call a non-trivial constructor. */
2628 /* A trivial constructor doesn't have any NSDMI. */
2672 "defaulted move assignment for %qT calls a non-trivial "
2917 bool trivial, constexpr_, deleted;
2920 false, &spec, &trivial, &deleted, &constexpr_,
3095 /* A trivial copy/move constructor is also a constexpr constructor,
3221 /* Warn about calling a non-trivial move assignment in a virtual base. */