Home
last modified time | relevance | path

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

12345678910

/external/clang/include/clang/AST/
DTypeLoc.h111 const Type *getTypePtr() const { in getTypePtr() function
112 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr()
227 const Type *getTypePtr() const { in getTypePtr() function
232 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass()
255 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc()
258 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc()
341 Derived::classofType(TL.getTypePtr()); in isKind()
379 const TypeClass *getTypePtr() const { in getTypePtr() function
380 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr()
466 Derived::classofType(TL.getTypePtr()); in isKind()
[all …]
DCanonicalType.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();
491 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
501 return param_type_iterator(this->getTypePtr()->param_type_begin());
505 return param_type_iterator(this->getTypePtr()->param_type_end());
623 assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
639 if (isa<U>(Stored.getTypePtr()))
[all …]
/external/llvm-project/clang/include/clang/AST/
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 …]
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 …]
DRecursiveASTVisitor.h621 static_cast<CLASS##Type *>(const_cast<Type *>(T.getTypePtr())));
1050 if (T->getBaseType().getTypePtr() != T)
1083 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1089 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \
1119 TRY_TO(TraverseType(TL.getTypePtr()->getElementType()));
1140 TRY_TO(TraverseType(QualType(TL.getTypePtr()->getClass(), 0)));
1178 TRY_TO(TraverseStmt(TL.getTypePtr()->getAddrSpaceExpr()));
1179 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType()));
1185 if (TL.getTypePtr()->getSizeExpr())
1186 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr()));
[all …]
/external/llvm-project/clang/lib/AST/
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 …]
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()
DTypeLoc.cpp200 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
246 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
319 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
477 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
512 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal()
519 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
527 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
536 if (getTypePtr()->getQualifier()) { in initializeLocal()
538 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
548 getTypePtr()->getArgs(), in initializeLocal()
[all …]
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp163 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
195 return QT.getTypePtr(); in getFullyQualifiedTemplateType()
388 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType()
400 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType()
402 bool IsLValueRefTy = isa<LValueReferenceType>(QT.getTypePtr()); in getFullyQualifiedType()
420 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType()
424 QT = dyn_cast<SubstTemplateTypeParmType>(QT.getTypePtr())->desugar(); in getFullyQualifiedType()
435 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType()
437 if (const auto *ETypeInput = dyn_cast<ElaboratedType>(QT.getTypePtr())) { in getFullyQualifiedType()
443 Prefix = createNestedNameSpecifierForScopeOf(Ctx, QT.getTypePtr(), in getFullyQualifiedType()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DExpectedTypes.cpp29 return Ctx.BoolTy.getTypePtr(); in toEquivClass()
31 return Ctx.IntTy.getTypePtr(); // All integers are equivalent. in toEquivClass()
33 return Ctx.FloatTy.getTypePtr(); // All floats are equivalent. in toEquivClass()
38 .getTypePtr(); in toEquivClass()
41 return T.getTypePtr(); in toEquivClass()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
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()
/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypeChecker.cpp80 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
83 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError()
124 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
130 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
133 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
138 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode()
141 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
DCastToStructChecker.cpp41 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in checkPreStmt()
42 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in checkPreStmt()
/external/clang/lib/AST/
DStmtIterator.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()
DTypeLoc.cpp179 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
225 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc()
292 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec()
400 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal()
420 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
428 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
437 if (getTypePtr()->getQualifier()) { in initializeLocal()
439 Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc); in initializeLocal()
449 getTypePtr()->getArgs(), in initializeLocal()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DIsolateDeclarationCheck.cpp64 Pointee->getReturnType().IgnoreParens().getTypePtr(), ++Indirections); in countIndirections()
71 return countIndirections(AT->getElementType().IgnoreParens().getTypePtr(), in countIndirections()
75 return countIndirections(T->getPointeeType().IgnoreParens().getTypePtr(), in countIndirections()
87 return typeIsMemberPointer(T->getPointeeType().getTypePtr()); in typeIsMemberPointer()
134 if (typeIsMemberPointer(FirstDecl->getType().IgnoreParens().getTypePtr())) in declRanges()
143 countIndirections(FirstDecl->getType().IgnoreParens().getTypePtr()), SM, in declRanges()
184 if (typeIsMemberPointer(CurrentDecl->getType().IgnoreParens().getTypePtr())) in declRanges()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DFixItHintUtils.cpp34 static bool isValueType(QualType QT) { return isValueType(QT.getTypePtr()); } in isValueType()
37 isa<MemberPointerType>(QT.getTypePtr()); in isMemberOrFunctionPointer()
209 ParenStrippedType->getPointeeType().getTypePtr(), in addQualifierToVarDecl()
220 return changePointer(Var, Qualifier, AT->getPointeeType().getTypePtr(), in addQualifierToVarDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DUncountedLocalVarsChecker.cpp59 auto *T = QT.getTypePtr(); in isRefcountedStringsHack()
168 const auto *ArgType = V->getType().getTypePtr(); in visitVarDecl()
191 MaybeGuardian->getType().getTypePtr(); in visitVarDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DAvoidCArraysCheck.cpp24 const clang::Type *TypeNode = Node.getTypePtr(); in AST_MATCHER_P()
66 ArrayType->getTypePtr()->isVariableArrayType() ? UseVector : UseArray); in check()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp120 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr(); in isSafeToConvert()
266 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType()
279 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass()
311 const Type *Ty = QFT.getTypePtr(); in ConvertFunctionType()
312 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionType()
382 const Type *Ty = T.getTypePtr(); in ConvertType()
661 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
724 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
DCodeGenTBAA.cpp102 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAInfo()
217 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructInfo()
246 const Type *Ty = Context.getCanonicalType(QTy).getTypePtr(); in getTBAAStructTypeInfo()
298 const Type *BTy = Context.getCanonicalType(BaseQTy).getTypePtr(); in getTBAAStructTagInfo()
/external/llvm-project/clang/lib/AST/Interp/
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()
/external/llvm-project/clang/lib/Index/
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()
/external/llvm-project/clang/lib/CodeGen/
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()
804 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType()
866 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExpandAutoType.cpp91 if (!Result.getTypePtr()->isDecltypeAuto() && in prepare()
121 if (DeducedType->getTypePtr()->isFunctionPointerType()) { in apply()

12345678910