Home
last modified time | relevance | path

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

12345

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h137 const Type *getTypePtr() const { in getTypePtr() function
262 const Type *getTypePtr() const { in getTypePtr() function
415 const TypeClass *getTypePtr() const { in getTypePtr() function
508 const TypeClass *getTypePtr() const { in getTypePtr() function
690 return getTypePtr()->getDecl(); in getTypedefNameDecl()
702 return getTypePtr()->getDecl(); in getDecl()
713 return getTypePtr()->getDecl(); in getDecl()
872 return getTypePtr()->getAttrKind(); in getAttrKind()
876 return getTypePtr()->isQualifier(); in isQualifier()
1084 return getTypePtr()->getDecl(); in getIFaceDecl()
[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.h1136 if (T->getBaseType().getTypePtr() != T)
1205 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1265 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1271 if (TL.getTypePtr()->getSizeExpr())
1272 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1273 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1282 if (TL.getTypePtr()->getSizeExpr())
1283 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1312 const FunctionProtoType *T = TL.getTypePtr();
1429 if (TL.getTypePtr()->getBaseType().getTypePtr() != TL.getTypePtr())
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp149 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
181 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
382 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
392 if (auto *MPT = dyn_cast<MemberPointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
399 QT = Ctx.getMemberPointerType(QT, Class.getTypePtr()); in getFullyQualifiedType()
407 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType()
427 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType()
442 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
464 if (isa<const TemplateSpecializationType>(QT.getTypePtr()) || in getFullyQualifiedType()
465 isa<const RecordType>(QT.getTypePtr())) { 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()
335 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
498 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
537 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal()
546 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
554 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
563 if (getTypePtr()->getQualifier()) { in initializeLocal()
565 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
575 Context, getTypePtr()->template_arguments(), getArgInfos(), Loc); in initializeLocal()
657 if (getTypePtr()->isConstrained()) { in initializeLocal()
[all …]
H A DLinkage.h154 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo()
161 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
H A DType.cpp76 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
394 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
403 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
538 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
575 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
1841 Cur = AT->getEquivalentType().getTypePtr(); in hasAttr()
1861 return Visit(T.getTypePtr()); in Visit()
2236 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
2945 const Type *ty = getTypePtr(); in isCXX11PODType()
3411 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp71 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
74 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
109 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
115 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
118 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
123 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
126 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
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.cpp210 ThisSVal.getType(C.getASTContext())->getPointeeType().getTypePtr(), 0); in handleDefaultConstructor()
225 .getTypePtr(); in handleStdGetCall()
H A DMallocSizeofChecker.cpp151 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
H A DTaggedUnionModeling.h88 const Type *ArgTypePtr = ArgQType.getTypePtr(); in handleConstructorAndAssignment()
/freebsd-14.2/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()
478 SZCGI.handleExternallyVisibleObjABI(I.type.getTypePtr(), CGT.getCGM(), in computeInfo()
495 .getTypePtr(); in isVectorTypeBased()
515 if (isVectorTypeBased(I.getType().getTypePtr(), /*IsParam*/false)) in isVectorTypeBased()
518 if (isVectorTypeBased(FD->getType().getTypePtr(), /*IsParam*/false)) in isVectorTypeBased()
523 if (isVectorTypeBased(FT->getReturnType().getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
527 if (isVectorTypeBased(ParamType.getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp59 auto *T = QT.getTypePtr(); in isRefcountedStringsHack()
168 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl()
191 MaybeGuardian->getType().getTypePtr(); in visitVarDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp196 Desc = createDescriptor(D, Ty.getTypePtr(), std::nullopt, IsConst, in createGlobal()
298 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst, in getOrCreateRecord()
342 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor()
361 const Descriptor *Desc = createDescriptor(D, ElemTy.getTypePtr(), in createDescriptor()
373 const Type *InnerTy = AT->getValueType().getTypePtr(); in createDescriptor()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp94 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem()
193 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
206 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass()
239 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionTypeInternal()
293 const Type *Ty = T.getTypePtr(); in ConvertType()
734 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
775 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
H A DObjectFilePCHContainerOperations.cpp87 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitTypeDecl()
94 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitObjCInterfaceDecl()
115 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl()
134 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
H A DABIInfo.cpp141 const Type *TyPtr = Ty.getTypePtr(); in isHomogeneousAggregate()
152 .getTypePtr(); in isHomogeneousAggregate()
H A DCodeGenTBAA.cpp247 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
324 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
423 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getBaseTypeInfo()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2668 llvm::cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
2968 GetCanonicalQualType(type).getTypePtr()) in IsCStringType()
3032 if (field_qual_type.getTypePtr() != in IsHomogeneousAggregate()
3033 base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
3048 if (field_qual_type.getTypePtr() != base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
3411 llvm::dyn_cast<clang::TagType>(qual_type.getTypePtr()); in IsDefined()
4002 if (pointee_type.getTypePtr() == in GetMinimumLanguage()
4003 getASTContext().ObjCBuiltinIdTy.getTypePtr()) in GetMinimumLanguage()
4505 return GetType(qual_type.getTypePtr()->getPointeeType()); in GetPointeeType()
8405 ClangUtil::GetQualType(type).getTypePtr())); in CreateMemberPointerType()
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp139 llvm::dyn_cast<ConstantArrayType>(DtorTy.getTypePtr())) { in Value()
145 ArrTy->getElementType().getTypePtr()); in Value()

12345