[all-commits] [llvm/llvm-project] 388c9f: Try enabling -Wsuggest-override again, using add_c...

kepler-5 via All-commits all-commits at lists.llvm.org
Wed Jul 22 14:20:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 388c9fb1af48b059d8b65cb2e002e0992d147aa5
      https://github.com/llvm/llvm-project/commit/388c9fb1af48b059d8b65cb2e002e0992d147aa5
  Author: Logan Smith <logan.r.smith0 at gmail.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    M clang-tools-extra/unittests/CMakeLists.txt
    M clang/unittests/CMakeLists.txt
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake
    M compiler-rt/cmake/config-ix.cmake
    M flang/unittests/CMakeLists.txt
    M libcxx/CMakeLists.txt
    M libcxxabi/CMakeLists.txt
    M lld/unittests/CMakeLists.txt
    M lldb/unittests/CMakeLists.txt
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/lib/Testing/Support/CMakeLists.txt
    M llvm/unittests/CMakeLists.txt
    M llvm/utils/benchmark/CMakeLists.txt
    M llvm/utils/unittest/CMakeLists.txt
    M mlir/unittests/CMakeLists.txt
    M parallel-libs/acxxel/CMakeLists.txt
    M polly/unittests/CMakeLists.txt

  Log Message:
  -----------
  Try enabling -Wsuggest-override again, using add_compile_options instead of add_compile_definitions for disabling it in unittests/ directories.

Using add_compile_definitions caused the flag to be passed to rc.exe on Windows and thus broke Windows builds.




More information about the All-commits mailing list