Try to fix the nightly clang-tidy-9 build
commitac2161005c658e06c05bd242a2009578ee8e2347
authorAndrey Alekseenko <al42and@gmail.com>
Fri, 9 Oct 2020 14:23:34 +0000 (9 14:23 +0000)
committerArtem Zhmurov <zhmurov@gmail.com>
Fri, 9 Oct 2020 14:23:34 +0000 (9 14:23 +0000)
tree0edf56a3abfeb6437b058b1d1160274b477547e7
parent457e3d820e7e0e388d50d04f81a6267eb236e3aa
Try to fix the nightly clang-tidy-9 build

It appears that some of the `#ifdef __clang_analyzer__` patches in
gtest/gmock are now messing up with clang-tidy.
Probably related to https://reviews.llvm.org/D46325?

Here, we remove some of these special handlings of clang-analyzer, and
add a couple of more gentle NOLINT's. Since apparently we already had
patches in our copy of googletest, I don't feel bad about it.

Appears to work fine locally with clang-tidy-9.
src/external/googletest/README.Gromacs
src/external/googletest/googlemock/include/gmock/gmock-spec-builders.h
src/external/googletest/googletest/include/gtest/internal/gtest-internal.h
src/gromacs/mdrunutility/tests/threadaffinitytest.cpp
src/gromacs/mdrunutility/tests/threadaffinitytest.h