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

Declarations

tools/clang/include/clang/Sema/ExternalSemaSource.h
   33 struct ObjCMethodList;

References

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)));
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
tools/clang/include/clang/Sema/ObjCMethodList.h
   30   llvm::PointerIntPair<ObjCMethodList *, 2> NextAndExtraBits;
   35   ObjCMethodList(const ObjCMethodList &L)
   39   ObjCMethodList *getNext() const { return NextAndExtraBits.getPointer(); }
   41   void setNext(ObjCMethodList *L) { NextAndExtraBits.setPointer(L); }
tools/clang/include/clang/Sema/Sema.h
 1201   typedef std::pair<ObjCMethodList, ObjCMethodList> GlobalMethods;
 1201   typedef std::pair<ObjCMethodList, ObjCMethodList> GlobalMethods;
 3904   void addMethodToGlobalList(ObjCMethodList *List, ObjCMethodDecl *Method);
tools/clang/lib/Sema/SemaCodeComplete.cpp
 6786       for (ObjCMethodList *MethList = &M->second.second;
 6958       for (ObjCMethodList *MethList = &M->second.first;
 8355     for (ObjCMethodList *MethList = IsInstanceMethod ? &M->second.first
tools/clang/lib/Sema/SemaDeclObjC.cpp
 3281 void Sema::addMethodToGlobalList(ObjCMethodList *List,
 3299   ObjCMethodList *Previous = List;
 3300   ObjCMethodList *ListWithSameDeclaration = nullptr;
 3370   ObjCMethodList *Mem = BumpAlloc.Allocate<ObjCMethodList>();
 3370   ObjCMethodList *Mem = BumpAlloc.Allocate<ObjCMethodList>();
 3374     auto *List = new (Mem) ObjCMethodList(*ListWithSameDeclaration);
 3374     auto *List = new (Mem) ObjCMethodList(*ListWithSameDeclaration);
 3381   Previous->setNext(new (Mem) ObjCMethodList(Method));
 3413   ObjCMethodList &Entry = instance ? Pos->second.first : Pos->second.second;
 3483   ObjCMethodList &MethList = InstanceFirst ? Pos->second.first :
 3485   for (ObjCMethodList *M = &MethList; M; M = M->getNext())
 3499   ObjCMethodList &MethList2 = InstanceFirst ? Pos->second.second :
 3501   for (ObjCMethodList *M = &MethList2; M; M = M->getNext())
 3530   ObjCMethodList &MethList =
 3546   ObjCMethodList &MethList = instance ? Pos->second.first : Pos->second.second;
 3548   for (ObjCMethodList *M = &MethList; M; M = M->getNext()) {
 3615   for (const ObjCMethodList *Method = &Methods.first; Method;
 3622   for (const ObjCMethodList *Method = &Methods.second; Method;
 3689     for (ObjCMethodList *M = &b->second.first; M; M=M->getNext())
 3701     for (ObjCMethodList *M = &b->second.second; M; M=M->getNext())
 4193     const ObjCMethodList &list =
 4348           ObjCMethodList &List =
tools/clang/lib/Sema/SemaExprObjC.cpp
 1126                                                ObjCMethodList &MethList) {
 1127   ObjCMethodList *M = &MethList;
 1164     ObjCMethodList &InstMethList = b->second.first;
 1170     ObjCMethodList &ClsMethList = b->second.second;
tools/clang/lib/Serialization/ASTReader.cpp
 3972   ObjCMethodList &Start = Method->isInstanceMethod()? Known->second.first
 3975   for (ObjCMethodList *List = &Start; List; List = List->getNext()) {
 8587                              ObjCMethodList &List) {
tools/clang/lib/Serialization/ASTWriter.cpp
 3339     ObjCMethodList Instance, Factory;
 3361     for (const ObjCMethodList *Method = &Methods.Instance; Method;
 3365     for (const ObjCMethodList *Method = &Methods.Factory; Method;
 3397     for (const ObjCMethodList *Method = &Methods.Instance; Method;
 3403     for (const ObjCMethodList *Method = &Methods.Factory; Method;
 3424     for (const ObjCMethodList *Method = &Methods.Instance; Method;
 3428     for (const ObjCMethodList *Method = &Methods.Factory; Method;
 3477         for (ObjCMethodList *M = &Data.Instance;
 3482         for (ObjCMethodList *M = &Data.Factory; !changed && M && M->getMethod();
usr/include/c++/7.4.0/bits/stl_pair.h
  209     : private __pair_base<_T1, _T2>
  209     : private __pair_base<_T1, _T2>
  211       typedef _T1 first_type;    /// @c first_type is the first bound type
  212       typedef _T2 second_type;   /// @c second_type is the second bound type
  214       _T1 first;                 /// @c first is a copy of the first object
  215       _T2 second;                /// @c second is a copy of the second object
  252       using _PCCP = _PCC<true, _T1, _T2>;
  252       using _PCCP = _PCC<true, _T1, _T2>;
  260       constexpr pair(const _T1& __a, const _T2& __b)
  260       constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  269       explicit constexpr pair(const _T1& __a, const _T2& __b)
  283 			    _T1, _T2>;
  283 			    _T1, _T2>;
  311        constexpr pair(_U1&& __x, const _T2& __y)
  318        explicit constexpr pair(_U1&& __x, const _T2& __y)
  325        constexpr pair(const _T1& __x, _U2&& __y)
  332        explicit pair(const _T1& __x, _U2&& __y)
  379 		__and_<is_copy_assignable<_T1>,
  380 		       is_copy_assignable<_T2>>::value,
  390 		__and_<is_move_assignable<_T1>,
  391 		       is_move_assignable<_T2>>::value,
  402       typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
  402       typename enable_if<__and_<is_assignable<_T1&, const _U1&>,
  403 				is_assignable<_T2&, const _U2&>>::value,
  403 				is_assignable<_T2&, const _U2&>>::value,
  405 	operator=(const pair<_U1, _U2>& __p)
  405 	operator=(const pair<_U1, _U2>& __p)
  413       typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
  413       typename enable_if<__and_<is_assignable<_T1&, _U1&&>,
  414 				is_assignable<_T2&, _U2&&>>::value,
  414 				is_assignable<_T2&, _U2&&>>::value,
  416 	operator=(pair<_U1, _U2>&& __p)
  416 	operator=(pair<_U1, _U2>&& __p)
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  762     typename add_rvalue_reference<_Tp>::type declval() noexcept;
  889       typedef decltype(__test<_Tp>(0)) type;
  894     : public __and_<__not_<is_void<_Tp>>,
  895                     __is_default_constructible_impl<_Tp>>
  915     : public __is_default_constructible_atom<_Tp>::type
  921     : public __is_default_constructible_safe<_Tp>::type
 1286     : public is_assignable<_Tp&, const _Tp&>
 1286     : public is_assignable<_Tp&, const _Tp&>
 1292     : public __is_copy_assignable_impl<_Tp>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1304     : public is_assignable<_Tp&, _Tp&&>
 1310     : public __is_move_assignable_impl<_Tp>
 1377     static void __helper(const _Tp&);
 1380     static true_type __test(const _Tp&,
 1381                             decltype(__helper<const _Tp&>({}))* = 0);
 1390     typedef decltype(__test(declval<_Tp>())) type;
 1395       : public __is_implicitly_default_constructible_impl<_Tp>::type
 1400       : public __and_<is_default_constructible<_Tp>,
 1401                       __is_implicitly_default_constructible_safe<_Tp>>
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1659     { typedef _Tp&&   type; };
 1664     : public __add_rvalue_reference_helper<_Tp>