aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorLogan Smith <logan.r.smith0@gmail.com>2020-07-27 08:37:01 -0700
committerLogan Smith <logan.r.smith0@gmail.com>2020-07-27 08:37:01 -0700
commita52aea0ba624fcf46602bff8463b7b831e87ba55 (patch)
tree33ebbe885950f3fbf3065765f6c5b2c934aa6cd7 /lldb/source/Commands/CommandObjectCommands.cpp
parent48c948abeb7dd8a2d022749d1cc1561ddc45d8dc (diff)
downloadllvm-a52aea0ba624fcf46602bff8463b7b831e87ba55.zip
llvm-a52aea0ba624fcf46602bff8463b7b831e87ba55.tar.gz
llvm-a52aea0ba624fcf46602bff8463b7b831e87ba55.tar.bz2
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions