Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAny.h36 template <typename T> struct StorageImpl : public StorageBase { struct
37 explicit StorageImpl(const T &Value) : Value(Value) {} in StorageImpl() argument
39 explicit StorageImpl(T &&Value) : Value(std::move(Value)) {} in StorageImpl() argument
42 return llvm::make_unique<StorageImpl<T>>(Value); in clone() argument
50 StorageImpl &operator=(const StorageImpl &Other) = delete; argument
51 StorageImpl(const StorageImpl &Other) = delete;
72 Storage = llvm::make_unique<StorageImpl<U>>(std::forward<T>(Value)); in Any()
137 return &static_cast<Any::StorageImpl<U> &>(*Value->Storage).Value; in any_cast()
145 return &static_cast<Any::StorageImpl<U> &>(*Value->Storage).Value; in any_cast()