Skip to content

Commit 8487bfd

Browse files
committed
[clang][NFC] Change diagnostic to start with lowercase letter
1 parent e7b4fee commit 8487bfd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/include/clang/Basic/DiagnosticDriverKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,5 +525,5 @@ def err_drv_invalid_object_mode : Error<"OBJECT_MODE setting %0 is not recognize
525525
def err_drv_invalid_sve_vector_bits : Error<
526526
"'-msve-vector-bits' is not supported without SVE enabled">;
527527

528-
def err_invalid_cxx_abi : Error<"Invalid C++ ABI name '%0'">;
528+
def err_invalid_cxx_abi : Error<"invalid C++ ABI name '%0'">;
529529
}

clang/test/Frontend/invalid-cxx-abi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

1313
// RUN: not %clang_cc1 -fc++-abi=InvalidABI %s 2>&1 | FileCheck %s -check-prefix=INVALID
1414
// RUN: not %clang_cc1 -fc++-abi=Fuchsia %s 2>&1 | FileCheck %s -check-prefix=CASE-SENSITIVE
15-
// INVALID: error: Invalid C++ ABI name 'InvalidABI'
16-
// CASE-SENSITIVE: error: Invalid C++ ABI name 'Fuchsia'
15+
// INVALID: error: invalid C++ ABI name 'InvalidABI'
16+
// CASE-SENSITIVE: error: invalid C++ ABI name 'Fuchsia'

0 commit comments

Comments
 (0)