Home
last modified time | relevance | path

Searched refs:explicit_bool (Results 1 – 3 of 3) sorted by relevance

/llvm-project/libcxx/test/support/
H A Dcompare_types.h256 struct explicit_bool { struct
326 friend explicit_bool operator==(eq_returns_explicit_bool, eq_returns_explicit_bool);
335 friend explicit_bool operator==(eq_returns_explicit_bool, totally_ordered_with_others);
336 friend explicit_bool operator==(totally_ordered_with_others, eq_returns_explicit_bool);
351 friend explicit_bool operator!=(ne_returns_explicit_bool, ne_returns_explicit_bool);
360 friend explicit_bool operator!=(ne_returns_explicit_bool, totally_ordered_with_others);
361 friend explicit_bool operator!=(totally_ordered_with_others, ne_returns_explicit_bool);
375 friend explicit_bool operator<(lt_returns_explicit_bool, lt_returns_explicit_bool);
385 friend explicit_bool operator<(lt_returns_explicit_bool, totally_ordered_with_others);
399 friend explicit_bool operator>(gt_returns_explicit_bool, gt_returns_explicit_bool);
[all …]
/llvm-project/libcxx/test/std/concepts/concepts.callable/concept.predicate/
H A Dpredicate.compile.pass.cpp60 struct explicit_bool { struct
63 static_assert(!check_lambda([] { return explicit_bool(); })); in __anon8cbae8960402()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dsimplify-boolean-expr.cpp795 bool explicit_bool(bool b) { in explicit_bool() function