Skip to content

Commit dae1754

Browse files
committed
Reword diagnostic for style; NFC
Clang diagnostics do not start with a capital letter.
1 parent 7f9b068 commit dae1754

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
@@ -135,7 +135,7 @@ def err_drv_invalid_unwindlib_name : Error<
135135
def err_drv_incompatible_unwindlib : Error<
136136
"--rtlib=libgcc requires --unwindlib=libgcc">;
137137
def err_drv_incompatible_options : Error<
138-
"The combination of '%0' and '%1' is incompatible">;
138+
"the combination of '%0' and '%1' is incompatible">;
139139
def err_drv_invalid_stdlib_name : Error<
140140
"invalid library name in argument '%0'">;
141141
def err_drv_invalid_output_with_multiple_archs : Error<

clang/test/Driver/openmp-offload-jit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fopenmp=libomp -fno-offload-lto \
4747
// RUN: -fopenmp-targets=nvptx64-nvidia-cuda -fopenmp-target-jit %s 2>&1 \
4848
// RUN: | FileCheck -check-prefix=NO-LTO %s
49-
// NO-LTO: error: The combination of '-fno-offload-lto' and '-fopenmp-target-jit' is incompatible
49+
// NO-LTO: error: the combination of '-fno-offload-lto' and '-fopenmp-target-jit' is incompatible
5050

5151
// RUN: %clang -### --target=x86_64-unknown-linux-gnu -fopenmp=libomp -foffload-lto=thin \
5252
// RUN: -fopenmp-targets=nvptx64-nvidia-cuda -fopenmp-target-jit %s 2>&1 \
5353
// RUN: | FileCheck -check-prefix=THIN-LTO %s
54-
// THIN-LTO: error: The combination of '-foffload-lto=' and '-fopenmp-target-jit' is incompatible
54+
// THIN-LTO: error: the combination of '-foffload-lto=' and '-fopenmp-target-jit' is incompatible

0 commit comments

Comments
 (0)