зеркало из https://github.com/microsoft/clang.git
Don't put a note in the DiagGroup
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132687 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
8e1b80c692
Коммит
7f4afa55bb
|
@ -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">;
|
||||
|
|
Загрузка…
Ссылка в новой задаче