[libcxx-commits] [libcxxabi] [libcxxabi] Fix user prompt in cp-to-llvm.sh. (PR #114268)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 30 10:13:18 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxxabi

Author: Ryan Mansfield (rjmansfield)

<details>
<summary>Changes</summary>

User prompt wasn't listing the files to be copied.

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


1 Files Affected:

- (modified) libcxxabi/src/demangle/cp-to-llvm.sh (+1-1) 


``````````diff
diff --git a/libcxxabi/src/demangle/cp-to-llvm.sh b/libcxxabi/src/demangle/cp-to-llvm.sh
index cfe32c228e65d4..f8b3585a5fa377 100755
--- a/libcxxabi/src/demangle/cp-to-llvm.sh
+++ b/libcxxabi/src/demangle/cp-to-llvm.sh
@@ -18,7 +18,7 @@ if [[ ! -d "$LLVM_DEMANGLE_DIR" ]]; then
     exit 1
 fi
 
-read -p "This will overwrite the copies of $FILES in $LLVM_DEMANGLE_DIR; are you sure? [y/N]" -n 1 -r ANSWER
+read -p "This will overwrite the copies of $HDRS in $LLVM_DEMANGLE_DIR; are you sure? [y/N]" -n 1 -r ANSWER
 echo
 
 if [[ $ANSWER =~ ^[Yy]$ ]]; then

``````````

</details>


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


More information about the libcxx-commits mailing list