[all-commits] [llvm/llvm-project] 29d375: [OpenCL][NFC] Improve OpenCL test file naming

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Wed Jan 6 06:17:23 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29d375f5ff27dc49c2c88c2ec1093cfcd826d449
      https://github.com/llvm/llvm-project/commit/29d375f5ff27dc49c2c88c2ec1093cfcd826d449
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    A clang/test/CodeGenOpenCL/vector_literals.cl
    R clang/test/CodeGenOpenCL/vector_literals_valid.cl
    A clang/test/CodeGenOpenCL/vector_shufflevector.cl
    R clang/test/CodeGenOpenCL/vector_shufflevector_valid.cl
    A clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
    A clang/test/SemaOpenCL/invalid-vector-literals.cl
    R clang/test/SemaOpenCL/pipes-1.2-negative.cl
    A clang/test/SemaOpenCL/vector-conv.cl
    R clang/test/SemaOpenCL/vector_conv_invalid.cl
    R clang/test/SemaOpenCL/vector_literals_invalid.cl
    A clang/test/SemaOpenCLCXX/invalid-kernel.cl
    R clang/test/SemaOpenCLCXX/kernel_invalid.cl

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list