Author: Sven van Haastregt Date: 2021-01-06T14:16:44Z New Revision: 29d375f5ff27dc49c2c88c2ec1093cfcd826d449
URL: https://github.com/llvm/llvm-project/commit/29d375f5ff27dc49c2c88c2ec1093cfcd826d449 DIFF: https://github.com/llvm/llvm-project/commit/29d375f5ff27dc49c2c88c2ec1093cfcd826d449.diff LOG: [OpenCL][NFC] Improve OpenCL test file naming Change "negative" into "invalid" and put "invalid" at the beginning of the file name, following the bulk of the invalid tests in the SemaOpenCL directory. Use the "invalid-" prefix only for tests that contain only invalid constructs. Drop the "valid" suffix for CodeGen tests, as inputs in this directory are supposed to be valid anyway. Added: clang/test/CodeGenOpenCL/vector_literals.cl clang/test/CodeGenOpenCL/vector_shufflevector.cl clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl clang/test/SemaOpenCL/invalid-vector-literals.cl clang/test/SemaOpenCL/vector-conv.cl clang/test/SemaOpenCLCXX/invalid-kernel.cl Modified: Removed: clang/test/CodeGenOpenCL/vector_literals_valid.cl clang/test/CodeGenOpenCL/vector_shufflevector_valid.cl clang/test/SemaOpenCL/pipes-1.2-negative.cl clang/test/SemaOpenCL/vector_conv_invalid.cl clang/test/SemaOpenCL/vector_literals_invalid.cl clang/test/SemaOpenCLCXX/kernel_invalid.cl ################################################################################ diff --git a/clang/test/CodeGenOpenCL/vector_literals_valid.cl b/clang/test/CodeGenOpenCL/vector_literals.cl similarity index 100% rename from clang/test/CodeGenOpenCL/vector_literals_valid.cl rename to clang/test/CodeGenOpenCL/vector_literals.cl diff --git a/clang/test/CodeGenOpenCL/vector_shufflevector_valid.cl b/clang/test/CodeGenOpenCL/vector_shufflevector.cl similarity index 100% rename from clang/test/CodeGenOpenCL/vector_shufflevector_valid.cl rename to clang/test/CodeGenOpenCL/vector_shufflevector.cl diff --git a/clang/test/SemaOpenCL/pipes-1.2-negative.cl b/clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl similarity index 100% rename from clang/test/SemaOpenCL/pipes-1.2-negative.cl rename to clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl diff --git a/clang/test/SemaOpenCL/vector_literals_invalid.cl b/clang/test/SemaOpenCL/invalid-vector-literals.cl similarity index 100% rename from clang/test/SemaOpenCL/vector_literals_invalid.cl rename to clang/test/SemaOpenCL/invalid-vector-literals.cl diff --git a/clang/test/SemaOpenCL/vector_conv_invalid.cl b/clang/test/SemaOpenCL/vector-conv.cl similarity index 100% rename from clang/test/SemaOpenCL/vector_conv_invalid.cl rename to clang/test/SemaOpenCL/vector-conv.cl diff --git a/clang/test/SemaOpenCLCXX/kernel_invalid.cl b/clang/test/SemaOpenCLCXX/invalid-kernel.cl similarity index 100% rename from clang/test/SemaOpenCLCXX/kernel_invalid.cl rename to clang/test/SemaOpenCLCXX/invalid-kernel.cl _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits