OSDN Git Service
(root)
/
android-x86
/
external-llvm-project.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd4515
)
[lld] Disable -Wsuggest-override for unittests
author
Logan Smith
<logan.r.smith0@gmail.com>
Wed, 22 Jul 2020 00:40:26 +0000
(17:40 -0700)
committer
Logan Smith
<logan.r.smith0@gmail.com>
Wed, 22 Jul 2020 00:40:59 +0000
(17:40 -0700)
lld/unittests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lld/unittests/CMakeLists.txt
b/lld/unittests/CMakeLists.txt
index
84d35d4
..
3330f7c
100644
(file)
--- a/
lld/unittests/CMakeLists.txt
+++ b/
lld/unittests/CMakeLists.txt
@@
-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)