Home
last modified time | relevance | path

Searched refs:nullopt_t (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCustomizableOptional.h35 constexpr CustomizableOptional(std::nullopt_t) {} in CustomizableOptional() argument
151 constexpr bool operator==(const CustomizableOptional<T> &X, std::nullopt_t) {
156 constexpr bool operator==(std::nullopt_t, const CustomizableOptional<T> &X) {
161 constexpr bool operator!=(const CustomizableOptional<T> &X, std::nullopt_t) {
166 constexpr bool operator!=(std::nullopt_t, const CustomizableOptional<T> &X) {
171 constexpr bool operator<(const CustomizableOptional<T> &, std::nullopt_t) {
176 constexpr bool operator<(std::nullopt_t, const CustomizableOptional<T> &X) {
181 constexpr bool operator<=(const CustomizableOptional<T> &X, std::nullopt_t) {
186 constexpr bool operator<=(std::nullopt_t, const CustomizableOptional<T> &X) {
191 constexpr bool operator>(const CustomizableOptional<T> &X, std::nullopt_t) {
[all …]
H A DUnsignedOrNone.h23 constexpr UnsignedOrNone(std::nullopt_t) : Rep(0) {} in UnsignedOrNone()
46 constexpr UnsignedOrNone(std::nullopt_t, unsigned Rep) : Rep(Rep) {}; in UnsignedOrNone()
/freebsd/contrib/llvm-project/libcxx/include/
H A Doptional29 struct nullopt_t{see below };
30 inline constexpr nullopt_t nullopt(unspecified );
53 template<class T> constexpr bool operator==(const optional<T>&, nullopt_t) noexcept;
54 …template<class T> constexpr bool operator==(nullopt_t, const optional<T>&) noexcept; // until C++17
55 …template<class T> constexpr bool operator!=(const optional<T>&, nullopt_t) noexcept; // until C++17
56 …template<class T> constexpr bool operator!=(nullopt_t, const optional<T>&) noexcept; // until C++17
57 …template<class T> constexpr bool operator<(const optional<T>&, nullopt_t) noexcept; // until C++17
58 …template<class T> constexpr bool operator<(nullopt_t, const optional<T>&) noexcept; // until C++17
59 …template<class T> constexpr bool operator<=(const optional<T>&, nullopt_t) noexcept; // until C++17
60 …template<class T> constexpr bool operator<=(nullopt_t, const optional<T>&) noexcept; // until C++17
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Doptional.h21 struct nullopt_t { struct
22 LIBC_INLINE constexpr explicit nullopt_t() = default;
26 LIBC_INLINE_VAR constexpr nullopt_t nullopt{};
79 LIBC_INLINE constexpr optional(nullopt_t) {}
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DAlignment.h131 constexpr MaybeAlign(std::nullopt_t None) : UP(None) {} in MaybeAlign()
305 inline bool operator==(MaybeAlign Lhs, std::nullopt_t) { return !bool(Lhs); }
306 inline bool operator!=(MaybeAlign Lhs, std::nullopt_t) { return bool(Lhs); }
307 inline bool operator==(std::nullopt_t, MaybeAlign Rhs) { return !bool(Rhs); }
308 inline bool operator!=(std::nullopt_t, MaybeAlign Rhs) { return bool(Rhs); }
H A DSMLoc.h53 SMRange(std::nullopt_t) {} in SMRange() argument
H A Draw_ostream.h842 LLVM_ABI raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringMapEntry.h88 class StringMapEntryStorage<std::nullopt_t> : public StringMapEntryBase {
91 std::nullopt_t = std::nullopt)
95 std::nullopt_t getValue() const { return std::nullopt; } in getValue()
H A DStringSet.h25 class StringSet : public StringMap<std::nullopt_t, AllocatorTy> {
26 using Base = StringMap<std::nullopt_t, AllocatorTy>;
H A DArrayRef.h71 ArrayRef(std::nullopt_t) {} in ArrayRef() argument
322 MutableArrayRef(std::nullopt_t) : ArrayRef<T>() {} in MutableArrayRef() argument
H A DStringMap.h295 if constexpr (!std::is_same_v<ValueTy, std::nullopt_t>) {
/freebsd/contrib/llvm-project/libc/shared/
H A Drpc_util.h72 struct nullopt_t {
73 RPC_ATTRS constexpr explicit nullopt_t() = default;
77 constexpr inline nullopt_t nullopt{};
108 RPC_ATTRS constexpr optional(nullopt_t) {}
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DOptional.cpp11 llvm::raw_ostream &llvm::operator<<(raw_ostream &OS, std::nullopt_t) { in operator <<() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h209 static void read(ArrayRef<T> buffer, std::nullopt_t, DataTy &&...data) { in read() argument
241 template <typename T> static void read(ArrayRef<T> buffer, std::nullopt_t) { in read() argument
282 unsigned code, std::nullopt_t) { in emit() argument
297 template <typename T> static void read(ArrayRef<T> buffer, std::nullopt_t) { in read() argument
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Doptional.cppm
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimeout.h39 Timeout(std::nullopt_t none) : Base(none) {} in Timeout()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DPostOrderCFGView.h50 std::pair<std::nullopt_t, bool> insert(const CFGBlock *Block) { in insert()
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesReader.h62 VersionedInfo(std::nullopt_t) : Selected(std::nullopt) {} in VersionedInfo() argument
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DParsing.cpp148 static ExpectedProgress<std::nullopt_t> parseChar(char c, ParseState State) { in parseChar()
/freebsd/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h62 SourcePred(PredT Pred, std::nullopt_t) : Pred(Pred) { in SourcePred() argument
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h228 void addOuterTemplateArguments(std::nullopt_t) { in addOuterTemplateArguments() argument
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h2379 inline ::absl::nullopt_t Nullopt() { return ::absl::nullopt; }
2393 inline ::std::nullopt_t Nullopt() { return ::std::nullopt; }
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp35 Cursor(std::nullopt_t) {} in Cursor() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h1286 static const std::nullopt_t DefaultAST;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp7587 std::nullopt_t unsupportedType(QualType Ty) { in unsupportedType()
7594 std::nullopt_t unrepresentableValue(QualType Ty, const APSInt &Val) { in unrepresentableValue()

12