Home
last modified time | relevance | path

Searched refs:TypeSourceInfo (Results 1 – 25 of 110) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLocInfoType.h20 class TypeSourceInfo; variable
35 TypeSourceInfo *DeclInfo;
37 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType()
45 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo()
H A DExprCXX.h390 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
437 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
462 Expr *Op, const CXXCastPath *Path, TypeSourceInfo *Written,
482 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
500 TypeSourceInfo *Written, SourceLocation L,
527 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXReinterpretCastExpr()
545 TypeSourceInfo *WrittenTy, SourceLocation L,
567 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
583 TypeSourceInfo *WrittenTy, SourceLocation L,
605 TypeSourceInfo *writtenTy, SourceLocation l, in CXXAddrspaceCastExpr()
[all …]
H A DDeclFriend.h58 using FriendUnion = llvm::PointerUnion<NamedDecl *, TypeSourceInfo *>;
125 TypeSourceInfo *getFriendType() const { in getFriendType()
126 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
153 if (TypeSourceInfo *TInfo = getFriendType()) { in getSourceRange()
H A DDeclCXX.h183 TypeSourceInfo *BaseTypeInfo;
188 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier()
254 TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; } in getTypeSourceInfo()
435 TypeSourceInfo *MethodTyInfo;
437 LambdaDefinitionData(CXXRecordDecl *D, TypeSourceInfo *Info, unsigned DK, in LambdaDefinitionData()
577 TypeSourceInfo *Info, SourceLocation Loc,
1869 TypeSourceInfo *getLambdaTypeInfo() const { in getLambdaTypeInfo()
1873 void setLambdaTypeInfo(TypeSourceInfo *TS) { in setLambdaTypeInfo()
1990 TypeSourceInfo *TInfo, SourceLocation EndLocation, in CXXDeductionGuideDecl()
2022 TypeSourceInfo *TInfo, SourceLocation EndLocation,
[all …]
H A DExpr.h2127 TypeSourceInfo *TypeInfo;
2132 TypeSourceInfo *TSI);
2134 void setTypeSourceInfo(TypeSourceInfo *Ty) { TypeInfo = Ty; } in setTypeSourceInfo()
2141 TypeSourceInfo *getTypeSourceInfo() { return TypeInfo; } in getTypeSourceInfo()
2143 const TypeSourceInfo *getTypeSourceInfo() const { return TypeInfo; } in getTypeSourceInfo()
2147 SourceLocation RParen, TypeSourceInfo *TSI);
2528 TypeSourceInfo *TSInfo;
2539 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
2550 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
2565 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
[all …]
H A DTemplateBase.h57 class TypeSourceInfo;
489 llvm::PointerUnion<TemplateTemplateArgLocInfo *, Expr *, TypeSourceInfo *>
498 TemplateArgumentLocInfo(TypeSourceInfo *Declarator) { Pointer = Declarator; }
507 TypeSourceInfo *getAsTypeSourceInfo() const {
508 return cast<TypeSourceInfo *>(Pointer);
541 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo)
584 TypeSourceInfo *getTypeSourceInfo() const {
H A DDecl.h764 TypeSourceInfo *TInfo = nullptr;
768 llvm::PointerUnion<TypeSourceInfo *, ExtInfo *> DeclInfo;
780 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
788 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
790 : cast<TypeSourceInfo *>(DeclInfo); in getTypeSourceInfo()
793 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
1109 TypeSourceInfo *TInfo, StorageClass SC);
1139 TypeSourceInfo *TInfo, StorageClass S);
1777 TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) in ParmVarDecl()
1790 TypeSourceInfo *TInfo, StorageClass S,
[all …]
H A DDeclarationName.h40 class TypeSourceInfo; variable
696 TypeSourceInfo *TInfo;
720 void setNamedTypeLoc(TypeSourceInfo *TInfo) { NamedType.TInfo = TInfo; } in setNamedTypeLoc()
738 TypeSourceInfo *getNamedTypeInfo() const { return NamedType.TInfo; } in getNamedTypeInfo()
767 static DeclarationNameLoc makeNamedTypeLoc(TypeSourceInfo *TInfo) { in makeNamedTypeLoc()
835 TypeSourceInfo *getNamedTypeInfo() const { in getNamedTypeInfo()
845 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
H A DTypeLoc.h251 inline TypeSourceInfo::TypeSourceInfo(QualType ty, size_t DataSize) : Ty(ty) { in TypeSourceInfo() function
257 inline TypeLoc TypeSourceInfo::getTypeLoc() const { in getTypeLoc()
947 TypeSourceInfo *ContainedTyInfo;
958 TypeSourceInfo *getContainedTypeSourceInfo() const { in getContainedTypeSourceInfo()
961 void setContainedTypeSourceInfo(TypeSourceInfo *TSI) const { in setContainedTypeSourceInfo()
1013 TypeSourceInfo **getTypeArgLocArray() const { in getTypeArgLocArray()
1014 return (TypeSourceInfo**)this->getExtraLocalData(); in getTypeArgLocArray()
1044 TypeSourceInfo *getTypeArgTInfo(unsigned i) const { in getTypeArgTInfo()
1049 void setTypeArgTInfo(unsigned i, TypeSourceInfo *TInfo) { in setTypeArgTInfo()
1119 return this->getNumTypeArgs() * sizeof(TypeSourceInfo *) in getExtraLocalDataSize()
[all …]
H A DDeclObjC.h148 TypeSourceInfo *ReturnTInfo;
171 QualType T, TypeSourceInfo *ReturnTInfo, DeclContext *contextDecl,
231 Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
343 TypeSourceInfo *getReturnTypeSourceInfo() const { return ReturnTInfo; } in getReturnTypeSourceInfo()
344 void setReturnTypeSourceInfo(TypeSourceInfo *TInfo) { ReturnTInfo = TInfo; } in setReturnTypeSourceInfo()
597 SourceLocation colonLoc, TypeSourceInfo *boundInfo) in ObjCTypeParamDecl()
616 TypeSourceInfo *boundInfo);
743 TypeSourceInfo *DeclTypeSourceInfo;
776 QualType T, TypeSourceInfo *TSI, PropertyControl propControl) in ObjCPropertyDecl()
788 TypeSourceInfo *TSI,
[all …]
H A DExprConcepts.h233 llvm::PointerUnion<SubstitutionDiagnostic *, TypeSourceInfo *> Value;
243 TypeRequirement(TypeSourceInfo *T);
267 TypeSourceInfo *getType() const { in getType()
270 return cast<TypeSourceInfo *>(Value); in getType()
H A DExprObjC.h409 TypeSourceInfo *EncodedType;
413 ObjCEncodeExpr(QualType T, TypeSourceInfo *EncodedType, SourceLocation at, in ObjCEncodeExpr()
429 TypeSourceInfo *getEncodedTypeSourceInfo() const { return EncodedType; } in getEncodedTypeSourceInfo()
431 void setEncodedTypeSourceInfo(TypeSourceInfo *EncType) { in setEncodedTypeSourceInfo()
1026 TypeSourceInfo *Receiver,
1168 TypeSourceInfo *Receiver,
1274 if (TypeSourceInfo *TSInfo = getClassReceiverTypeInfo()) in getClassReceiver()
1282 TypeSourceInfo *getClassReceiverTypeInfo() const { in getClassReceiverTypeInfo()
1284 return reinterpret_cast<TypeSourceInfo *>(getReceiverPointer()); in getClassReceiverTypeInfo()
1288 void setClassReceiver(TypeSourceInfo *TSInfo) { in setClassReceiver()
[all …]
H A DDeclTemplate.h1360 std::pair<QualType, TypeSourceInfo *>,
1386 OverloadToken<std::pair<QualType, TypeSourceInfo *>>) const {
1393 bool ParameterPack, TypeSourceInfo *TInfo)
1400 TypeSourceInfo *TInfo,
1402 ArrayRef<TypeSourceInfo *> ExpandedTInfos);
1408 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1413 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
1414 ArrayRef<TypeSourceInfo *> ExpandedTInfos);
1523 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
1529 TypeSourceInfo *getExpansionTypeSourceInfo(unsigned I) const {
[all …]
H A DASTImporter.h49 class TypeSourceInfo; variable
336 llvm::Expected<TypeSourceInfo *> Import(TypeSourceInfo *FromTSI);
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp29 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair;
40 const TypeSourceInfo *ExplicitCastType;
44 const TypeSourceInfo *ExplicitCastType, in CallRecord()
95 return TypeCallPair((const TypeSourceInfo *)nullptr, E); in VisitCallExpr()
211 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp165 cast<TypeSourceInfo *>(Operand)->getType().getNonReferenceType(), Quals); in getTypeOperand()
219 cast<TypeSourceInfo *>(Operand)->getType().getNonReferenceType(), Quals); in getTypeOperand()
236 TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, in CXXNewExpr()
299 QualType Ty, TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, in Create()
366 PseudoDestructorTypeStorage::PseudoDestructorTypeStorage(TypeSourceInfo *Info) in PseudoDestructorTypeStorage()
374 TypeSourceInfo *ScopeType, SourceLocation ColonColonLoc, in CXXPseudoDestructorExpr()
386 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
394 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getEndLoc()
770 TypeSourceInfo *WrittenTy, FPOptionsOverride FPO, in Create()
798 TypeSourceInfo *WrittenTy, in Create()
[all …]
H A DDeclTemplate.cpp767 unsigned P, const IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl()
768 ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) in NonTypeTemplateParmDecl()
774 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>(); in NonTypeTemplateParmDecl()
785 QualType T, bool ParameterPack, TypeSourceInfo *TInfo) { in Create()
791 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>( in Create()
803 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, in Create()
804 ArrayRef<TypeSourceInfo *> ExpandedTInfos) { in Create()
809 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>( in Create()
823 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>( in CreateDeserialized()
838 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>( in CreateDeserialized()
[all …]
H A DDeclarationName.cpp420 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in containsUnexpandedParameterPack()
443 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in isInstantiationDependent()
480 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) { in printName()
511 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in getEndLocPrivate()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DTypeLocBuilder.h110 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
116 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo()
H A DSemaTypeTraits.cpp380 static bool DiagnoseVLAInCXXTypeTrait(Sema &S, const TypeSourceInfo *T, in DiagnoseVLAInCXXTypeTrait()
394 static bool DiagnoseAtomicInCXXTypeTrait(Sema &S, const TypeSourceInfo *T, in DiagnoseAtomicInCXXTypeTrait()
709 TypeSourceInfo *TInfo) { in EvaluateUnaryTypeTrait()
1200 const TypeSourceInfo *Lhs,
1201 const TypeSourceInfo *Rhs,
1205 Sema &Self, const TypeSourceInfo *Lhs, const TypeSourceInfo *Rhs, in CheckConvertibilityForTypeTraits()
1276 ArrayRef<TypeSourceInfo *> Args, in EvaluateSizeTTypeTrait()
1303 ArrayRef<TypeSourceInfo *> Args, in EvaluateBooleanTypeTrait()
1430 TypeSourceInfo *TPtr = S.Context.CreateTypeSourceInfo( in EvaluateBooleanTypeTrait()
1432 TypeSourceInfo *UPtr = S.Context.CreateTypeSourceInfo( in EvaluateBooleanTypeTrait()
[all …]
H A DTreeTransform.h340 TypeSourceInfo *TransformType(TypeSourceInfo *DI);
356 TypeSourceInfo *TransformTypeWithDeducedTST(TypeSourceInfo *DI);
664 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
797 TypeSourceInfo **RecoveryTSI);
801 TypeSourceInfo **RecoveryTSI);
884 ArrayRef<TypeSourceInfo *> TypeArgs,
1617 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl()
2572 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
2680 TypeSourceInfo *TSI) { in RebuildSYCLUniqueStableNameExpr()
2736 TypeSourceInfo *ScopeType,
[all …]
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.h26 class TypeSourceInfo; variable
106 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent,
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h108 ArrayRef<TypeSourceInfo *> TypeArgs, SourceLocation TypeArgsRAngleLoc,
493 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,
536 TypeSourceInfo *TSInfo);
681 TypeSourceInfo *EncodedTypeInfo,
728 ExprResult BuildClassMessage(TypeSourceInfo *ReceiverTypeInfo,
767 TypeSourceInfo *TSInfo, Expr *SubExpr);
966 TypeSourceInfo *TSI, tok::ObjCKeywordKind MethodImplKind);
977 TypeSourceInfo *TSI, tok::ObjCKeywordKind MethodImplKind,
H A DSema.h2523 TypeSourceInfo *Ty, Expr *E,
2530 ExprResult BuildBuiltinBitCastExpr(SourceLocation KWLoc, TypeSourceInfo *TSI,
2550 ExprResult BuildCStyleCastExpr(SourceLocation LParenLoc, TypeSourceInfo *Ty,
2553 ExprResult BuildCXXFunctionalCastExpr(TypeSourceInfo *TInfo, QualType Type,
2612 ExprResult ConvertVectorExpr(Expr *E, TypeSourceInfo *TInfo,
2743 bool IsPointerInterconvertibleBaseOf(const TypeSourceInfo *Base,
2744 const TypeSourceInfo *Derived);
3841 bool tryToFixVariablyModifiedVarType(TypeSourceInfo *&TInfo, QualType &T,
3935 TypeSourceInfo *TInfo,
3944 TypeSourceInfo *TInfo,
[all …]
H A DInitialization.h198 TypeSourceInfo *TypeInfo;
344 TypeSourceInfo *TypeInfo) { in InitializeTemporary()
355 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo, in InitializeTemporary()
433 static InitializedEntity InitializeCompoundLiteralInit(TypeSourceInfo *TSI) { in InitializeCompoundLiteralInit()
453 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()

12345