Home
last modified time | relevance | path

Searched refs:getTypePtr (Results 1 – 25 of 80) sorted by relevance

1234

/external/clang/include/clang/AST/
DTypeLoc.h108 const Type *getTypePtr() const { in getTypePtr() function
109 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
209 const Type *getTypePtr() const { in getTypePtr() function
214 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
237 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
240 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
319 Derived::classofType(TL.getTypePtr()); in isKind()
343 const TypeClass *getTypePtr() const { in getTypePtr() function
344 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
430 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
DCanonicalType.h71 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
217 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
221 Type Accessor() const { return this->getTypePtr()->Accessor(); }
232 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function
357 return Val.getTypePtr();
562 return CanQualType::CreateUnsafe(this->getTypePtr()->getArgType(i));
572 return arg_type_iterator(this->getTypePtr()->arg_type_begin());
576 return arg_type_iterator(this->getTypePtr()->arg_type_end());
694 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
710 if (isa<U>(Stored.getTypePtr()))
[all …]
DRecursiveASTVisitor.h596 const_cast<Type*>(T.getTypePtr())); in TraverseType()
998 if (T->getBaseType().getTypePtr() != T)
1023 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE*>(TL.getTypePtr()))); \
1054 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1077 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1115 if (TL.getTypePtr()->getSizeExpr())
1116 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1117 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1122 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1128 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
DType.h570 const Type *getTypePtr() const;
589 return *getTypePtr();
593 return getTypePtr();
770 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1004 return Val.getTypePtr();
3852 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
4611 inline const Type *QualType::getTypePtr() const {
4656 return getTypePtr()->isCanonicalUnqualified();
4663 const Type *T = getTypePtr();
4692 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
/external/clang/lib/AST/
DStmtIterator.cpp27 t = vt->getElementType().getTypePtr(); in FindVA()
37 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
72 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
82 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
DTypeLoc.cpp137 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
183 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
250 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
319 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
327 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
336 if (getTypePtr()->getQualifier()) { in initializeLocal()
338 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
348 getTypePtr()->getArgs(), in initializeLocal()
DType.cpp47 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
201 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
210 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
325 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
354 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
552 return Visit(T.getTypePtr()); in Visit()
831 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
980 QualType CanonicalType = getTypePtr()->CanonicalType; in isCXX98PODType()
1044 QualType CanonicalType = getTypePtr()->CanonicalType; in isTrivialType()
1233 const Type *ty = getTypePtr(); in isCXX11PODType()
[all …]
/external/chromium_org/ppapi/tests/clang/
Dfind_affected_interfaces.cc57 iter->second = IsAffected(*pointer_type->getPointeeType().getTypePtr()); in IsAffected()
62 iter->second = IsAffected(*func_type->getResultType().getTypePtr()); in IsAffected()
69 iter->second = IsAffected(*(arg_iter->getTypePtr())); in IsAffected()
80 iter->second = IsAffected(*(field_iter->getType().getTypePtr())); in IsAffected()
111 clang::Type* type = td->getUnderlyingType().getTypePtr(); in HandleTopLevelDecl()
Dprint_names_and_sizes.cc74 return HasArchDependentSize(*(array->getElementType().getTypePtr())); in HasArchDependentSize()
77 return HasArchDependentSize(*(typedef_type->desugar().getTypePtr())); in HasArchDependentSize()
86 if (HasArchDependentSize(*(iter->getType().getTypePtr()))) { in HasArchDependentSize()
138 clang::Type* type = td->getUnderlyingType().getTypePtr(); in HandleTopLevelDecl()
/external/chromium_org/tools/clang/plugins/
DFindBadConstructs.cpp72 return UnwrapType(elaborated->getNamedType().getTypePtr()); in UnwrapType()
74 return UnwrapType(typedefed->desugar().getTypePtr()); in UnwrapType()
196 CountType(it->getType().getTypePtr(), in CheckCtorDtorWeight()
356 it->getTypeSourceInfo()->getTypeLoc().getTypePtr()-> in CheckVirtualMethods()
415 dyn_cast<ElaboratedType>(type)->getNamedType().getTypePtr(), in CountType()
421 type = TT->getDecl()->getUnderlyingType().getTypePtr(); in CountType()
476 UnwrapType(base->getType().getTypePtr())); in IsRefCountedCallback()
666 iter->getType().getTypePtr()->getAs<TemplateSpecializationType>(); in CheckWeakPtrFactoryMembers()
674 if (arg.getAsType().getTypePtr()->getAsCXXRecordDecl() == in CheckWeakPtrFactoryMembers()
/external/clang/lib/StaticAnalyzer/Checkers/
DCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
DObjCContainersASTChecker.cpp48 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
59 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
DMallocSizeofChecker.cpp145 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
DCastSizeChecker.cpp36 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
DGenericTaintChecker.cpp163 (E->getType().getTypePtr()->isPointerType() && in isTaintedOrPointsToTainted()
439 dyn_cast<PointerType>(Arg->getType().getCanonicalType().getTypePtr()); in getPointedToSymbol()
490 const Type *ArgTy = Arg->getType().getTypePtr(); in process()
600 dyn_cast<PointerType>(D->getType().getTypePtr())) in isStdin()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp103 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
222 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
251 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
297 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
DCodeGenTypes.cpp123 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
261 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
296 const Type *Ty = T.getTypePtr(); in ConvertType()
629 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
692 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
DCGCall.h153 return forPrototype(prototype.getTypePtr()); in forPrototype()
158 return forPrototypePlus(prototype.getTypePtr(), additional); in forPrototypePlus()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h529 const_cast<Type*>(T.getTypePtr())); in TraverseType()
922 if (T->getBaseType().getTypePtr() != T)
947 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE*>(TL.getTypePtr()))); \
978 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1001 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1039 if (TL.getTypePtr()->getSizeExpr())
1040 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1041 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1046 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1052 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
DIndexTypeSourceInfo.cpp74 if (const TemplateSpecializationType *T = TL.getTypePtr()) { in VisitTemplateSpecializationTypeLoc()
/external/clang/lib/Serialization/
DASTCommon.h47 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/external/clang/lib/Analysis/
DCocoaConventions.cpp28 while (const TypedefType *TD = dyn_cast<TypedefType>(RetTy.getTypePtr())) { in isRefType()
DPseudoConstantAnalysis.cpp182 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp107 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp357 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr(); in VisitTypedefNameDecl()
657 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
672 const Type *TypeNode = It->getType().getTypePtr(); in classIsDerivedFrom()

1234