================ @@ -69,6 +70,7 @@ #include <cstddef> #include <iterator> #include <memory> +#include <mutex> ---------------- voyager-jhk wrote:
> We use `mutex` under `#if CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS`. Does > unconditional `#include <mutex>` rise an unused include warning if > `CLANG_TIDY_ENABLE_QUERY_BASED_CUSTOM_CHECKS` is not set? > > The same question for newly added `#include "../clang-tidy/ClangTidy.h"` Moved both includes under the feature guard. Thanks. https://github.com/llvm/llvm-project/pull/216336 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
