[cmake] do not set execution permission to regular files.
authorSinan Lin <sinan.lin@linux.alibaba.com>
Mon, 5 Sep 2022 14:00:00 +0000 (22:00 +0800)
committerLin Sinan <linsinan.lsn@alibaba-inc.com>
Wed, 7 Sep 2022 03:04:12 +0000 (11:04 +0800)
commit73593145cb5b6bbb474e2c53153aabdb362731d5
tree58c900fc0907713336e0c699e928e439ac044c63
parente3434a862797e74b0b54559366eaaeb137fa2ff7
[cmake] do not set execution permission to regular files.

some regular files(e.g. files have no shebang and no execute
bit in source dir) are wrongly assigned an execution permission,
such as scanview.css and ear.c from libscanbuild, which is
unnecessary and introduces warnings in some envs.

Reviewed By: MaskRay, phosek

Differential Revision: https://reviews.llvm.org/D133308
clang-tools-extra/clang-include-fixer/tool/CMakeLists.txt
clang/CMakeLists.txt
clang/tools/clang-format/CMakeLists.txt
clang/tools/clang-rename/CMakeLists.txt
clang/tools/scan-build-py/CMakeLists.txt