reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/Optional.h
  231     Storage = std::move(y);
  234   Optional &operator=(Optional &&O) = default;
  238     Storage.emplace(std::forward<ArgTypes>(Args)...);
  246     Storage = y;
  249   Optional &operator=(const Optional &O) = default;
  251   void reset() { Storage.reset(); }
  253   const T *getPointer() const { return &Storage.getValue(); }
  254   T *getPointer() { return &Storage.getValue(); }
  255   const T &getValue() const LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  256   T &getValue() LLVM_LVALUE_FUNCTION { return Storage.getValue(); }
  259   bool hasValue() const { return Storage.hasValue(); }
  271   T &&getValue() && { return std::move(Storage.getValue()); }
  272   T &&operator*() && { return std::move(Storage.getValue()); }