arg = require_complete_type (arg);
- if (arg != error_mark_node\r
- && !pod_type_p (TREE_TYPE (arg)))\r
- {\r
- /* Undefined behavior [expr.call] 5.2.2/7. We used to just warn\r
- here and do a bitwise copy, but now cp_expr_size will abort if we\r
- try to do that.\r
- If the call appears in the context of a sizeof expression,\r
- there is no need to emit a warning, since the expression won't be\r
- evaluated. We keep the builtin_trap just as a safety check. */\r
- if (!skip_evaluation)\r
- warning ("cannot pass objects of non-POD type `%#T' through `...'; "\r
- "call will abort at runtime", TREE_TYPE (arg));\r
- arg = call_builtin_trap ();\r
- }\r
+ if (arg != error_mark_node
+ && !pod_type_p (TREE_TYPE (arg)))
+ {
+ /* Undefined behavior [expr.call] 5.2.2/7. We used to just warn
+ here and do a bitwise copy, but now cp_expr_size will abort if we
+ try to do that.
+ If the call appears in the context of a sizeof expression,
+ there is no need to emit a warning, since the expression won't be
+ evaluated. We keep the builtin_trap just as a safety check. */
+ if (!skip_evaluation)
+ warning ("cannot pass objects of non-POD type `%#T' through `...'; "
+ "call will abort at runtime", TREE_TYPE (arg));
+ arg = call_builtin_trap ();
+ }
return arg;
}
}
if (old || TREE_CODE (decl) == TEMPLATE_DECL
- /* If it's a using declaration, we always need to build an OVERLOAD,\r
- because it's the only way to remember that the declaration comes\r
- from 'using', and have the lookup behave correctly. */\r
- || (flags & PUSH_USING))\r
+ /* If it's a using declaration, we always need to build an OVERLOAD,
+ because it's the only way to remember that the declaration comes
+ from 'using', and have the lookup behave correctly. */
+ || (flags & PUSH_USING))
{
if (old && TREE_CODE (old) != OVERLOAD)
new_binding = ovl_cons (decl, ovl_cons (old, NULL_TREE));
warning ("possible problem detected in invocation of "
"delete operator:");
cxx_incomplete_type_diagnostic (addr, type, 1);
- inform ("neither the destructor nor the class-specific "\r
- "operator delete will be called, even if they are "\r
+ inform ("neither the destructor nor the class-specific "
+ "operator delete will be called, even if they are "
"declared when the class is defined.");
complete_p = false;
}