|
@@ -5314,12 +5314,13 @@ def note_add_initializer : Note<
|
|
|
"add an explicit initializer to initialize %0">;
|
|
|
def err_delete_operand : Error<"cannot delete expression of type %0">;
|
|
|
def ext_delete_void_ptr_operand : ExtWarn<
|
|
|
- "cannot delete expression with pointer-to-'void' type %0">;
|
|
|
+ "cannot delete expression with pointer-to-'void' type %0">,
|
|
|
+ InGroup<DeleteIncomplete>;
|
|
|
def err_ambiguous_delete_operand : Error<
|
|
|
"ambiguous conversion of delete expression of type %0 to a pointer">;
|
|
|
def warn_delete_incomplete : Warning<
|
|
|
"deleting pointer to incomplete type %0 may cause undefined behavior">,
|
|
|
- InGroup<DiagGroup<"delete-incomplete">>;
|
|
|
+ InGroup<DeleteIncomplete>;
|
|
|
def err_delete_incomplete_class_type : Error<
|
|
|
"deleting incomplete class type %0; no conversions to pointer type">;
|
|
|
def err_delete_explicit_conversion : Error<
|