[clang] 7f00389 - [OpenCL] Fix grammar in test error messages; NFC
Sven van Haastregt via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 7 05:45:45 PDT 2023
Author: Sven van Haastregt
Date: 2023-08-07T13:45:23+01:00
New Revision: 7f00389e7792d585cdda615324ebc094fa3c4247
URL: https://github.com/llvm/llvm-project/commit/7f00389e7792d585cdda615324ebc094fa3c4247
DIFF: https://github.com/llvm/llvm-project/commit/7f00389e7792d585cdda615324ebc094fa3c4247.diff
LOG: [OpenCL] Fix grammar in test error messages; NFC
Added:
Modified:
clang/test/Headers/opencl-c-header.cl
Removed:
################################################################################
diff --git a/clang/test/Headers/opencl-c-header.cl b/clang/test/Headers/opencl-c-header.cl
index 15b52ec04e667b..7c4c673cf2ee07 100644
--- a/clang/test/Headers/opencl-c-header.cl
+++ b/clang/test/Headers/opencl-c-header.cl
@@ -233,46 +233,46 @@ global atomic_int z = ATOMIC_VAR_INIT(99);
#error "Incorrect cl_ext_float_atomics define"
#endif
#ifdef __opencl_c_ext_fp16_global_atomic_load_store
-#error "Incorrectly __opencl_c_ext_fp16_global_atomic_load_store defined"
+#error "Incorrect __opencl_c_ext_fp16_global_atomic_load_store define"
#endif
#ifdef __opencl_c_ext_fp16_local_atomic_load_store
-#error "Incorrectly __opencl_c_ext_fp16_local_atomic_load_store defined"
+#error "Incorrect __opencl_c_ext_fp16_local_atomic_load_store define"
#endif
#ifdef __opencl_c_ext_fp16_global_atomic_add
-#error "Incorrectly __opencl_c_ext_fp16_global_atomic_add defined"
+#error "Incorrect __opencl_c_ext_fp16_global_atomic_add define"
#endif
#ifdef __opencl_c_ext_fp32_global_atomic_add
-#error "Incorrectly __opencl_c_ext_fp32_global_atomic_add defined"
+#error "Incorrect __opencl_c_ext_fp32_global_atomic_add define"
#endif
#ifdef __opencl_c_ext_fp64_global_atomic_add
-#error "Incorrectly __opencl_c_ext_fp64_global_atomic_add defined"
+#error "Incorrect __opencl_c_ext_fp64_global_atomic_add define"
#endif
#ifdef __opencl_c_ext_fp16_local_atomic_add
-#error "Incorrectly __opencl_c_ext_fp16_local_atomic_add defined"
+#error "Incorrect __opencl_c_ext_fp16_local_atomic_add define"
#endif
#ifdef __opencl_c_ext_fp32_local_atomic_add
-#error "Incorrectly __opencl_c_ext_fp32_local_atomic_add defined"
+#error "Incorrect __opencl_c_ext_fp32_local_atomic_add define"
#endif
#ifdef __opencl_c_ext_fp64_local_atomic_add
-#error "Incorrectly __opencl_c_ext_fp64_local_atomic_add defined"
+#error "Incorrect __opencl_c_ext_fp64_local_atomic_add define"
#endif
#ifdef __opencl_c_ext_fp16_global_atomic_min_max
-#error "Incorrectly __opencl_c_ext_fp16_global_atomic_min_max defined"
+#error "Incorrect __opencl_c_ext_fp16_global_atomic_min_max define"
#endif
#ifdef __opencl_c_ext_fp32_global_atomic_min_max
-#error "Incorrectly __opencl_c_ext_fp32_global_atomic_min_max defined"
+#error "Incorrect __opencl_c_ext_fp32_global_atomic_min_max define"
#endif
#ifdef __opencl_c_ext_fp64_global_atomic_min_max
-#error "Incorrectly __opencl_c_ext_fp64_global_atomic_min_max defined"
+#error "Incorrect __opencl_c_ext_fp64_global_atomic_min_max define"
#endif
#ifdef __opencl_c_ext_fp16_local_atomic_min_max
-#error "Incorrectly __opencl_c_ext_fp16_local_atomic_min_max defined"
+#error "Incorrect __opencl_c_ext_fp16_local_atomic_min_max define"
#endif
#ifdef __opencl_c_ext_fp32_local_atomic_min_max
-#error "Incorrectly __opencl_c_ext_fp32_local_atomic_min_max defined"
+#error "Incorrect __opencl_c_ext_fp32_local_atomic_min_max define"
#endif
#ifdef __opencl_c_ext_fp64_local_atomic_min_max
-#error "Incorrectly __opencl_c_ext_fp64_local_atomic_min_max defined"
+#error "Incorrect __opencl_c_ext_fp64_local_atomic_min_max define"
#endif
#ifdef __opencl_c_ext_image_raw10_raw12
#error "Incorrect __opencl_c_ext_image_raw10_raw12 define"
More information about the cfe-commits
mailing list