[CMake] Remove dead code setting policies to NEW

cmake_minimum_required(VERSION) calls cmake_policy(VERSION),
which sets all policies up to VERSION to NEW.
LLVM started requiring CMake 3.13 last year, so we can remove
a bunch of code setting policies prior to 3.13 to NEW as it
no longer has any effect.

Reviewed By: phosek, #libunwind, #libc, #libc_abi, ldionne

Differential Revision: https://reviews.llvm.org/D94374

GitOrigin-RevId: 480643a95cd157e654f4f97e8231b18850e7d79a
1 file changed
tree: 0dd174f9ddf5fd46858f6c30b1ef4838a16b757b
  1. .clang-format
  2. CMakeLists.txt
  4. cmake/
  5. docs/
  6. include/
  7. src/
  8. test/