From: Brad Smith Date: Sun, 18 Nov 2018 22:30:58 +0000 (+0000) Subject: Replace the UTF-8 characters in the error message. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b676d6a2adadf9edda8b84266e5a65dec7ac929a;p=clang Replace the UTF-8 characters in the error message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347178 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td index 5d4a2264e7..d33c989ed1 100644 --- a/include/clang/Basic/DiagnosticDriverKinds.td +++ b/include/clang/Basic/DiagnosticDriverKinds.td @@ -357,7 +357,7 @@ def warn_drv_unsupported_pic_with_mabicalls : Warning< "%select{implicit usage of|}1 -mabicalls and the N64 ABI">, InGroup; 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< diff --git a/test/Driver/mips-abicalls-error.c b/test/Driver/mips-abicalls-error.c index 10f7201bdb..03ef68b02d 100644 --- a/test/Driver/mips-abicalls-error.c +++ b/test/Driver/mips-abicalls-error.c @@ -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'