llvm-project/polly/unittests
Logan Smith a52aea0ba6 Use INTERFACE_COMPILE_OPTIONS to disable -Wsuggest-override for any target that links to gtest
This cleans up several CMakeLists.txt's where -Wno-suggest-override was manually specified. These test targets now inherit this flag from the gtest target.

Some unittests CMakeLists.txt's, in particular Flang and LLDB, are not touched by this patch. Flang manually adds the gtest sources itself in some configurations, rather than linking to LLVM's gtest target, so this fix would be insufficient to cover those cases. Similarly, LLDB has subdirectories that manually add the gtest headers to their include path without linking to the gtest target, so those subdirectories still need -Wno-suggest-override to be manually specified to compile without warnings.

Differential Revision: https://reviews.llvm.org/D84554
2020-07-27 08:37:01 -07:00
..
DeLICM Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Flatten Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Isl Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScheduleOptimizer Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScopPassManager Make Polly tests dependencies explicit 2020-05-04 08:06:39 +02:00
Support Add missing namespace specifier 2018-06-29 11:49:34 +00:00
CMakeLists.txt Use INTERFACE_COMPILE_OPTIONS to disable -Wsuggest-override for any target that links to gtest 2020-07-27 08:37:01 -07:00