Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DTypeLoc.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 …]
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.h628 static_cast<CLASS##Type *>(const_cast<Type *>(T.getTypePtr())));
1063 if (T->getBaseType().getTypePtr() != T)
1096 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1102 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1132 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1153 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1191 TRY_TO(TraverseStmt(TL.getTypePtr()->getAddrSpaceExpr()));
1192 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1198 if (TL.getTypePtr()->getSizeExpr())
1199 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
[all …]
H A DType.h702 const Type *getTypePtr() const;
722 return *getTypePtr();
726 return getTypePtr();
907 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1318 return Val.getTypePtr();
5292 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
6427 inline const Type *QualType::getTypePtr() const {
6472 return getTypePtr()->isCanonicalUnqualified();
6479 const Type *T = getTypePtr();
6508 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DQualTypeNames.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 …]
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()
94 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass()
99 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass()
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()
1425 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType()
1502 if (const auto AT = getTypePtr()->getAs<AtomicType>()) in getAtomicUnqualifiedType()
1775 Cur = AT->getEquivalentType().getTypePtr(); in hasAttr()
[all …]
H A DLinkage.h154 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo()
161 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
H A DASTContext.cpp1742 Align = getTypeInfoImpl(T.getTypePtr()).Align; in getDeclAlign()
1756 Align = std::max(Align, getPreferredTypeAlign(T.getTypePtr())); in getDeclAlign()
1761 uint64_t TypeSize = getTypeSize(T.getTypePtr()); in getDeclAlign()
1860 return getTypeInfoInChars(T.getTypePtr()); in getTypeInfoInChars()
1868 return isAlignmentRequired(T.getTypePtr()); in isAlignmentRequired()
1926 return getTypeInfo(cast<Class##Type>(T)->desugar().getTypePtr()); in getTypeInfoImpl()
2246 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
2249 return getTypeInfo(cast<AdjustedType>(T)->getAdjustedType().getTypePtr()); in getTypeInfoImpl()
2303 getReplacementType().getTypePtr()); in getTypeInfoImpl()
2310 return getTypeInfo(A->getDeducedType().getTypePtr()); in getTypeInfoImpl()
[all …]
/netbsd-src/external/apache2/llvm/dist/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.cpp146 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
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()
H A DNonnullGlobalConstantsChecker.cpp111 while (const Type *T = Ty.getTypePtr()) { in isGlobalConstString()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTCommon.h62 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp105 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()

12345