Home
last modified time | relevance | path

Searched refs:TInfo (Results 1 – 25 of 60) sorted by relevance

123

/openbsd/gnu/llvm/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp60 void lookForAttribute(Decl *D, TypeSourceInfo *TInfo) { in lookForAttribute() argument
61 if (!TInfo) in lookForAttribute()
63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
239 TypeSourceInfo *TInfo = PD->getTypeSourceInfo(); in checkAllAtProps() local
240 if (!TInfo) in checkAllAtProps()
242 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
246 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in checkAllAtProps()
248 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong) in checkAllAtProps()
/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclarationName.cpp422 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in containsUnexpandedParameterPack() local
423 return TInfo->getType()->containsUnexpandedParameterPack(); in containsUnexpandedParameterPack()
445 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in isInstantiationDependent() local
446 return TInfo->getType()->isInstantiationDependentType(); in isInstantiationDependent()
482 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) { in printName() local
490 OS << TInfo->getType().getAsString(Policy); in printName()
513 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in getEndLocPrivate() local
514 return TInfo->getTypeLoc().getEndLoc(); in getEndLocPrivate()
H A DDeclTemplate.cpp721 unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl() argument
741 TypeSourceInfo *TInfo) { in Create() argument
749 TInfo); in Create()
757 AutoType *AT = TInfo->getType()->getContainedAutoType(); in Create()
762 NonTypeTemplateParmDecl(DC, StartLoc, IdLoc, D, P, Id, T, TInfo, in Create()
1342 SpecializedTemplate->getIdentifier(), T, TInfo, S), in VarTemplateSpecializationDecl()
1359 SpecializedTemplate, T, TInfo, S, Args); in Create()
1419 TInfo, S, Args), in VarTemplatePartialSpecializationDecl()
1486 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo( in createMakeIntegerSeqParameterList() local
1490 /*Id=*/nullptr, TInfo->getType(), /*ParameterPack=*/false, TInfo); in createMakeIntegerSeqParameterList()
[all …]
H A DDeclCXX.cpp2120 TInfo, EndLocation, Ctor); in Create()
2237 CXXMethod, C, RD, StartLoc, NameInfo, T, TInfo, SC, UsesFPIntrin, in Create()
2565 TypeSourceInfo *TInfo, in CXXCtorInitializer() argument
2568 : Initializee(TInfo), Init(Init), LParenLoc(L), RParenLoc(R), in CXXCtorInitializer()
2616 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, in CXXConstructorDecl() argument
2620 : CXXMethodDecl(CXXConstructor, C, RD, StartLoc, NameInfo, T, TInfo, in CXXConstructorDecl()
2656 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, in Create() argument
2667 C, RD, StartLoc, NameInfo, T, TInfo, ES, UsesFPIntrin, isInline, in Create()
2797 C, RD, StartLoc, NameInfo, T, TInfo, UsesFPIntrin, isInline, in Create()
2831 C, RD, StartLoc, NameInfo, T, TInfo, UsesFPIntrin, isInline, ES, in Create()
[all …]
H A DDecl.cpp1945 getExtInfo()->TInfo = savedTInfo; in setQualifierInfo()
1964 getExtInfo()->TInfo = savedTInfo; in setTrailingRequiresClause()
1980 getExtInfo()->TInfo = savedTInfo; in setTemplateParameterListsInfo()
2028 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange() local
2031 if (!getDeclName() || typeIsPostfix(TInfo->getType())) in getSourceRange()
2074 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in VarDecl()
5229 TypeSourceInfo *TInfo) { in Create() argument
5240 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange() local
5241 if (typeIsPostfix(TInfo->getType())) in getSourceRange()
5249 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) in getSourceRange() local
[all …]
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclarationName.h667 TypeSourceInfo *TInfo; member
691 void setNamedTypeLoc(TypeSourceInfo *TInfo) { NamedType.TInfo = TInfo; } in setNamedTypeLoc() argument
709 TypeSourceInfo *getNamedTypeInfo() const { return NamedType.TInfo; } in getNamedTypeInfo()
738 static DeclarationNameLoc makeNamedTypeLoc(TypeSourceInfo *TInfo) { in makeNamedTypeLoc() argument
740 DNL.setNamedTypeLoc(TInfo); in makeNamedTypeLoc()
816 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
820 LocInfo = DeclarationNameLoc::makeNamedTypeLoc(TInfo); in setNamedTypeInfo()
H A DLocInfoType.h37 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType() argument
38 : Type((TypeClass)LocInfo, ty, ty->getDependence()), DeclInfo(TInfo) { in LocInfoType()
H A DDeclCXX.h184 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier() argument
186 Access(A), InheritConstructors(false), BaseTypeInfo(TInfo) {} in CXXBaseSpecifier()
1925 TypeSourceInfo *TInfo, SourceLocation EndLocation,
2001 QualType T, TypeSourceInfo *TInfo, StorageClass SC,
2281 CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo,
2462 TypeSourceInfo *TInfo, ExplicitSpecifier ES,
2729 : CXXMethodDecl(CXXDestructor, C, RD, StartLoc, NameInfo, T, TInfo, in CXXMethodDecl() argument
2785 : CXXMethodDecl(CXXConversion, C, RD, StartLoc, NameInfo, T, TInfo, in CXXMethodDecl() argument
4085 TypeSourceInfo *TInfo, StorageClass SC, in DecompositionDecl() argument
4105 QualType T, TypeSourceInfo *TInfo,
[all …]
H A DDecl.h772 TypeSourceInfo *TInfo; member
798 ? getExtInfo()->TInfo in getTypeSourceInfo()
804 getExtInfo()->TInfo = TI; in setTypeSourceInfo()
1089 TypeSourceInfo *TInfo, StorageClass SC);
1119 TypeSourceInfo *TInfo, StorageClass S);
1733 : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) { in ParmVarDecl()
1745 QualType T, TypeSourceInfo *TInfo,
2994 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), in FieldDecl()
3305 IdentifierInfo *Id, TypeSourceInfo *TInfo) in TypedefNameDecl() argument
3307 MaybeModedTInfo(TInfo, 0) {} in TypedefNameDecl()
[all …]
H A DDeclFriend.h160 else if (TypeSourceInfo *TInfo = getFriendType()) { in getSourceRange() local
165 return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
H A DExpr.h2580 Argument.Ty = TInfo; in UnaryExprOrTypeTraitExpr()
2622 void setArgument(TypeSourceInfo *TInfo) { in setArgument() argument
2623 Argument.Ty = TInfo; in setArgument()
3707 TypeSourceInfo *TInfo; variable
3714 TInfo(writtenTy) { in ExplicitCastExpr()
4475 TypeSourceInfo *TInfo; variable
4496 return TInfo; in getTypeSourceInfo()
4499 TInfo = ti; in setTypeSourceInfo()
4642 llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfo; variable
4648 TInfo(TInfo, IsMS), BuiltinLoc(BLoc), RParenLoc(RPLoc) { in VAArgExpr()
[all …]
H A DDeclTemplate.h1443 bool ParameterPack, TypeSourceInfo *TInfo)
1444 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1450 TypeSourceInfo *TInfo,
1458 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1463 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
2746 QualType T, TypeSourceInfo *TInfo,
2760 TypeSourceInfo *TInfo, StorageClass S,
2977 VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo,
2996 TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args,
H A DTemplateBase.h469 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo)
470 : Argument(Argument), LocInfo(TInfo) {
H A DDeclObjC.h346 void setReturnTypeSourceInfo(TypeSourceInfo *TInfo) { ReturnTInfo = TInfo; } in setReturnTypeSourceInfo() argument
1554 if (TypeSourceInfo *TInfo = getSuperClassTInfo()) in getSuperClassType() local
1555 return TInfo->getType()->castAs<ObjCObjectType>(); in getSuperClassType()
1950 QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, in ObjCIvarDecl() argument
1952 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1960 TypeSourceInfo *TInfo,
H A DDeclOpenMP.h388 QualType Type, TypeSourceInfo *TInfo, in OMPCapturedExprDecl() argument
390 : VarDecl(OMPCapturedExpr, C, DC, StartLoc, StartLoc, Id, Type, TInfo, in OMPCapturedExprDecl()
/openbsd/gnu/llvm/clang/lib/Index/
H A DIndexTypeSourceInfo.cpp245 void IndexingContext::indexTypeSourceInfo(TypeSourceInfo *TInfo, in indexTypeSourceInfo() argument
250 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
253 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC, isBase, isIBType); in indexTypeSourceInfo()
H A DIndexingContext.h100 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent,
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGAtomic.cpp825 auto TInfo = getContext().getTypeInfoInChars(AtomicTy); in EmitAtomicExpr() local
826 uint64_t Size = TInfo.Width.getQuantity(); in EmitAtomicExpr()
830 bool Misaligned = (Ptr.getAlignment() % TInfo.Width) != 0; in EmitAtomicExpr()
841 << (int)TInfo.Width.getQuantity() in EmitAtomicExpr()
1137 MemTy, E->getExprLoc(), TInfo.Width); in EmitAtomicExpr()
1151 MemTy, E->getExprLoc(), TInfo.Width); in EmitAtomicExpr()
1164 MemTy, E->getExprLoc(), TInfo.Width); in EmitAtomicExpr()
1199 MemTy, E->getExprLoc(), TInfo.Width); in EmitAtomicExpr()
1212 MemTy, E->getExprLoc(), TInfo.Width); in EmitAtomicExpr()
1237 MemTy, E->getExprLoc(), TInfo.Width); in EmitAtomicExpr()
[all …]
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaType.cpp3109 if (TInfo) *TInfo = nullptr; in GetTypeFromParser()
3119 if (TInfo) *TInfo = DI; in GetTypeFromParser()
5262 if (TInfo) { in GetFullTypeForDeclarator()
5274 if (TInfo) { in GetFullTypeForDeclarator()
6127 if (!TInfo) { in VisitTemplateSpecializationTypeLoc()
6191 if (TInfo) in VisitElaboratedTypeLoc()
6209 assert(TInfo); in VisitDependentNameTypeLoc()
6217 assert(TInfo); in VisitDependentTemplateSpecializationTypeLoc()
6265 assert(TInfo); in VisitAtomicTypeLoc()
6569 return TInfo; in GetTypeSourceInfoForDeclarator()
[all …]
H A DSemaExprCXX.cpp679 TypeSourceInfo *TInfo = nullptr; in ActOnCXXTypeid() local
685 if (!TInfo) in ActOnCXXTypeid()
793 TypeSourceInfo *TInfo = nullptr; in ActOnCXXUuidof() local
799 if (!TInfo) in ActOnCXXUuidof()
1435 TypeSourceInfo *TInfo; in ActOnCXXTypeConstructExpr() local
1437 if (!TInfo) in ActOnCXXTypeConstructExpr()
1460 QualType Ty = TInfo->getType(); in BuildCXXTypeConstructExpr()
1903 QualType AllocType = TInfo->getType(); in ActOnCXXNew()
5588 TypeSourceInfo *TInfo; in ActOnTypeTrait() local
5590 if (!TInfo) in ActOnTypeTrait()
[all …]
H A DSemaDecl.cpp5862 TypeSourceInfo *TInfo; in GetNameFromUnqualifiedId() local
5873 TypeSourceInfo *TInfo; in GetNameFromUnqualifiedId() local
5906 TypeSourceInfo *TInfo; in GetNameFromUnqualifiedId() local
6305 QualType R = TInfo->getType(); in HandleDeclarator()
6583 TInfo = FixedTInfo; in tryToFixVariablyModifiedVarType()
6669 TypedefDecl *NewTD = ParseTypedefDecl(S, D, TInfo->getType(), TInfo); in ActOnTypedefDeclarator()
6690 QualType T = TInfo->getType(); in CheckTypedefForVariablyModifiedType()
7416 QualType R = TInfo->getType(); in ActOnVariableDeclarator()
9579 QualType R = TInfo->getType(); in ActOnFunctionDeclarator()
16262 if (!TInfo) { in ParseTypedefDecl()
[all …]
H A DSemaTemplateInstantiateDecl.cpp1997 = TInfo->getType()->castAs<FunctionProtoType>(); in adjustFunctionTypeForInstantiation()
1999 return TInfo->getType(); in adjustFunctionTypeForInstantiation()
2051 TypeSourceInfo *TInfo = SubstFunctionType(D, Params); in VisitFunctionDecl() local
2052 if (!TInfo) in VisitFunctionDecl()
2110 InstantiatedExplicitSpecifier, NameInfo, T, TInfo, in VisitFunctionDecl()
2441 TypeSourceInfo *TInfo = SubstFunctionType(D, Params); in VisitCXXMethodDecl() local
2442 if (!TInfo) in VisitCXXMethodDecl()
2503 SemaRef.Context, Record, StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
4027 TInfo = NewTInfo; in adjustForRewrite()
5712 if (!TInfo) { in InstantiateMemInitializers()
[all …]
H A DSemaDeclCXX.cpp830 QualType R = TInfo->getType(); in ActOnDecompositionDeclarator()
2543 QualType BaseType = TInfo->getType(); in CheckBaseSpecifier()
2716 TypeSourceInfo *TInfo = nullptr; in ActOnBaseSpecifier() local
2717 GetTypeFromParser(basetype, &TInfo); in ActOnBaseSpecifier()
4295 TypeSourceInfo *TInfo = nullptr; in BuildMemInitializer() local
4421 if (!TInfo) in BuildMemInitializer()
13074 TypeSourceInfo *TInfo = nullptr; in ActOnAliasDeclaration() local
13653 TypeSourceInfo *TInfo = in findInheritingConstructor() local
13668 Context, Derived, UsingLoc, NameInfo, TInfo->getType(), TInfo, in findInheritingConstructor()
13689 TypeSourceInfo *TInfo = in findInheritingConstructor() local
[all …]
H A DSemaExpr.cpp4602 if (!TInfo) in CreateUnaryExprOrTypeTraitExpr()
4605 QualType T = TInfo->getType(); in CreateUnaryExprOrTypeTraitExpr()
4638 TInfo = TransformToPotentiallyEvaluated(TInfo); in CreateUnaryExprOrTypeTraitExpr()
4698 TypeSourceInfo *TInfo; in ActOnUnaryExprOrTypeTraitExpr() local
7143 TypeSourceInfo *TInfo; in ActOnConvertVectorExpr() local
7452 TypeSourceInfo *TInfo; in ActOnCompoundLiteral() local
7454 if (!TInfo) in ActOnCompoundLiteral()
16777 TypeSourceInfo *TInfo; in ActOnVAArg() local
16854 if (RequireCompleteType(TInfo->getTypeLoc().getBeginLoc(), TInfo->getType(), in BuildVAArgExpr()
16870 << TInfo->getType() in BuildVAArgExpr()
[all …]
/openbsd/gnu/llvm/clang/include/clang/Serialization/
H A DASTRecordWriter.h209 void AddTypeSourceInfo(TypeSourceInfo *TInfo);

123