[clang][NFC] Change diagnostic to start with lowercase letter

This commit is contained in:
Leonard Chan 2020-10-14 15:48:29 -07:00
parent e7b4feea8e
commit 8487bfd4e9
2 changed files with 3 additions and 3 deletions

View File

@ -525,5 +525,5 @@ def err_drv_invalid_object_mode : Error<"OBJECT_MODE setting %0 is not recognize
def err_drv_invalid_sve_vector_bits : Error<
"'-msve-vector-bits' is not supported without SVE enabled">;
def err_invalid_cxx_abi : Error<"Invalid C++ ABI name '%0'">;
def err_invalid_cxx_abi : Error<"invalid C++ ABI name '%0'">;
}

View File

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