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

Declarations

tools/lldb/include/lldb/Utility/SharingPtr.h
  164   template <class U> friend class SharingPtr;

References

tools/lldb/include/lldb/Utility/SharedCluster.h
   63   typename lldb_private::SharingPtr<T> GetSharedPointer(T *desired_object) {
   72     return typename lldb_private::SharingPtr<T>(
tools/lldb/include/lldb/Utility/SharingPtr.h
  126   template <class Y> SharingPtr(const SharingPtr<Y> &r, element_type *p);
  127   SharingPtr(const SharingPtr &r);
  128   template <class Y> SharingPtr(const SharingPtr<Y> &r);
  132   SharingPtr &operator=(const SharingPtr &r);
  132   SharingPtr &operator=(const SharingPtr &r);
  133   template <class Y> SharingPtr &operator=(const SharingPtr<Y> &r);
  133   template <class Y> SharingPtr &operator=(const SharingPtr<Y> &r);
  135   void swap(SharingPtr &r);
  148   static SharingPtr<T> make_shared();
  148   static SharingPtr<T> make_shared();
  150   template <class A0> static SharingPtr<T> make_shared(A0 &);
  150   template <class A0> static SharingPtr<T> make_shared(A0 &);
  152   template <class A0, class A1> static SharingPtr<T> make_shared(A0 &, A1 &);
  152   template <class A0, class A1> static SharingPtr<T> make_shared(A0 &, A1 &);
  155   static SharingPtr<T> make_shared(A0 &, A1 &, A2 &);
  155   static SharingPtr<T> make_shared(A0 &, A1 &, A2 &);
  158   static SharingPtr<T> make_shared(A0 &, A1 &, A2 &, A3 &);
  158   static SharingPtr<T> make_shared(A0 &, A1 &, A2 &, A3 &);
  161   static SharingPtr<T> make_shared(A0 &, A1 &, A2 &, A3 &, A4 &);
  161   static SharingPtr<T> make_shared(A0 &, A1 &, A2 &, A3 &, A4 &);
  190 inline SharingPtr<T>::SharingPtr(const SharingPtr<Y> &r, element_type *p)
  197 inline SharingPtr<T>::SharingPtr(const SharingPtr &r)
  205 inline SharingPtr<T>::SharingPtr(const SharingPtr<Y> &r)
  217 inline SharingPtr<T> &SharingPtr<T>::operator=(const SharingPtr &r) {
  217 inline SharingPtr<T> &SharingPtr<T>::operator=(const SharingPtr &r) {
  218   SharingPtr(r).swap(*this);
  224 inline SharingPtr<T> &SharingPtr<T>::operator=(const SharingPtr<Y> &r) {
  224 inline SharingPtr<T> &SharingPtr<T>::operator=(const SharingPtr<Y> &r) {
  225   SharingPtr(r).swap(*this);
  229 template <class T> inline void SharingPtr<T>::swap(SharingPtr &r) {
  235   SharingPtr().swap(*this);
  243   SharingPtr(p).swap(*this);
  246 template <class T> SharingPtr<T> SharingPtr<T>::make_shared() {
  248   SharingPtr<T> r;
  256 SharingPtr<T> SharingPtr<T>::make_shared(A0 &a0) {
  258   SharingPtr<T> r;
  266 SharingPtr<T> SharingPtr<T>::make_shared(A0 &a0, A1 &a1) {
  268   SharingPtr<T> r;
  276 SharingPtr<T> SharingPtr<T>::make_shared(A0 &a0, A1 &a1, A2 &a2) {
  278   SharingPtr<T> r;
  286 SharingPtr<T> SharingPtr<T>::make_shared(A0 &a0, A1 &a1, A2 &a2, A3 &a3) {
  288   SharingPtr<T> r;
  296 SharingPtr<T> SharingPtr<T>::make_shared(A0 &a0, A1 &a1, A2 &a2, A3 &a3,
  299   SharingPtr<T> r;
  305 template <class T> inline SharingPtr<T> make_shared() {
  309 template <class T, class A0> inline SharingPtr<T> make_shared(A0 &a0) {
  314 inline SharingPtr<T> make_shared(A0 &a0, A1 &a1) {
  319 inline SharingPtr<T> make_shared(A0 &a0, A1 &a1, A2 &a2) {
  324 inline SharingPtr<T> make_shared(A0 &a0, A1 &a1, A2 &a2, A3 &a3) {
  329 inline SharingPtr<T> make_shared(A0 &a0, A1 &a1, A2 &a2, A3 &a3, A4 &a4) {
  334 inline bool operator==(const SharingPtr<T> &__x, const SharingPtr<U> &__y) {
  334 inline bool operator==(const SharingPtr<T> &__x, const SharingPtr<U> &__y) {
  339 inline bool operator!=(const SharingPtr<T> &__x, const SharingPtr<U> &__y) {
  339 inline bool operator!=(const SharingPtr<T> &__x, const SharingPtr<U> &__y) {
  344 inline bool operator<(const SharingPtr<T> &__x, const SharingPtr<U> &__y) {
  344 inline bool operator<(const SharingPtr<T> &__x, const SharingPtr<U> &__y) {
  348 template <class T> inline void swap(SharingPtr<T> &__x, SharingPtr<T> &__y) {
  348 template <class T> inline void swap(SharingPtr<T> &__x, SharingPtr<T> &__y) {
  353 inline SharingPtr<T> static_pointer_cast(const SharingPtr<U> &r) {
  353 inline SharingPtr<T> static_pointer_cast(const SharingPtr<U> &r) {
  354   return SharingPtr<T>(r, static_cast<T *>(r.get()));
  358 SharingPtr<T> const_pointer_cast(const SharingPtr<U> &r) {
  358 SharingPtr<T> const_pointer_cast(const SharingPtr<U> &r) {
  359   return SharingPtr<T>(r, const_cast<T *>(r.get()));
  362 template <class T> class LoggingSharingPtr : public SharingPtr<T> {
  363   typedef SharingPtr<T> base;
tools/lldb/include/lldb/lldb-forward.h
  472 typedef lldb_private::SharingPtr<lldb_private::ValueObject> ValueObjectSP;