Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spurious warning 'misc-use-anonymous-namespace' (google#1860)
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
- Loading branch information