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

Declarations

gen/tools/clang/include/clang/AST/TypeNodes.inc
   54 NON_CANONICAL_TYPE(ObjCTypeParam, Type)

References

include/llvm/ADT/FoldingSet.h
  221   static void Profile(const T &X, FoldingSetNodeID &ID) {
  224   static void Profile(T &X, FoldingSetNodeID &ID) {
  232   static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
  240   static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
  250   : public DefaultFoldingSetTrait<T> {};
  369   FoldingSetTrait<T>::Profile(X, TempID);
  375   FoldingSetTrait<T>::Profile(X, TempID);
  410   using iterator = FoldingSetIterator<T>;
  415   using const_iterator = FoldingSetIterator<const T>;
  420   using bucket_iterator = FoldingSetBucketIterator<T>;
  432   bool RemoveNode(T *N) { return FoldingSetBase::RemoveNode(N); }
  437   T *GetOrInsertNode(T *N) {
  437   T *GetOrInsertNode(T *N) {
  444   T *FindNodeOrInsertPos(const FoldingSetNodeID &ID, void *&InsertPos) {
  451   void InsertNode(T *N, void *InsertPos) {
  457   void InsertNode(T *N) {
  473 template <class T> class FoldingSet final : public FoldingSetImpl<T> {
  474   using Super = FoldingSetImpl<T>;
  480     T *TN = static_cast<T *>(N);
  481     FoldingSetTrait<T>::Profile(*TN, ID);
  488     T *TN = static_cast<T *>(N);
  489     return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID);
  495     T *TN = static_cast<T *>(N);
  496     return FoldingSetTrait<T>::ComputeHash(*TN, TempID);
include/llvm/Support/Casting.h
   58     return To::classof(&Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  142   return isa_impl_wrap<X, const Y,
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  248                                typename cast_retty<X, const Y>::ret_type>::type
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTContext.h
  205   mutable llvm::FoldingSet<ObjCTypeParamType> ObjCTypeParamTypes;
tools/clang/include/clang/AST/Type.h
 5541                           public ObjCProtocolQualifiers<ObjCTypeParamType>,
tools/clang/include/clang/AST/TypeLoc.h
  370     return TypeClass::classof(Ty);
  405   const TypeClass *getTypePtr() const {
  406     return cast<TypeClass>(Base::getTypePtr());
  750                                      ObjCTypeParamType,
tools/clang/lib/AST/ASTContext.cpp
 2151     return getTypeInfo(cast<ObjCTypeParamType>(T)->desugar().getTypePtr());
 4650   if (const auto *objT = dyn_cast<ObjCTypeParamType>(type.getTypePtr())) {
 4650   if (const auto *objT = dyn_cast<ObjCTypeParamType>(type.getTypePtr())) {
 4720   ObjCTypeParamType::Profile(ID, Decl, protocols);
 4722   if (ObjCTypeParamType *TypeParam =
 4736   unsigned size = sizeof(ObjCTypeParamType);
 4739   auto *newType = new (mem) ObjCTypeParamType(Decl, Canonical, protocols);
 4739   auto *newType = new (mem) ObjCTypeParamType(Decl, Canonical, protocols);
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
  887     const auto *Obj1 = cast<ObjCTypeParamType>(T1);
  887     const auto *Obj1 = cast<ObjCTypeParamType>(T1);
  888     const auto *Obj2 = cast<ObjCTypeParamType>(T2);
  888     const auto *Obj2 = cast<ObjCTypeParamType>(T2);
tools/clang/lib/AST/ODRHash.cpp
  938   void VisitObjCTypeParamType(const ObjCTypeParamType *T) {
tools/clang/lib/AST/Type.cpp
 1193   QualType VisitObjCTypeParamType(const ObjCTypeParamType *OTPTy) {
tools/clang/lib/AST/TypePrinter.cpp
 1571 void TypePrinter::printObjCTypeParamBefore(const ObjCTypeParamType *T,
 1590 void TypePrinter::printObjCTypeParamAfter(const ObjCTypeParamType *T,
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 2295 llvm::DIType *CGDebugInfo::CreateType(const ObjCTypeParamType *Ty,
 3021     return CreateType(cast<ObjCTypeParamType>(Ty), Unit);
tools/clang/lib/CodeGen/CGDebugInfo.h
  176   llvm::DIType *CreateType(const ObjCTypeParamType *Ty, llvm::DIFile *Unit);
tools/clang/lib/Sema/SemaType.cpp
 6655   if (isa<ObjCTypeParamType>(type)) {
tools/clang/lib/Sema/TreeTransform.h
 6462   const ObjCTypeParamType *T = TL.getTypePtr();
 6462   const ObjCTypeParamType *T = TL.getTypePtr();
 6468   QualType Result = TL.getType();
 6472                  TL.getProtocolLAngleLoc(),
 6473                  llvm::makeArrayRef(TL.getTypePtr()->qual_begin(),
 6474                                     TL.getNumProtocols()),
 6475                  TL.getProtocolLocs(),
 6476                  TL.getProtocolRAngleLoc());
 6481   ObjCTypeParamTypeLoc NewTL = TLB.push<ObjCTypeParamTypeLoc>(Result);
 6482   if (TL.getNumProtocols()) {
 6483     NewTL.setProtocolLAngleLoc(TL.getProtocolLAngleLoc());
 6484     for (unsigned i = 0, n = TL.getNumProtocols(); i != n; ++i)
 6485       NewTL.setProtocolLoc(i, TL.getProtocolLoc(i));
 6486     NewTL.setProtocolRAngleLoc(TL.getProtocolRAngleLoc());
tools/clang/lib/Serialization/ASTWriter.cpp
  546 void ASTTypeWriter::VisitObjCTypeParamType(const ObjCTypeParamType *T) {
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  627     bool VisitObjCTypeParamType(const ObjCTypeParamType *Type) {
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  611     : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  612                    is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
  631     : public __is_member_pointer_helper<typename remove_cv<_Tp>::type>::type
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  777     : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
  798       typedef decltype(__test<_Tp>(0)) type;
  811                remove_all_extents<_Tp>::type>::type
  825     : public __is_destructible_safe<_Tp>::type
 1447     : public __and_<is_destructible<_Tp>, integral_constant<bool,
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1659     { typedef _Tp&&   type; };
 1955     { typedef _Tp     type; };