benchmark/include
Alecto Irene Perez 0c998f7cc4
Fix spurious warning 'misc-use-anonymous-namespace' (#1860) (#1861)
Disables 'misc-use-anonymous-namespace' for usage of the BENCHMARK
macro. This warning is spurious, and the variable declared by the
BENCHMARK macro can't be moved into an annonymous namespace.

We don't want to disable it globally, but it can be disabled locally,
for the `BENCHMARK` statement, as this warning appears downstream for
users.

See:
https://clang.llvm.org/extra/clang-tidy/#suppressing-undesired-diagnostics
2024-10-11 01:02:36 +03:00
..
benchmark Fix spurious warning 'misc-use-anonymous-namespace' (#1860) (#1861) 2024-10-11 01:02:36 +03:00