We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31544b6 commit 30da81dCopy full SHA for 30da81d
llvm/include/llvm/ADT/ilist_node.h
@@ -149,9 +149,8 @@ class ilist_node_impl
149
///
150
/// This requires sentinel tracking to be explicitly enabled. Use the
151
/// ilist_sentinel_tracking<true> option to get this API.
152
- template <
153
- typename = std::enable_if_t<OptionsT::is_sentinel_tracking_explicit>>
154
- bool isSentinel() const {
+ template <typename T = OptionsT>
+ std::enable_if_t<T::is_sentinel_tracking_explicit, bool> isSentinel() const {
155
return node_base_type::isSentinel();
156
}
157
};
0 commit comments