From ff6af8bc21e7a2f79b98bf882f8f320f1f076ebb Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 18 Nov 2013 22:10:17 +0000 Subject: [PATCH] Remove period at end of "optimization level is unsupported" diagnostic llvm-svn: 195048 --- clang/include/clang/Basic/DiagnosticDriverKinds.td | 2 +- clang/test/Driver/clang_f_opts.c | 2 +- clang/test/Frontend/invalid-o-level.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/include/clang/Basic/DiagnosticDriverKinds.td b/clang/include/clang/Basic/DiagnosticDriverKinds.td index ee87353bdaaa..76d8c4aa7d66 100644 --- a/clang/include/clang/Basic/DiagnosticDriverKinds.td +++ b/clang/include/clang/Basic/DiagnosticDriverKinds.td @@ -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; -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; def warn_c_kext : Warning< "ignoring -fapple-kext which is valid for C++ and Objective-C++ only">; diff --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c index 3f3a8f6db077..8bf53e5e6dc3 100644 --- a/clang/test/Driver/clang_f_opts.c +++ b/clang/test/Driver/clang_f_opts.c @@ -111,7 +111,7 @@ // 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 \ diff --git a/clang/test/Frontend/invalid-o-level.c b/clang/test/Frontend/invalid-o-level.c index 1b5c51f65a5a..b9e01fcf00c0 100644 --- a/clang/test/Frontend/invalid-o-level.c +++ b/clang/test/Frontend/invalid-o-level.c @@ -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