I added -Wsuggest-override to the LLVM build earlier today, and have been putting out small fires I caused since then. One sticky area here has been directories that have files that include googlemock and/or googletest headers, which unfortunately do not themselves use override, so I've had to add -Wno-suggest-override to the CMakeLists.txt's in those directories. This patch adds this same flag to CMakeLists.txt in clang-tools-extra/unittests. I just wanted to get the LGTM from one or more of you fine folks before I committed it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo