Home
last modified time | relevance | path

Searched defs:has_value (Results 1 – 6 of 6) sorted by relevance

/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/
H A Dtuple_size_value_sfinae.pass.cpp25 constexpr bool has_value(int) { return true; } in has_value() function
26 template <class> constexpr bool has_value(long) { return false; } in has_value() function
27 template <class T> constexpr bool has_value() { return has_value<T>(0); } in has_value() function
/llvm-project/libcxx/test/libcxx/utilities/optional/optional.object/
H A Doptional_size.pass.cpp20 bool has_value; member
/llvm-project/mlir/include/mlir/IR/
H A DOpDefinition.h49 bool has_value() const { return impl.has_value(); } in has_value() function
/llvm-project/libc/src/__support/CPP/
H A Dexpected.h40 LIBC_INLINE constexpr bool has_value() const { return is_expected; } has_value() function
/llvm-project/clang/include/clang/Basic/
H A DCustomizableOptional.h83 constexpr bool has_value() const { return Storage.has_value(); } in has_value() function
/llvm-project/llvm/include/llvm/ADT/
H A DAny.h105 bool has_value() const { return !!Storage; } in has_value() function