summaryrefslogtreecommitdiff
path: root/polly/unittests
diff options
context:
space:
mode:
authorLogan Smith <logan.r.smith0@gmail.com>2020-07-21 17:48:36 -0700
committerLogan Smith <logan.r.smith0@gmail.com>2020-07-21 17:48:36 -0700
commit21c0b4c1e8d6a171899b31d072a47dac27258fc5 (patch)
tree2082b714e161a25e083b6ac740d84d602e50142c /polly/unittests
parent81d68ad27b29b1e6bc93807c6e42b14e9a77eade (diff)
downloadllvm-21c0b4c1e8d6a171899b31d072a47dac27258fc5.tar.gz
Disable -Wsuggest-override for all remaining unittests/ directories
Diffstat (limited to 'polly/unittests')
-rw-r--r--polly/unittests/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/polly/unittests/CMakeLists.txt b/polly/unittests/CMakeLists.txt
index fac70383de94..1a0584976cbb 100644
--- a/polly/unittests/CMakeLists.txt
+++ b/polly/unittests/CMakeLists.txt
@@ -19,6 +19,10 @@ function(add_polly_unittest test_name)
target_link_libraries(${test_name} PRIVATE Polly)
endfunction()
+if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
+ add_definitions("-Wno-suggest-override")
+endif()
+
add_subdirectory(Isl)
add_subdirectory(Flatten)
add_subdirectory(DeLICM)