This revision was automatically updated to reflect the committed changes. Closed by commit rGfa42b7cf2949: [clang-tools-extra] Disable -Wsuggest-override for unittests/ (authored by logan-5).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D84213/new/ https://reviews.llvm.org/D84213 Files: clang-tools-extra/unittests/CMakeLists.txt Index: clang-tools-extra/unittests/CMakeLists.txt =================================================================== --- clang-tools-extra/unittests/CMakeLists.txt +++ clang-tools-extra/unittests/CMakeLists.txt @@ -5,6 +5,10 @@ add_unittest(ExtraToolsUnitTests ${test_dirname} ${ARGN}) endfunction() +if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG) + add_definitions("-Wno-suggest-override") +endif() + add_subdirectory(clang-apply-replacements) add_subdirectory(clang-change-namespace) add_subdirectory(clang-doc)
Index: clang-tools-extra/unittests/CMakeLists.txt =================================================================== --- clang-tools-extra/unittests/CMakeLists.txt +++ clang-tools-extra/unittests/CMakeLists.txt @@ -5,6 +5,10 @@ add_unittest(ExtraToolsUnitTests ${test_dirname} ${ARGN}) endfunction() +if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG) + add_definitions("-Wno-suggest-override") +endif() + add_subdirectory(clang-apply-replacements) add_subdirectory(clang-change-namespace) add_subdirectory(clang-doc)
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits