Home
last modified time | relevance | path

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

1234

/external/clang/include/clang/AST/
DTypeLoc.h111 const Type *getTypePtr() const { in getTypePtr() function
112 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
212 const Type *getTypePtr() const { in getTypePtr() function
217 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
240 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
243 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
322 Derived::classofType(TL.getTypePtr()); in isKind()
346 const TypeClass *getTypePtr() const { in getTypePtr() function
347 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
433 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
DCanonicalType.h70 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
216 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
220 Type Accessor() const { return this->getTypePtr()->Accessor(); }
231 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function
356 return Val.getTypePtr();
561 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
571 return param_type_iterator(this->getTypePtr()->param_type_begin());
575 return param_type_iterator(this->getTypePtr()->param_type_end());
693 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
709 if (isa<U>(Stored.getTypePtr()))
[all …]
DDataRecursiveASTVisitor.h553 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr())); in TraverseType()
938 if (T->getBaseType().getTypePtr() != T)
960 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
991 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1010 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1050 if (TL.getTypePtr()->getSizeExpr())
1051 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1052 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1057 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1063 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
DRecursiveASTVisitor.h620 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr())); in TraverseType()
1003 if (T->getBaseType().getTypePtr() != T)
1025 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1056 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1075 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.h569 const Type *getTypePtr() const;
588 return *getTypePtr();
592 return getTypePtr();
769 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1003 return Val.getTypePtr();
3897 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
4660 inline const Type *QualType::getTypePtr() const {
4705 return getTypePtr()->isCanonicalUnqualified();
4712 const Type *T = getTypePtr();
4741 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()
358 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
560 return Visit(T.getTypePtr()); in Visit()
842 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
991 QualType CanonicalType = getTypePtr()->CanonicalType; in isCXX98PODType()
1055 QualType CanonicalType = getTypePtr()->CanonicalType; in isTrivialType()
1247 const Type *ty = getTypePtr(); in isCXX11PODType()
[all …]
/external/chromium_org/tools/clang/plugins/
DFindBadConstructsConsumer.cpp56 return UnwrapType(elaborated->getNamedType().getTypePtr()); in UnwrapType()
58 return UnwrapType(typedefed->desugar().getTypePtr()); in UnwrapType()
186 CountType(it->getType().getTypePtr(), in CheckCtorDtorWeight()
349 .getTypePtr() in CheckVirtualMethods()
408 CountType(dyn_cast<ElaboratedType>(type)->getNamedType().getTypePtr(), in CountType()
416 type = TT->getDecl()->getUnderlyingType().getTypePtr(); in CountType()
475 UnwrapType(base->getType().getTypePtr())); in IsRefCountedCallback()
667 iter->getType().getTypePtr()->getAs<TemplateSpecializationType>(); in CheckWeakPtrFactoryMembers()
675 if (arg.getAsType().getTypePtr()->getAsCXXRecordDecl() == in CheckWeakPtrFactoryMembers()
/external/lldb/source/Symbol/
DClangASTType.cpp65 const ArrayType *array_type = dyn_cast<ArrayType>(qual_type.getTypePtr()); in GetCompleteQualType()
75 const TagType *tag_type = dyn_cast<TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
334 …length = cast<ConstantArrayType>(GetCanonicalQualType().getTypePtr())->getSize().getLimitedValue(); in IsCStringType()
354 …nProtoType *function_proto_type = llvm::dyn_cast<clang::FunctionProtoType>(qual_type.getTypePtr()); in IsFunctionType()
378 … const ReferenceType *reference_type = cast<ReferenceType>(qual_type.getTypePtr()); in IsFunctionType()
414 const ReferenceType *reference_type = cast<ReferenceType>(qual_type.getTypePtr()); in IsFunctionPointerType()
639 const TagType *tag_type = dyn_cast<TagType>(qual_type.getTypePtr()); in IsDefined()
696 const RecordType *record_type = cast<RecordType>(qual_type.getTypePtr()); in IsPolymorphicClass()
1198 …e_or_element_clang_type->SetClangType(m_ast, cast<ArrayType>(qual_type.getTypePtr())->getElementTy… in GetTypeInfo()
1223 …_element_clang_type->SetClangType(m_ast, cast<ReferenceType>(qual_type.getTypePtr())->getPointeeTy… in GetTypeInfo()
[all …]
/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.cpp49 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
60 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
DMallocSizeofChecker.cpp144 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
DGenericTaintChecker.cpp162 (E->getType().getTypePtr()->isPointerType() && in isTaintedOrPointsToTainted()
438 dyn_cast<PointerType>(Arg->getType().getCanonicalType().getTypePtr()); in getPointedToSymbol()
489 const Type *ArgTy = Arg->getType().getTypePtr(); in process()
599 dyn_cast<PointerType>(D->getType().getTypePtr())) in isStdin()
DCastSizeChecker.cpp95 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/external/clang/lib/CodeGen/
DCodeGenTBAA.cpp98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
214 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
243 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
296 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
DCodeGenTypes.cpp120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
259 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
294 const Type *Ty = T.getTypePtr(); in ConvertType()
627 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
689 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
/external/clang/lib/Serialization/
DASTCommon.h53 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.cpp181 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
/external/clang/lib/ARCMigrate/
DTransBlockObjCVariable.cpp106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h299 return forPrototype(prototype.getTypePtr()); in forPrototype()
304 return forPrototypePlus(prototype.getTypePtr(), additional); in forPrototypePlus()
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp74 if (const TemplateSpecializationType *T = TL.getTypePtr()) { in VisitTemplateSpecializationTypeLoc()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp355 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr(); in VisitTypedefNameDecl()
656 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
668 const Type *TypeNode = It.getType().getTypePtr(); in classIsDerivedFrom()
/external/chromium_org/tools/clang/blink_gc_plugin/
DRecordInfo.h154 return Lookup(type.getTypePtr()); in Lookup()

1234