Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clang-tidy: respect '-Wno-builtin-macro-redefined' with c++20 (#37408)
Previously, `redefining builtin macro [clang-diagnostic-builtin-macro-redefined,-warnings-as-errors]` was reported despite the existence of the `-Wno-builtin-macro-redefined` in the compiler argument. This is a known issue for older version of clang as in * llvm/llvm-project#56709 * erenon/bazel_clang_tidy#29 The workaround discussed was to explicitly add `-clang-diagnostic-builtin-macro-redefined` in the checks of clang-tidy, which can be removed after we upgrade to LLVM 17. part of #28566 Signed-off-by: Takeshi Yoneda <[email protected]>
- Loading branch information