r347178 - Replace the UTF-8 characters in the error message.

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 18 14:30:59 PST 2018


Author: brad
Date: Sun Nov 18 14:30:58 2018
New Revision: 347178

URL: http://llvm.org/viewvc/llvm-project?rev=347178&view=rev
Log:
Replace the UTF-8 characters in the error message.

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

Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=347178&r1=347177&r2=347178&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td Sun Nov 18 14:30:58 2018
@@ -357,7 +357,7 @@ def warn_drv_unsupported_pic_with_mabica
   "%select{implicit usage of|}1 -mabicalls and the N64 ABI">,
   InGroup<OptionIgnored>;
 def err_drv_unsupported_noabicalls_pic : Error<
-  "position-independent code requires ‘-mabicalls’">;
+  "position-independent code requires '-mabicalls'">;
 def err_drv_unsupported_indirect_jump_opt : Error<
   "'-mindirect-jump=%0' is unsupported with the '%1' architecture">;
 def err_drv_unknown_indirect_jump_opt : Error<

Modified: cfe/trunk/test/Driver/mips-abicalls-error.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-abicalls-error.c?rev=347178&r1=347177&r2=347178&view=diff
==============================================================================
--- cfe/trunk/test/Driver/mips-abicalls-error.c (original)
+++ cfe/trunk/test/Driver/mips-abicalls-error.c Sun Nov 18 14:30:58 2018
@@ -1,2 +1,2 @@
 // RUN: not %clang -c -target mips64-linux-gnu -fPIC -mno-abicalls %s 2>&1 | FileCheck %s
-// CHECK: error: position-independent code requires ‘-mabicalls’
+// CHECK: error: position-independent code requires '-mabicalls'




More information about the cfe-commits mailing list