]> granicus.if.org Git - clang/commitdiff
Remove period at end of "optimization level is unsupported" diagnostic
authorHans Wennborg <hans@hanshq.net>
Mon, 18 Nov 2013 22:10:17 +0000 (22:10 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 18 Nov 2013 22:10:17 +0000 (22:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195048 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticDriverKinds.td
test/Driver/clang_f_opts.c
test/Frontend/invalid-o-level.c

index ee87353bdaaac32bd86fc3e232e7af3bed215e97..76d8c4aa7d66f72ed6563c9943ce90ec1c546d1f 100644 (file)
@@ -113,7 +113,7 @@ def err_drv_unknown_toolchain : Error<
   "cannot recognize the type of the toolchain">;
 
 def warn_O4_is_O3 : Warning<"-O4 is equivalent to -O3">, InGroup<Deprecated>;
-def warn_drv_optimization_value : Warning<"optimization level '%0' is unsupported; using '%1%2' instead.">,
+def warn_drv_optimization_value : Warning<"optimization level '%0' is unsupported; using '%1%2' instead">,
   InGroup<InvalidCommandLineArgument>;
 def warn_c_kext : Warning<
   "ignoring -fapple-kext which is valid for C++ and Objective-C++ only">;
index 3f3a8f6db077ee7b54cb4267078f64111ddbc701..8bf53e5e6dc38c96c2ae93c3041467a5de1490fc 100644 (file)
 // CHECK-MAX-O: -O3
 
 // RUN: %clang -S -O20 -o /dev/null %s 2>&1 | FileCheck -check-prefix=CHECK-INVALID-O %s
-// CHECK-INVALID-O: warning: optimization level '-O20' is unsupported; using '-O3' instead.
+// CHECK-INVALID-O: warning: optimization level '-O20' is unsupported; using '-O3' instead
 
 // Test that we don't error on these.
 // RUN: %clang -### -S -Werror                                                \
index 1b5c51f65a5a1ff1515a77959593918a7996ca7f..b9e01fcf00c0d2f32ba6682b6fe0025060b72cb3 100644 (file)
@@ -1,4 +1,4 @@
 // RUN: %clang_cc1 %s -O900 -o /dev/null 2> %t.log
 // RUN: FileCheck %s -input-file=%t.log
 
-// CHECK: warning: optimization level '-O900' is unsupported; using '-O3' instead.
+// CHECK: warning: optimization level '-O900' is unsupported; using '-O3' instead