Home
last modified time | relevance | path

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

1234

/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDTypeLoc.h111 const Type *getTypePtr() const { in getTypePtr() function
112 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
219 const Type *getTypePtr() const { in getTypePtr() function
224 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
247 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
250 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
333 Derived::classofType(TL.getTypePtr()); in isKind()
371 const TypeClass *getTypePtr() const { in getTypePtr() function
372 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
458 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
HDCanonicalType.h70 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function
216 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
220 Type Accessor() const { return this->getTypePtr()->Accessor(); }
231 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function
356 return Val.getTypePtr();
488 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
498 return param_type_iterator(this->getTypePtr()->param_type_begin());
502 return param_type_iterator(this->getTypePtr()->param_type_end());
620 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
636 if (isa<U>(Stored.getTypePtr()))
[all …]
HDDataRecursiveASTVisitor.h551 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr())); in TraverseType()
941 if (T->getBaseType().getTypePtr() != T)
966 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
997 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1016 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1056 if (TL.getTypePtr()->getSizeExpr())
1057 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1058 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1063 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1069 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
HDRecursiveASTVisitor.h621 DISPATCH(CLASS##Type, CLASS##Type, const_cast<Type *>(T.getTypePtr())); in TraverseType()
1009 if (T->getBaseType().getTypePtr() != T)
1034 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1065 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1084 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1124 if (TL.getTypePtr()->getSizeExpr())
1125 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
1126 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1131 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1137 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
[all …]
HDType.h603 const Type *getTypePtr() const;
622 return *getTypePtr();
626 return getTypePtr();
803 QualType getLocalUnqualifiedType() const { return QualType(getTypePtr(), 0); }
1082 return Val.getTypePtr();
4114 return cast<TemplateSpecializationType>(InjectedType.getTypePtr());
5016 inline const Type *QualType::getTypePtr() const {
5061 return getTypePtr()->isCanonicalUnqualified();
5068 const Type *T = getTypePtr();
5097 if (!getTypePtr()->getCanonicalTypeInternal().hasLocalQualifiers())
[all …]
HDASTContext.h1617 if (!type.getTypePtr()->isObjCObjectPointerType() || in getUnqualifiedObjCPointerType()
1695 TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); } in getTypeInfo()
1860 return T->getCanonicalTypeInternal().getTypePtr(); in getCanonicalType()
1897 return getCanonicalType(T1).getTypePtr() == in hasSameUnqualifiedType()
1898 getCanonicalType(T2).getTypePtr(); in hasSameUnqualifiedType()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDStmtIterator.cpp27 t = vt->getElementType().getTypePtr(); in FindVA()
37 p = FindVA(p->getElementType().getTypePtr()); in NextVA()
72 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl()
82 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
HDTypeLoc.cpp179 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
225 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
292 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
376 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
396 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
404 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
413 if (getTypePtr()->getQualifier()) { in initializeLocal()
415 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
425 getTypePtr()->getArgs(), in initializeLocal()
HDType.cpp47 const Type* ty = getTypePtr(); in getBaseTypeIdentifier()
193 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
202 ->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual()
317 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar()
350 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType()
1526 return Visit(T.getTypePtr()); in Visit()
1809 const Type *T = CanonicalType.getTypePtr(); in getScalarTypeKind()
1958 QualType CanonicalType = getTypePtr()->CanonicalType; in isCXX98PODType()
2022 QualType CanonicalType = getTypePtr()->CanonicalType; in isTrivialType()
2214 const Type *ty = getTypePtr(); in isCXX11PODType()
[all …]
HDASTContext.cpp1361 Align = std::max(Align, getPreferredTypeAlign(T.getTypePtr())); in getDeclAlign()
1452 return getTypeInfoInChars(T.getTypePtr()); in getTypeInfoInChars()
1460 return isAlignmentRequired(T.getTypePtr()); in isAlignmentRequired()
1492 return getTypeInfo(cast<Class##Type>(T)->desugar().getTypePtr()); in getTypeInfoImpl()
1685 return getTypeInfo(cast<ObjCObjectType>(T)->getBaseType().getTypePtr()); in getTypeInfoImpl()
1688 return getTypeInfo(cast<AdjustedType>(T)->getAdjustedType().getTypePtr()); in getTypeInfoImpl()
1728 getReplacementType().getTypePtr()); in getTypeInfoImpl()
1734 return getTypeInfo(A->getDeducedType().getTypePtr()); in getTypeInfoImpl()
1738 return getTypeInfo(cast<ParenType>(T)->getInnerType().getTypePtr()); in getTypeInfoImpl()
1742 TypeInfo Info = getTypeInfo(Typedef->getUnderlyingType().getTypePtr()); in getTypeInfoImpl()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Symbol/
HDClangASTType.cpp68 … const clang::ArrayType *array_type = llvm::dyn_cast<clang::ArrayType>(qual_type.getTypePtr()); in GetCompleteQualType()
78 const clang::TagType *tag_type = llvm::dyn_cast<clang::TagType>(qual_type.getTypePtr()); in GetCompleteQualType()
400 …length = llvm::cast<clang::ConstantArrayType>(GetCanonicalQualType().getTypePtr())->getSize().getL… in IsCStringType()
420 …nProtoType *function_proto_type = llvm::dyn_cast<clang::FunctionProtoType>(qual_type.getTypePtr()); in IsFunctionType()
444 …st clang::ReferenceType *reference_type = llvm::cast<clang::ReferenceType>(qual_type.getTypePtr()); in IsFunctionType()
475 … const clang::RecordType *record_type = llvm::cast<clang::RecordType>(qual_type.getTypePtr()); in IsHomogeneousAggregate()
503 … if (field_qual_type.getTypePtr() != base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
510 … const clang::VectorType *array = field_qual_type.getTypePtr()->getAs<clang::VectorType>(); in IsHomogeneousAggregate()
520 … if (field_qual_type.getTypePtr() != base_qual_type.getTypePtr()) in IsHomogeneousAggregate()
556 … clang::FunctionProtoType* func = llvm::dyn_cast<clang::FunctionProtoType>(qual_type.getTypePtr()); in GetNumberOfFunctionArguments()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
HDObjCContainersASTChecker.cpp49 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType()
60 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
HDMallocSizeofChecker.cpp147 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
HDGenericTaintChecker.cpp162 (E->getType().getTypePtr()->isPointerType() && in isTaintedOrPointsToTainted()
438 dyn_cast<PointerType>(Arg->getType().getCanonicalType().getTypePtr()); in getPointedToSymbol()
489 const Type *ArgTy = Arg->getType().getTypePtr(); in process()
599 dyn_cast<PointerType>(D->getType().getTypePtr())) in isStdin()
HDCastSizeChecker.cpp95 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenTBAA.cpp98 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
214 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
243 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
296 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
HDCodeGenTypes.cpp121 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
267 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
302 const Type *Ty = T.getTypePtr(); in ConvertType()
638 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
701 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTCommon.h58 if (const BuiltinType *BT = dyn_cast<BuiltinType>(T.getTypePtr())) in MakeTypeID()
/NextBSD/contrib/llvm/tools/clang/include/clang/CodeGen/
HDCGFunctionInfo.h312 return forPrototype(prototype.getTypePtr()); in forPrototype()
317 return forPrototypePlus(prototype.getTypePtr(), additional); in forPrototypePlus()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransBlockObjCVariable.cpp106 if (isa<AttributedType>(ty.getTypePtr())) in isImplicitStrong()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDPseudoConstantAnalysis.cpp181 if (!VD->getType().getTypePtr()->isReferenceType()) in RunAnalysis()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDTreeTransform.h3883 SpecTL.getTypePtr()->getTemplateName(), in TransformTSIInObjectScope()
3897 *SpecTL.getTypePtr()->getIdentifier(), in TransformTSIInObjectScope()
4033 const ReferenceType *T = TL.getTypePtr(); in TransformReferenceType()
4096 const MemberPointerType *T = TL.getTypePtr(); in TransformMemberPointerType()
4136 const ConstantArrayType *T = TL.getTypePtr(); in TransformConstantArrayType()
4177 const IncompleteArrayType *T = TL.getTypePtr(); in TransformIncompleteArrayType()
4205 const VariableArrayType *T = TL.getTypePtr(); in TransformVariableArrayType()
4244 const DependentSizedArrayType *T = TL.getTypePtr(); in TransformDependentSizedArrayType()
4292 const DependentSizedExtVectorType *T = TL.getTypePtr(); in TransformDependentSizedExtVectorType()
4335 const VectorType *T = TL.getTypePtr(); in TransformVectorType()
[all …]
HDSemaTemplateVariadic.cpp54 if (TL.getTypePtr()->isParameterPack()) in VisitTemplateTypeParmTypeLoc()
55 Unexpanded.push_back(std::make_pair(TL.getTypePtr(), TL.getNameLoc())); in VisitTemplateTypeParmTypeLoc()
893 NumExpansions = Expansion.getTypePtr()->getNumExpansions(); in getTemplateArgumentPackExpansionPattern()
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/
HDASTMatchFinder.cpp364 const Type *TypeNode = DeclNode->getUnderlyingType().getTypePtr(); in VisitTypedefNameDecl()
795 return getAsCXXRecordDecl(AliasDecl->getUnderlyingType().getTypePtr()); in getAsCXXRecordDecl()
807 const Type *TypeNode = It.getType().getTypePtr(); in classIsDerivedFrom()

1234