r310038 - [mips] Fix typo (missed space) in the warning message

Simon Atanasyan via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 4 01:25:15 PDT 2017


Author: atanasyan
Date: Fri Aug  4 01:25:15 2017
New Revision: 310038

URL: http://llvm.org/viewvc/llvm-project?rev=310038&view=rev
Log:
[mips] Fix typo (missed space) in the warning message

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
    cfe/trunk/test/Driver/mips-gpopt-warning.c

Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=310038&r1=310037&r2=310038&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td Fri Aug  4 01:25:15 2017
@@ -282,7 +282,7 @@ def warn_target_unsupported_compact_bran
   " 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<

Modified: cfe/trunk/test/Driver/mips-gpopt-warning.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-gpopt-warning.c?rev=310038&r1=310037&r2=310038&view=diff
==============================================================================
--- cfe/trunk/test/Driver/mips-gpopt-warning.c (original)
+++ cfe/trunk/test/Driver/mips-gpopt-warning.c Fri Aug  4 01:25:15 2017
@@ -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




More information about the cfe-commits mailing list