Home
last modified time | relevance | path

Searched refs:OptionalStorage (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/CPP/
H A Doptional.h33 struct OptionalStorage { struct
41 LIBC_INLINE ~OptionalStorage() { reset(); } in ~OptionalStorage() argument
43 LIBC_INLINE constexpr OptionalStorage() : empty() {} in OptionalStorage() function
46 LIBC_INLINE constexpr explicit OptionalStorage(in_place_t, Args &&...args) in OptionalStorage() argument
58 template <typename U> struct OptionalStorage<U, false> { argument
66 LIBC_INLINE constexpr OptionalStorage() : empty() {}
69 LIBC_INLINE constexpr explicit OptionalStorage(in_place_t, Args &&...args)
75 OptionalStorage<T> storage;
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDirectoryEntry.h165 class OptionalStorage<clang::DirectoryEntryRef>
171 OptionalStorage() = default;
174 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args)
177 OptionalStorage &operator=(clang::DirectoryEntryRef Ref) {
H A DFileEntry.h49 template <> class OptionalStorage<clang::FileEntryRef>; variable
215 class OptionalStorage<clang::FileEntryRef>
221 OptionalStorage() = default;
224 explicit OptionalStorage(std::in_place_t, ArgTypes &&...Args)
227 OptionalStorage &operator=(clang::FileEntryRef Ref) {
H A DCustomizableOptional.h23 template <typename> class OptionalStorage; variable
29 optional_detail::OptionalStorage<T> Storage;
/freebsd/contrib/llvm-project/libc/shared/
H A Drpc_util.h81 template <typename U> struct OptionalStorage {
89 RPC_ATTRS ~OptionalStorage() { reset(); }
91 RPC_ATTRS constexpr OptionalStorage() : empty() {}
94 RPC_ATTRS constexpr explicit OptionalStorage(in_place_t, Args &&...args)
104 OptionalStorage<T> storage;