forked from OSchip/llvm-project
[lld] Disable -Wsuggest-override for unittests
This commit is contained in:
parent
abd45154bd
commit
81d68ad27b
|
@ -12,5 +12,9 @@ function(add_lld_unittest test_dirname)
|
|||
target_link_libraries(${test_dirname} ${LLVM_COMMON_LIBS})
|
||||
endfunction()
|
||||
|
||||
if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
|
||||
add_definitions("-Wno-suggest-override")
|
||||
endif()
|
||||
|
||||
add_subdirectory(DriverTests)
|
||||
add_subdirectory(MachOTests)
|
||||
|
|
Loading…
Reference in New Issue