Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h137 const Type *getTypePtr() const { in getTypePtr() function
138 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
268 const Type *getTypePtr() const { in getTypePtr() function
273 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
295 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
298 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
382 Derived::classofType(TL.getTypePtr()); in isKind()
421 const TypeClass *getTypePtr() const { in getTypePtr() function
422 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
507 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
H A DCanonicalType.h83 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
230 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
234 Type Accessor() const { return this->getTypePtr()->Accessor(); }
245 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function
372 return Val.getTypePtr();
509 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
519 return param_type_iterator(this->getTypePtr()->param_type_begin());
523 return param_type_iterator(this->getTypePtr()->param_type_end());
643 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
659 if (isa<U>(Stored.getTypePtr()))
[all …]
H A DRecursiveASTVisitor.h706 static_cast<CLASS##Type *>(const_cast<Type *>(T.getTypePtr())));
1178 if (T->getBaseType().getTypePtr() != T)
1211 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1217 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1247 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1268 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1311 TRY_TO(TraverseStmt(TL.getTypePtr()->getAddrSpaceExpr()));
1312 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1318 if (TL.getTypePtr()->getSizeExpr())
1319 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
[all …]
H A DType.h977 const Type *getTypePtr() const;
997 return *getTypePtr();
1001 return getTypePtr();
1232 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1657 return Val.getTypePtr();
6642 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
7746 inline const Type *QualType::getTypePtr() const {
7804 return getTypePtr()->isCanonicalUnqualified();
7811 const Type *T = getTypePtr();
7841 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp150 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
182 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
383 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
393 if (auto *MPT = dyn_cast<MemberPointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
400 QT = Ctx.getMemberPointerType(QT, Class.getTypePtr()); in getFullyQualifiedType()
408 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType()
410 bool IsLValueRefTy = isa<LValueReferenceType>(QT.getTypePtr()); in getFullyQualifiedType()
428 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType()
432 QT = cast<SubstTemplateTypeParmType>(QT.getTypePtr())->desugar(); in getFullyQualifiedType()
443 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
[all …]
H A DStmtIterator.cpp31 t = vt->getElementType().getTypePtr(); in FindVA()
41 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
76 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
86 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
H A DTypeLoc.cpp207 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
255 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
335 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
501 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
544 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal()
553 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
561 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
570 if (getTypePtr()->getQualifier()) { in initializeLocal()
572 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
582 Context, getTypePtr()->template_arguments(), getArgInfos(), Loc); in initializeLocal()
[all …]
H A DLinkage.h157 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo()
164 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
H A DType.cpp76 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
96 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass()
101 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass()
430 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
439 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
570 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
615 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
1520 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType()
1572 const BuiltinType *BT = getTypePtr()->getAs<BuiltinType>(); in UseExcessPrecision()
1574 const VectorType *VT = getTypePtr()->getAs<VectorType>(); in UseExcessPrecision()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DSystemZ.cpp91 handleExternallyVisibleObjABI(VD->getType().getTypePtr(), M, in setTargetAttributes()
96 handleExternallyVisibleObjABI(FD->getType().getTypePtr(), M, in setTargetAttributes()
272 SZCGI.handleExternallyVisibleObjABI(Ty.getTypePtr(), CGT.getCGM(), in EmitVAArg()
480 SZCGI.handleExternallyVisibleObjABI(I.type.getTypePtr(), CGT.getCGM(), in computeInfo()
497 .getTypePtr(); in isVectorTypeBased()
517 if (isVectorTypeBased(I.getType().getTypePtr(), /*IsParam*/false)) in isVectorTypeBased()
520 if (isVectorTypeBased(FD->getType().getTypePtr(), /*IsParam*/false)) in isVectorTypeBased()
525 if (isVectorTypeBased(FT->getReturnType().getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
529 if (isVectorTypeBased(ParamType.getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp160 Desc = createDescriptor(VD, QT.getTypePtr(), std::nullopt, true, false); in getOrCreateDummy()
225 Desc = createDescriptor(D, Ty.getTypePtr(), Descriptor::GlobalMD, IsConst, in createGlobal()
348 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst, in getOrCreateRecord()
393 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor()
413 const Descriptor *Desc = createDescriptor(D, ElemTy.getTypePtr(), in createDescriptor()
425 const Type *InnerTy = AT->getValueType().getTypePtr(); in createDescriptor()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp165 auto *T = TL.getTypePtr(); in VisitTemplateSpecializationTypeLoc()
177 if (!TraverseTemplateName(TL.getTypePtr()->getTemplateName())) in TraverseTemplateSpecializationTypeLoc()
195 auto *T = TL.getTypePtr(); in VisitDeducedTemplateSpecializationTypeLoc()
210 const DependentNameType *DNT = TL.getTypePtr(); in VisitDependentNameTypeLoc()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp37 auto *T = QT.getTypePtr(); in isRefcountedStringsHack()
193 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl()
218 MaybeGuardian->getType().getTypePtr(); in visitVarDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastToStructChecker.cpp45 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr()
46 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
H A DObjCContainersASTChecker.cpp48 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
59 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
H A DStdVariantChecker.cpp212 ThisSVal.getType(C.getASTContext())->getPointeeType().getTypePtr(), 0); in handleDefaultConstructor()
227 .getTypePtr(); in handleStdGetCall()
H A DMallocSizeofChecker.cpp151 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
H A DTaggedUnionModeling.h87 const Type *ArgTypePtr = ArgQType.getTypePtr(); in handleConstructorAndAssignment()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp102 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem()
249 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
262 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass()
295 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionTypeInternal()
349 const Type *Ty = T.getTypePtr(); in ConvertType()
795 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
836 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
H A DCodeGenTBAA.cpp222 Ty = Ty->getPointeeType().getTypePtr(); in getTypeInfoHelper()
298 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
412 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
512 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getValidBaseTypeInfo()
H A DABIInfo.cpp141 const Type *TyPtr = Ty.getTypePtr(); in isHomogeneousAggregate()
152 .getTypePtr(); in isHomogeneousAggregate()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2088 llvm::dyn_cast<clang::FunctionProtoType>(method_qual_type.getTypePtr()); in GetDeclarationName()
2560 return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr()) in GetDeclContextForType()
2564 llvm::cast<clang::ObjCObjectPointerType>(qual_type.getTypePtr()) in GetDeclContextForType()
2586 const auto *tag_type = llvm::cast<clang::RecordType>(qual_type.getTypePtr()); in GetCompleteRecordType()
2634 llvm::cast<clang::EnumType>(qual_type.getTypePtr()); in GetCompleteEnumType()
2709 llvm::dyn_cast<clang::ArrayType>(qual_type.getTypePtr()); in GetCompleteQualType()
2771 return !type || llvm::isa<clang::Type>(GetQualType(type).getTypePtr()); in Verify()
2976 GetCanonicalQualType(type).getTypePtr()) in IsCStringType()
3042 llvm::cast<clang::RecordType>(qual_type.getTypePtr()); in IsHomogeneousAggregate()
3069 if (field_qual_type.getTypePtr() != in IsHomogeneousAggregate()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp60 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr()); in GetSignature()
73 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) { in GetSignature()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp139 llvm::dyn_cast<ConstantArrayType>(DtorTy.getTypePtr())) { in Value()
145 ArrTy->getElementType().getTypePtr()); in Value()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp105 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()

12345