[clang] [clang][RISCV] Fix RUN line and rename test name for pr129995 (PR #132676)

via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 23 23:32:37 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Brandon Wu (4vtomat)

<details>
<summary>Changes</summary>

ninja check-clang can not detect .cc suffix, so the typo is not
detected.


---
Full diff: https://github.com/llvm/llvm-project/pull/132676.diff


1 Files Affected:

- (renamed) clang/test/CodeGen/RISCV/issue-129995.cpp (+1-1) 


``````````diff
diff --git a/clang/test/CodeGen/RISCV/pr129995.cc b/clang/test/CodeGen/RISCV/issue-129995.cpp
similarity index 77%
rename from clang/test/CodeGen/RISCV/pr129995.cc
rename to clang/test/CodeGen/RISCV/issue-129995.cpp
index 590c6b9fbdf96..4cd60a854558e 100644
--- a/clang/test/CodeGen/RISCV/pr129995.cc
+++ b/clang/test/CodeGen/RISCV/issue-129995.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 triple riscv64 -emit-llvm -target-feature +m -target-feature +v -target-abi lp64d -o /dev/null %s
+// RUN: %clang_cc1 -triple riscv64 -emit-llvm -target-feature +m -target-feature +v -target-abi lp64d -o /dev/null %s
 
 struct a {
   using b = char __attribute__((vector_size(sizeof(char))));

``````````

</details>


https://github.com/llvm/llvm-project/pull/132676


More information about the cfe-commits mailing list