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

Declarations

gen/tools/clang/include/clang/AST/DeclNodes.inc
  297 OBJCTYPEPARAM(ObjCTypeParam, TypedefNameDecl)
tools/clang/include/clang/AST/ASTContext.h
  115 class ObjCTypeParamDecl;
tools/clang/include/clang/AST/Type.h
  113 class ObjCTypeParamDecl;
tools/clang/include/clang/AST/TypeLoc.h
   41 class ObjCTypeParamDecl;

References

include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  118       const SmallVectorTemplateCommon<U *, DummyT> &Vec,
  120           std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
include/llvm/ADT/STLExtras.h
   75       typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*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,
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  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;
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
  309   return cast<X>(Val);
  342 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) {
tools/clang/include/clang/AST/ASTContext.h
 1505   QualType getObjCTypeParamType(const ObjCTypeParamDecl *Decl,
tools/clang/include/clang/AST/DeclBase.h
 2536   static ::clang::DeclContext *doit(const FromTy *Val) {
 2537     return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/DeclObjC.h
  588   static ObjCTypeParamDecl *Create(ASTContext &ctx, DeclContext *dc,
  596   static ObjCTypeParamDecl *CreateDeserialized(ASTContext &ctx, unsigned ID);
  637     : private llvm::TrailingObjects<ObjCTypeParamList, ObjCTypeParamDecl *> {
  649     ObjCTypeParamDecl *AlignmentHack;
  656                     ArrayRef<ObjCTypeParamDecl *> typeParams,
  665                                    ArrayRef<ObjCTypeParamDecl *> typeParams,
  669   using iterator = ObjCTypeParamDecl **;
  671   iterator begin() { return getTrailingObjects<ObjCTypeParamDecl *>(); }
  679   using const_iterator = ObjCTypeParamDecl * const *;
  682     return getTrailingObjects<ObjCTypeParamDecl *>();
  689   ObjCTypeParamDecl *front() const {
  694   ObjCTypeParamDecl *back() const {
tools/clang/include/clang/AST/JSONNodeDumper.h
  247   void VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D);
tools/clang/include/clang/AST/RecursiveASTVisitor.h
 1524       TRY_TO(TraverseObjCTypeParamDecl(typeParam));
 1538       TRY_TO(TraverseObjCTypeParamDecl(typeParam));
 1564   if (D->hasExplicitBound()) {
 1565     TRY_TO(TraverseTypeLoc(D->getTypeSourceInfo()->getTypeLoc()));
tools/clang/include/clang/AST/TextNodeDumper.h
  338   void VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D);
tools/clang/include/clang/AST/Type.h
 5549   ObjCTypeParamDecl *OTPDecl;
 5566   ObjCTypeParamType(const ObjCTypeParamDecl *D,
 5580                       const ObjCTypeParamDecl *OTPDecl,
 5583   ObjCTypeParamDecl *getDecl() const { return OTPDecl; }
tools/clang/include/clang/AST/TypeLoc.h
  758   ObjCTypeParamDecl *getDecl() const { return getTypePtr()->getDecl(); }
tools/clang/include/clang/Sema/Sema.h
 8655   QualType BuildObjCTypeParamType(const ObjCTypeParamDecl *Decl,
tools/clang/include/clang/Serialization/ASTReader.h
 1887   T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) {
 1888     return cast_or_null<T>(GetDecl(ReadDeclID(F, R, I)));
 2541   T *readDeclAs() {
 2542     return Reader->ReadDeclAs<T>(*F, Record, Idx);
tools/clang/lib/AST/ASTContext.cpp
 4716 ASTContext::getObjCTypeParamType(const ObjCTypeParamDecl *Decl,
tools/clang/lib/AST/ASTImporter.cpp
  162     Expected<T *> import(T *From) {
  162     Expected<T *> import(T *From) {
  166       return cast_or_null<T>(*ToOrErr);
  170     Expected<T *> import(const T *From) {
  170     Expected<T *> import(const T *From) {
  217           -> decltype(ToDeclT::Create(std::forward<Args>(args)...)) {
  218         return ToDeclT::Create(std::forward<Args>(args)...);
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  229     LLVM_NODISCARD bool GetImportedOrCreateDecl(ToDeclT *&ToD, FromDeclT *FromD,
  234       CallOverloadedCreateFun<ToDeclT> OC;
  256     GetImportedOrCreateSpecialDecl(ToDeclT *&ToD, CreateFunT CreateFun,
  257                                    FromDeclT *FromD, Args &&... args) {
  262       ToD = cast_or_null<ToDeclT>(Importer.GetAlreadyImportedOrNull(FromD));
  477     ExpectedDecl VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
 4002 ExpectedDecl ASTNodeImporter::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) {
 4022   ObjCTypeParamDecl *Result;
 4574   SmallVector<ObjCTypeParamDecl *, 4> toTypeParams;
 4575   for (auto *fromTypeParam : *list) {
tools/clang/lib/AST/DeclObjC.cpp
  333   for (auto *typeParam : *TypeParamList)
 1384 ObjCTypeParamDecl *ObjCTypeParamDecl::Create(ASTContext &ctx, DeclContext *dc,
 1392   auto *TPDecl =
 1393     new (ctx, dc) ObjCTypeParamDecl(ctx, dc, variance, varianceLoc, index,
 1400 ObjCTypeParamDecl *ObjCTypeParamDecl::CreateDeserialized(ASTContext &ctx,
 1402   return new (ctx, ID) ObjCTypeParamDecl(ctx, nullptr,
 1425                                      ArrayRef<ObjCTypeParamDecl *> typeParams,
 1436                      ArrayRef<ObjCTypeParamDecl *> typeParams,
 1439       ctx.Allocate(totalSizeToAlloc<ObjCTypeParamDecl *>(typeParams.size()),
 2033   for (auto *typeParam : *TypeParamList)
tools/clang/lib/AST/DeclPrinter.cpp
 1234   for (auto *Param : *Params) {
tools/clang/lib/AST/JSONNodeDumper.cpp
  917 void JSONNodeDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) {
tools/clang/lib/AST/TextNodeDumper.cpp
 1828 void TextNodeDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) {
tools/clang/lib/AST/Type.cpp
  655 ObjCTypeParamType::ObjCTypeParamType(const ObjCTypeParamDecl *D,
 1196     ObjCTypeParamDecl *typeParam = OTPTy->getDecl();
 3530                                 const ObjCTypeParamDecl *OTPDecl,
tools/clang/lib/Index/IndexSymbol.cpp
   58   if (isa<ObjCTypeParamDecl>(D))
tools/clang/lib/Sema/SemaDeclObjC.cpp
  764   return ObjCTypeParamDecl::Create(Context, CurContext, variance, varianceLoc,
  774   ArrayRef<ObjCTypeParamDecl *>
  783   llvm::SmallDenseMap<IdentifierInfo *, ObjCTypeParamDecl *> knownParams;
  851     ObjCTypeParamDecl *prevTypeParam = prevTypeParams->begin()[i];
  852     ObjCTypeParamDecl *newTypeParam = newTypeParams->begin()[i];
 1032         SmallVector<ObjCTypeParamDecl *, 4> clonedTypeParams;
 1035             ObjCTypeParamDecl::Create(
tools/clang/lib/Sema/SemaType.cpp
  915     ObjCTypeParamDecl *typeParam = nullptr;
 1038 QualType Sema::BuildObjCTypeParamType(const ObjCTypeParamDecl *Decl,
tools/clang/lib/Sema/TreeTransform.h
  749   QualType RebuildObjCTypeParamType(const ObjCTypeParamDecl *Decl,
 6463   ObjCTypeParamDecl *OTP = cast_or_null<ObjCTypeParamDecl>(
 6463   ObjCTypeParamDecl *OTP = cast_or_null<ObjCTypeParamDecl>(
12862            const ObjCTypeParamDecl *Decl,
tools/clang/lib/Serialization/ASTReader.cpp
 6696     ObjCTypeParamDecl *Decl
 6697       = ReadDeclAs<ObjCTypeParamDecl>(*Loc.F, Record, Idx);
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  144     T *ReadDeclAs() {
  145       return Record.readDeclAs<T>();
  434     void VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
 1054 void ASTDeclReader::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) {
 1074   SmallVector<ObjCTypeParamDecl *, 4> typeParams;
 1077     auto *typeParam = ReadDeclAs<ObjCTypeParamDecl>();
 1077     auto *typeParam = ReadDeclAs<ObjCTypeParamDecl>();
 3888     D = ObjCTypeParamDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  134     void VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
  709 void ASTDeclWriter::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) {
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  628       if (isa<ObjCTypeParamDecl>(Type->getDecl())) {
  754   for (ObjCTypeParamDecl *TypeParam : *TypeParams) {
tools/clang/tools/libclang/CIndex.cpp
  958 bool CursorVisitor::VisitObjCTypeParamDecl(ObjCTypeParamDecl *D) {
 1140   for (auto *typeParam : *typeParamList) {
tools/clang/tools/libclang/CursorVisitor.h
  220   bool VisitObjCTypeParamDecl(ObjCTypeParamDecl *D);
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
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1580     { typedef _Tp const     type; };
 1629     { typedef _Tp   type; };
 1983     { typedef _Up     type; };
 1999     { typedef typename remove_reference<_Tp>::type*     type; };
 2003     : public __add_pointer_helper<_Tp>