[PATCH] D118008: [demangler] write-protect non-canonical source
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 23 18:16:06 PST 2022
ChuanqiXu added inline comments.
================
Comment at: libcxxabi/src/demangle/cp-to-llvm.sh:28-33
+ rm -f $LLVM_DEMANGLE_DIR/$I
+ cat - $I >$LLVM_DEMANGLE_DIR/$I <<EOF
+// Do not edit! -*- read-only -*-
+// See README.txt for instructions
+EOF
+ chmod -w $LLVM_DEMANGLE_DIR/$I
----------------
Is the indentation proper?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118008/new/
https://reviews.llvm.org/D118008
More information about the llvm-commits
mailing list