Skip to content

Commit a361aa5

Browse files
committed
[clang] Disable -Wsuggest-override for unittests/
1 parent b907ad5 commit a361aa5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/unittests/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ if(CLANG_BUILT_STANDALONE)
1010
endif()
1111
endif()
1212

13+
if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
14+
add_definitions("-Wno-suggest-override")
15+
endif()
16+
1317
# add_clang_unittest(test_dirname file1.cpp file2.cpp)
1418
#
1519
# Will compile the list of files together and link against the clang

0 commit comments

Comments
 (0)