[clang] Disable -Wsuggest-override for unittests/

This commit is contained in:
Logan Smith 2020-07-21 16:38:35 -07:00
parent b907ad539a
commit a361aa5249
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@ if(CLANG_BUILT_STANDALONE)
endif()
endif()
if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
add_definitions("-Wno-suggest-override")
endif()
# add_clang_unittest(test_dirname file1.cpp file2.cpp)
#
# Will compile the list of files together and link against the clang