diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td index d461e5e4ee549f45ed6853cd5740a3cf1b0fa96e..529a8da93cb6c851a75d2200026a990b6e6770ab 100644 --- a/include/clang/Basic/DiagnosticDriverKinds.td +++ b/include/clang/Basic/DiagnosticDriverKinds.td @@ -282,7 +282,7 @@ def warn_target_unsupported_compact_branches : Warning< " support it">, InGroup<UnsupportedCB>; def warn_drv_unsupported_gpopt : Warning< "ignoring '-mgpopt' option as it cannot be used with %select{|the implicit" - " usage of}0-mabicalls">, + " usage of }0-mabicalls">, InGroup<UnsupportedGPOpt>; def warn_drv_unable_to_find_directory_expected : Warning< diff --git a/test/Driver/mips-gpopt-warning.c b/test/Driver/mips-gpopt-warning.c index a8ab887939ea54e411604ea5ce94c177f887c16e..b6677413729f26ae2979cd4b1b27991914d82af1 100644 --- a/test/Driver/mips-gpopt-warning.c +++ b/test/Driver/mips-gpopt-warning.c @@ -1,6 +1,6 @@ // REQUIRES: mips-registered-target // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt 2>&1 | FileCheck -check-prefix=IMPLICIT %s -// IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of-mabicalls +// IMPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with the implicit usage of -mabicalls // RUN: %clang -### -c -target mips-mti-elf %s -mgpopt -mabicalls 2>&1 | FileCheck -check-prefix=EXPLICIT %s // EXPLICIT: warning: ignoring '-mgpopt' option as it cannot be used with -mabicalls