[clang] d7f846f - Fix a Clang diagnostic to start with a lowercase letter; NFC
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 1 14:03:40 PDT 2021
Author: Aaron Ballman
Date: 2021-06-01T17:03:31-04:00
New Revision: d7f846fc6be14539fb0f5223eb08cb2235759897
URL: https://github.com/llvm/llvm-project/commit/d7f846fc6be14539fb0f5223eb08cb2235759897
DIFF: https://github.com/llvm/llvm-project/commit/d7f846fc6be14539fb0f5223eb08cb2235759897.diff
LOG: Fix a Clang diagnostic to start with a lowercase letter; NFC
Added:
Modified:
clang/include/clang/Basic/DiagnosticParseKinds.td
clang/test/Sema/ms-inline-asm-invalid-arch.c
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/DiagnosticParseKinds.td b/clang/include/clang/Basic/DiagnosticParseKinds.td
index fe6e4206a9223..c99ce6dfa2461 100644
--- a/clang/include/clang/Basic/DiagnosticParseKinds.td
+++ b/clang/include/clang/Basic/DiagnosticParseKinds.td
@@ -21,7 +21,7 @@ let CategoryName = "Inline Assembly Issue" in {
def err_asm_empty : Error<"__asm used with no assembly instructions">;
def err_inline_ms_asm_parsing : Error<"%0">;
def err_msasm_unsupported_arch : Error<
- "Unsupported architecture '%0' for MS-style inline assembly">;
+ "unsupported architecture '%0' for MS-style inline assembly">;
def err_msasm_unable_to_create_target : Error<
"MS-style inline assembly is not available: %0">;
def err_gnu_inline_asm_disabled : Error<
diff --git a/clang/test/Sema/ms-inline-asm-invalid-arch.c b/clang/test/Sema/ms-inline-asm-invalid-arch.c
index 0870fcb2a799b..341b845a26a0e 100644
--- a/clang/test/Sema/ms-inline-asm-invalid-arch.c
+++ b/clang/test/Sema/ms-inline-asm-invalid-arch.c
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 %s -triple powerpc64-unknown-linux-gnu -fasm-blocks -verify -fsyntax-only
void f() {
- __asm nop // expected-error {{Unsupported architecture 'powerpc64' for MS-style inline assembly}}
+ __asm nop // expected-error {{unsupported architecture 'powerpc64' for MS-style inline assembly}}
}
More information about the cfe-commits
mailing list