-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use latest cmake for clang-tidy. #10730
Conversation
@hcho3 I haven't updated clang-tidy itself on the CI yet, but I have run |
@@ -223,6 +222,14 @@ class JsonObject : public Value { | |||
~JsonObject() override = default; | |||
}; | |||
|
|||
namespace detail { | |||
template <typename T, typename U> | |||
using IsSameT = std::enable_if_t<std::is_same_v<std::remove_cv_t<T>, std::remove_cv_t<U>>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only extracting this due to a potential bug in clang-tidy-19, can't be sure yet. It keeps asking me to use modernized type traits if I don't add these helpers, even though I have already been using the _v/t
version.
Yes, that would be great. |
@hcho3 Done. |
The new cmake is required by the latest GPU tree shap.