Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeLoc.h135 const Type *getTypePtr() const { in getTypePtr() function
250 const Type *getTypePtr() const { in getTypePtr() function
403 const TypeClass *getTypePtr() const { in getTypePtr() function
496 const TypeClass *getTypePtr() const { in getTypePtr() function
669 return getTypePtr()->getDecl(); in getTypedefNameDecl()
681 return getTypePtr()->getDecl(); in getDecl()
692 return getTypePtr()->getDecl(); in getDecl()
855 return getTypePtr()->getAttrKind(); in getAttrKind()
1055 return getTypePtr()->getDecl(); in getIFaceDecl()
1245 return getTypePtr()->getClass(); in getClass()
[all …]
H A DCanonicalType.h84 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
231 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
235 Type Accessor() const { return this->getTypePtr()->Accessor(); }
246 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.h1093 if (T->getBaseType().getTypePtr() != T)
1151 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1209 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1215 if (TL.getTypePtr()->getSizeExpr())
1216 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1217 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1226 if (TL.getTypePtr()->getSizeExpr())
1227 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1244 const FunctionProtoType *T = TL.getTypePtr();
1346 if (TL.getTypePtr()->getBaseType().getTypePtr() != TL.getTypePtr())
[all …]
H A DType.h672 const Type *getTypePtr() const;
692 return *getTypePtr();
696 return getTypePtr();
1240 return Val.getTypePtr();
6124 const Type *T = getTypePtr();
6154 return QualType(getTypePtr(), 0);
6254 getTypePtr()->isFunctionType());
6781 Ty = A->getModifiedType().getTypePtr();
6783 Ty = E->desugar().getTypePtr();
6785 Ty = P->desugar().getTypePtr();
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DQualTypeNames.cpp150 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
182 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
375 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
387 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType()
389 bool IsLValueRefTy = isa<LValueReferenceType>(QT.getTypePtr()); in getFullyQualifiedType()
407 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType()
422 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
430 Prefix = createNestedNameSpecifierForScopeOf(Ctx, QT.getTypePtr(), in getFullyQualifiedType()
436 if (isa<const TemplateSpecializationType>(QT.getTypePtr()) || in getFullyQualifiedType()
437 isa<const RecordType>(QT.getTypePtr())) { in getFullyQualifiedType()
[all …]
H A DStmtIterator.cpp32 t = vt->getElementType().getTypePtr(); in FindVA()
42 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
77 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
87 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
H A DTypeLoc.cpp199 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
245 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
312 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
460 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
482 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal()
489 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
497 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
506 if (getTypePtr()->getQualifier()) { in initializeLocal()
508 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
518 getTypePtr()->getArgs(), in initializeLocal()
H A DType.cpp72 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
264 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
273 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
396 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
429 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
1655 return Visit(T.getTypePtr()); in Visit()
1970 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
2389 const Type *ty = getTypePtr(); in isCXX11PODType()
2816 (!getTypePtr()->isDependentType() && !getTypePtr()->isRecordType())) in getNonLValueExprType()
3451 return get(T.getTypePtr()); in get()
[all …]
H A DLinkage.h152 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo()
159 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
H A DASTContext.cpp1595 Align = getTypeInfoImpl(T.getTypePtr()).Align; in getDeclAlign()
1702 return getTypeInfoInChars(T.getTypePtr()); in getTypeInfoInChars()
1710 return isAlignmentRequired(T.getTypePtr()); in isAlignmentRequired()
2054 return getTypeInfo(A->getDeducedType().getTypePtr()); in getTypeInfoImpl()
2212 T = CT->getElementType().getTypePtr(); in getPreferredTypeAlign()
2214 T = ET->getDecl()->getIntegerType().getTypePtr(); in getPreferredTypeAlign()
2736 return cast<FunctionType>(Result.getTypePtr()); in adjustFunctionType()
5028 const Type *Ty = T.getTypePtr(); in getCanonicalParamType()
6465 if (isa<TypedefType>(PointeeTy.getTypePtr())) { in getLegacyIntegralTypeEncoding()
6700 if (isa<TypedefType>(T.getTypePtr())) { in getObjCEncodingForTypeImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp78 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
81 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
118 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
124 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
127 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
132 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
135 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
H A DCastToStructChecker.cpp46 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr()
47 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
H A DObjCContainersASTChecker.cpp49 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
60 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
H A DMallocSizeofChecker.cpp147 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
H A DDynamicTypePropagation.cpp964 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
967 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
972 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
975 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
H A DGenericTaintChecker.cpp163 if (!E->getType().getTypePtr()->isPointerType()) in isTaintedOrPointsToTainted()
501 const Type *ArgTy = Arg->getType().getTypePtr(); in process()
610 dyn_cast<PointerType>(D->getType().getTypePtr())) in isStdin()
H A DCastSizeChecker.cpp92 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp124 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
270 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
283 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass()
315 const Type *Ty = QFT.getTypePtr(); in ConvertFunctionType()
316 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionType()
386 const Type *Ty = T.getTypePtr(); in ConvertType()
699 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
762 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()
111 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl()
130 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
H A DCodeGenTBAA.cpp207 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTypeInfo()
282 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
344 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getBaseTypeInfo()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp2603 const clang::Type *clang_type = tag_qual_type.getTypePtr(); in SetTagTypeKind()
2723 llvm::cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
2729 llvm::dyn_cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
3085 GetCanonicalQualType(type).getTypePtr()) in IsCStringType()
3195 if (field_qual_type.getTypePtr() != in IsHomogeneousAggregate()
3196 base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
3211 if (field_qual_type.getTypePtr() != base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
3657 llvm::dyn_cast<clang::TagType>(qual_type.getTypePtr()); in IsDefined()
4277 if (pointee_type.getTypePtr() == in GetMinimumLanguage()
4278 getASTContext()->ObjCBuiltinIdTy.getTypePtr()) in GetMinimumLanguage()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
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-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp132 if (const auto *T = TL.getTypePtr()) { in HandleTemplateSpecializationTypeLoc()
156 const DependentNameType *DNT = TL.getTypePtr(); in VisitDependentNameTypeLoc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.h62 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()

1234