Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DAny.h42 template <typename T> struct StorageImpl : public StorageBase { struct
43 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() function
45 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() argument
48 return std::make_unique<StorageImpl<T>>(Value); in clone() argument
56 StorageImpl &operator=(const StorageImpl &Other) = delete; argument
57 StorageImpl(const StorageImpl &Other) = delete;
88 std::make_unique<StorageImpl<std::decay_t<T>>>(std::forward<T>(Value)); in Any()
144 return &static_cast<Any::StorageImpl<U> &>(*Value->Storage).Value; in any_cast()
152 return &static_cast<Any::StorageImpl<U> &>(*Value->Storage).Value; in any_cast()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DDirectoryEntry.h182 using StorageImpl =
190 : StorageImpl(in_place_t{}, std::forward<ArgTypes>(Args)...) {}
193 StorageImpl::operator=(Ref);
H A DFileEntry.h201 using StorageImpl =
209 : StorageImpl(in_place_t{}, std::forward<ArgTypes>(Args)...) {}
212 StorageImpl::operator=(Ref);