Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DTypeLoc.h136 const Type *getTypePtr() const { in getTypePtr() function
256 const Type *getTypePtr() const { in getTypePtr() function
409 const TypeClass *getTypePtr() const { in getTypePtr() function
502 const TypeClass *getTypePtr() const { in getTypePtr() function
675 return getTypePtr()->getDecl(); in getTypedefNameDecl()
687 return getTypePtr()->getDecl(); in getDecl()
698 return getTypePtr()->getDecl(); in getDecl()
857 return getTypePtr()->getAttrKind(); in getAttrKind()
1046 return getTypePtr()->getDecl(); in getIFaceDecl()
1269 return getTypePtr()->getClass(); in getClass()
[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
373 return Val.getTypePtr();
510 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
520 return param_type_iterator(this->getTypePtr()->param_type_begin());
524 return param_type_iterator(this->getTypePtr()->param_type_end());
644 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
660 if (isa<U>(Stored.getTypePtr()))
[all …]
H A DRecursiveASTVisitor.h1061 if (T->getBaseType().getTypePtr() != T)
1130 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1190 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1196 if (TL.getTypePtr()->getSizeExpr())
1197 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1198 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1207 if (TL.getTypePtr()->getSizeExpr())
1208 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1237 const FunctionProtoType *T = TL.getTypePtr();
1348 if (TL.getTypePtr()->getBaseType().getTypePtr() != TL.getTypePtr())
[all …]
H A DType.h702 const Type *getTypePtr() const;
722 return *getTypePtr();
726 return getTypePtr();
1318 return Val.getTypePtr();
6479 const Type *T = getTypePtr();
6509 return QualType(getTypePtr(), 0);
6632 getTypePtr()->isFunctionType());
7195 Ty = E->desugar().getTypePtr();
7197 Ty = P->desugar().getTypePtr();
7199 Ty = A->desugar().getTypePtr();
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DQualTypeNames.cpp147 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
179 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
380 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
390 if (auto *MPT = dyn_cast<MemberPointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
397 QT = Ctx.getMemberPointerType(QT, Class.getTypePtr()); in getFullyQualifiedType()
405 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType()
425 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType()
440 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
454 if (isa<const TemplateSpecializationType>(QT.getTypePtr()) || in getFullyQualifiedType()
455 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.cpp200 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
246 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
319 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
479 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
514 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal()
521 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
529 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
538 if (getTypePtr()->getQualifier()) { in initializeLocal()
540 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
550 getTypePtr()->getArgs(), in initializeLocal()
[all …]
H A DType.cpp74 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
372 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
381 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
516 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
549 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
1795 return Visit(T.getTypePtr()); in Visit()
2147 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
2659 const Type *ty = getTypePtr(); in isCXX11PODType()
3124 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
3777 return get(T.getTypePtr()); in get()
[all …]
H A DLinkage.h154 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo()
161 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp77 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
80 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
115 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
121 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
124 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
129 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
132 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 DMallocSizeofChecker.cpp150 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
H A DNonnullGlobalConstantsChecker.cpp111 while (const Type *T = Ty.getTypePtr()) { in isGlobalConstString()
H A DDynamicTypePropagation.cpp1078 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
1081 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
1086 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
1089 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DProgram.cpp171 Desc = createDescriptor(D, Ty.getTypePtr(), IsConst, IsTemporary); in createGlobal()
281 Desc = createDescriptor(FD, FT.getTypePtr(), IsConst, in getOrCreateRecord()
323 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); in createDescriptor()
342 createDescriptor(D, ElemTy.getTypePtr(), IsConst, IsTemporary); in createDescriptor()
353 const Type *InnerTy = AT->getValueType().getTypePtr(); in createDescriptor()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp155 auto *T = TL.getTypePtr(); in VisitTemplateSpecializationTypeLoc()
167 if (!TraverseTemplateName(TL.getTypePtr()->getTemplateName())) in TraverseTemplateSpecializationTypeLoc()
185 auto *T = TL.getTypePtr(); in VisitDeducedTemplateSpecializationTypeLoc()
200 const DependentNameType *DNT = TL.getTypePtr(); in VisitDependentNameTypeLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp92 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem()
135 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
281 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
294 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass()
327 const Type *Ty = QFT.getTypePtr(); in ConvertFunctionTypeInternal()
328 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionTypeInternal()
398 const Type *Ty = T.getTypePtr(); in ConvertType()
813 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
875 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
H A DObjectFilePCHContainerOperations.cpp86 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitTypeDecl()
93 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitObjCInterfaceDecl()
110 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl()
129 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
H A DCodeGenTBAA.cpp244 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
321 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
385 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getBaseTypeInfo()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2684 llvm::cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
2977 GetCanonicalQualType(type).getTypePtr()) in IsCStringType()
3058 if (field_qual_type.getTypePtr() != in IsHomogeneousAggregate()
3059 base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
3074 if (field_qual_type.getTypePtr() != base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
3430 llvm::dyn_cast<clang::TagType>(qual_type.getTypePtr()); in IsDefined()
4004 if (pointee_type.getTypePtr() == in GetMinimumLanguage()
4005 getASTContext().ObjCBuiltinIdTy.getTypePtr()) in GetMinimumLanguage()
4499 return GetType(qual_type.getTypePtr()->getPointeeType()); in GetPointeeType()
8352 ClangUtil::GetQualType(type).getTypePtr())); in CreateMemberPointerType()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DIssueHash.cpp59 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr()); in GetSignature()
72 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) { in GetSignature()
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTCommon.h62 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp105 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()

12345