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

Declarations

tools/clang/tools/libclang/CXIndexDataConsumer.h
   30   class AttrListInfo;

References

include/llvm/ADT/IntrusiveRefCntPtr.h
  125   static void retain(T *obj) { obj->Retain(); }
  126   static void release(T *obj) { obj->Release(); }
  136   T *Obj = nullptr;
  139   using element_type = T;
  142   IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
  147   IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) {
  152   IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) {
  163   T &operator*() const { return *Obj; }
  164   T *operator->() const { return Obj; }
  165   T *get() const { return Obj; }
  169     T *tmp = other.Obj;
  184       IntrusiveRefCntPtrInfo<T>::retain(Obj);
  189       IntrusiveRefCntPtrInfo<T>::release(Obj);
include/llvm/Support/Allocator.h
   81   template <typename T> T *Allocate(size_t Num = 1) {
   82     return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
   82     return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  331 IntrusiveRefCntPtr<AttrListInfo>
  334   AttrListInfo *attrs = SA.allocate<AttrListInfo>();
  334   AttrListInfo *attrs = SA.allocate<AttrListInfo>();
  335   return new (attrs) AttrListInfo(D, IdxCtx);
 1154     EntityInfo.AttrList = AttrListInfo::create(D, *this);
tools/clang/tools/libclang/CXIndexDataConsumer.h
   51   IntrusiveRefCntPtr<AttrListInfo> AttrList;
  247   AttrListInfo(const AttrListInfo &) = delete;
  248   void operator=(const AttrListInfo &) = delete;
  252   static IntrusiveRefCntPtr<AttrListInfo> create(const Decl *D,
  495 inline T *ScratchAlloc::allocate() {
  496   return IdxCtx.StrScratch.Allocate<T>();