]> granicus.if.org Git - clang/commitdiff
Don't put a note in the DiagGroup
authorSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 6 Jun 2011 20:30:15 +0000 (20:30 +0000)
committerSean Hunt <scshunt@csclub.uwaterloo.ca>
Mon, 6 Jun 2011 20:30:15 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132687 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td

index 38c011dcc5c2b59c6c8c4c532c662421fd27cdc8..54a094f68d5bfe3c198989eab2147071e408cf24 100644 (file)
@@ -1420,8 +1420,7 @@ def warn_default_arg_makes_ctor_special : Warning<
 def note_previous_declaration_special : Note<
   // The ERRORs are in hopes that if they occur, they'll get reported.
   "previous declaration was %select{*ERROR*|a copy constructor|a move "
-  "constructor|*ERROR*|*ERROR*|*ERROR*|not a special member function}0">,
-  InGroup<DefaultArgSpecialMember>;
+  "constructor|*ERROR*|*ERROR*|*ERROR*|not a special member function}0">;
 
 def err_use_of_default_argument_to_function_declared_later : Error<
   "use of default argument to function %0 that is declared later in class %1">;