[PATCH] D84213: [clang-tools-extra] Disable -Wsuggest-override for unittests/
Logan Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 21 09:13:32 PDT 2020
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84213.279553.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200721/204a2948/attachment.bin>
More information about the cfe-commits
mailing list