Home
last modified time | relevance | path

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

12345

/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDTypeLoc.h136 const Type *getTypePtr() const { in getTypePtr() function
137 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
256 const Type *getTypePtr() const { in getTypePtr() function
261 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
283 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
286 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
370 Derived::classofType(TL.getTypePtr()); in isKind()
409 const TypeClass *getTypePtr() const { in getTypePtr() function
410 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
495 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
HDCanonicalType.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
371 return Val.getTypePtr();
508 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
518 return param_type_iterator(this->getTypePtr()->param_type_begin());
522 return param_type_iterator(this->getTypePtr()->param_type_end());
642 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
658 if (isa<U>(Stored.getTypePtr()))
[all …]
HDRecursiveASTVisitor.h684 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr()));
1104 if (T->getBaseType().getTypePtr() != T)
1131 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1162 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1183 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1221 TRY_TO(TraverseStmt(TL.getTypePtr()->getAddrSpaceExpr()));
1222 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1228 if (TL.getTypePtr()->getSizeExpr())
1229 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1230 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
HDType.h688 const Type *getTypePtr() const;
708 return *getTypePtr();
712 return getTypePtr();
893 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1283 return Val.getTypePtr();
5169 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
6256 inline const Type *QualType::getTypePtr() const {
6301 return getTypePtr()->isCanonicalUnqualified();
6308 const Type *T = getTypePtr();
6337 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDQualTypeNames.cpp147 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
179 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
372 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
382 if (auto *MPT = dyn_cast<MemberPointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
389 QT = Ctx.getMemberPointerType(QT, Class.getTypePtr()); in getFullyQualifiedType()
397 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType()
399 bool IsLValueRefTy = isa<LValueReferenceType>(QT.getTypePtr()); in getFullyQualifiedType()
417 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType()
421 QT = cast<SubstTemplateTypeParmType>(QT.getTypePtr())->desugar(); in getFullyQualifiedType()
432 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
[all …]
HDStmtIterator.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()
HDTypeLoc.cpp200 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
246 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
319 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
470 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
505 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal()
512 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
520 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
529 if (getTypePtr()->getQualifier()) { in initializeLocal()
531 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
541 getTypePtr()->getArgs(), in initializeLocal()
[all …]
HDType.cpp73 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
93 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass()
98 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass()
304 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
313 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
448 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
481 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
1362 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType()
1439 if (const auto AT = getTypePtr()->getAs<AtomicType>()) in getAtomicUnqualifiedType()
1712 Cur = AT->getEquivalentType().getTypePtr(); in hasAttr()
[all …]
HDLinkage.h151 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo()
158 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDDynamicTypeChecker.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()
HDCastToStructChecker.cpp45 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr()
46 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
HDObjCContainersASTChecker.cpp48 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
59 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
HDMallocSizeofChecker.cpp146 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
HDDynamicTypePropagation.cpp954 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
957 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
962 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
965 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
HDNonnullGlobalConstantsChecker.cpp111 while (const Type *T = Ty.getTypePtr()) { in isGlobalConstString()
HDCastSizeChecker.cpp91 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
HDProgram.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-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenTypes.cpp123 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
269 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
282 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass()
313 const Type *Ty = QFT.getTypePtr(); in ConvertFunctionTypeInternal()
314 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionTypeInternal()
384 const Type *Ty = T.getTypePtr(); in ConvertType()
715 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
777 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
HDObjectFilePCHContainerOperations.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()
HDCodeGenTBAA.cpp207 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
284 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
348 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getBaseTypeInfo()
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
HDClangASTContext.cpp1854 llvm::dyn_cast<clang::FunctionProtoType>(method_qual_type.getTypePtr()); in GetDeclarationName()
2307 const clang::Type *clang_type = tag_qual_type.getTypePtr(); in SetTagTypeKind()
2385 return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr()) in GetDeclContextForType()
2389 llvm::cast<clang::ObjCObjectPointerType>(qual_type.getTypePtr()) in GetDeclContextForType()
2412 llvm::dyn_cast<clang::ArrayType>(qual_type.getTypePtr()); in GetCompleteQualType()
2445 llvm::cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
2451 llvm::dyn_cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
2732 GetCanonicalQualType(type).getTypePtr()) in IsCStringType()
2750 llvm::dyn_cast<clang::FunctionProtoType>(qual_type.getTypePtr()); in IsFunctionType()
2766 llvm::cast<clang::ReferenceType>(qual_type.getTypePtr()); in IsFunctionType()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
HDIndexTypeSourceInfo.cpp154 auto *T = TL.getTypePtr(); in VisitTemplateSpecializationTypeLoc()
164 auto *T = TL.getTypePtr(); in VisitDeducedTemplateSpecializationTypeLoc()
174 const DependentNameType *DNT = TL.getTypePtr(); in VisitDependentNameTypeLoc()
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDIssueHash.cpp58 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr()); in GetSignature()
71 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) { in GetSignature()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTCommon.h62 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransBlockObjCVariable.cpp105 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()

12345