Home
last modified time | relevance | path

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

1234

/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.h388 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
435 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
460 Expr *Op, const CXXCastPath *Path, TypeSourceInfo *Written,
480 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
498 TypeSourceInfo *Written, SourceLocation L,
525 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXReinterpretCastExpr()
543 TypeSourceInfo *WrittenTy, SourceLocation L,
565 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
581 TypeSourceInfo *WrittenTy, SourceLocation L,
603 TypeSourceInfo *writtenTy, SourceLocation l, in CXXAddrspaceCastExpr()
[all …]
H A DDeclFriend.h58 using FriendUnion = llvm::PointerUnion<NamedDecl *, TypeSourceInfo *>;
122 TypeSourceInfo *getFriendType() const { in getFriendType()
123 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
161 else 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()
436 TypeSourceInfo *MethodTyInfo;
438 LambdaDefinitionData(CXXRecordDecl *D, TypeSourceInfo *Info, unsigned DK, in LambdaDefinitionData()
579 TypeSourceInfo *Info, SourceLocation Loc,
1869 TypeSourceInfo *getLambdaTypeInfo() const { in getLambdaTypeInfo()
1873 void setLambdaTypeInfo(TypeSourceInfo *TS) { in setLambdaTypeInfo()
1966 TypeSourceInfo *TInfo, SourceLocation EndLocation, in CXXDeductionGuideDecl()
1987 TypeSourceInfo *TInfo, SourceLocation EndLocation,
[all …]
H A DDecl.h736 TypeSourceInfo *TInfo;
740 llvm::PointerUnion<TypeSourceInfo *, ExtInfo *> DeclInfo;
752 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
760 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
763 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
766 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
1078 TypeSourceInfo *TInfo, StorageClass SC);
1108 TypeSourceInfo *TInfo, StorageClass S);
1730 TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) in ParmVarDecl()
1743 TypeSourceInfo *TInfo, StorageClass S,
[all …]
H A DTemplateBase.h57 class TypeSourceInfo;
483 llvm::PointerUnion<TemplateTemplateArgLocInfo *, Expr *, TypeSourceInfo *>
492 TemplateArgumentLocInfo(TypeSourceInfo *Declarator) { Pointer = Declarator; }
501 TypeSourceInfo *getAsTypeSourceInfo() const {
502 return Pointer.get<TypeSourceInfo *>();
535 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo)
578 TypeSourceInfo *getTypeSourceInfo() const {
H A DExpr.h2082 TypeSourceInfo *TypeInfo;
2087 TypeSourceInfo *TSI);
2089 void setTypeSourceInfo(TypeSourceInfo *Ty) { TypeInfo = Ty; } in setTypeSourceInfo()
2096 TypeSourceInfo *getTypeSourceInfo() { return TypeInfo; } in getTypeSourceInfo()
2098 const TypeSourceInfo *getTypeSourceInfo() const { return TypeInfo; } in getTypeSourceInfo()
2102 SourceLocation RParen, TypeSourceInfo *TSI);
2478 TypeSourceInfo *TSInfo;
2489 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
2500 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
2515 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
[all …]
H A DTypeLoc.h250 inline TypeSourceInfo::TypeSourceInfo(QualType ty, size_t DataSize) : Ty(ty) { in TypeSourceInfo() function
256 inline TypeLoc TypeSourceInfo::getTypeLoc() const { in getTypeLoc()
961 TypeSourceInfo **getTypeArgLocArray() const { in getTypeArgLocArray()
962 return (TypeSourceInfo**)this->getExtraLocalData(); in getTypeArgLocArray()
992 TypeSourceInfo *getTypeArgTInfo(unsigned i) const { in getTypeArgTInfo()
997 void setTypeArgTInfo(unsigned i, TypeSourceInfo *TInfo) { in setTypeArgTInfo()
1067 return this->getNumTypeArgs() * sizeof(TypeSourceInfo *) in getExtraLocalDataSize()
1072 static_assert(alignof(ObjCObjectTypeLoc) >= alignof(TypeSourceInfo *), in getExtraLocalDataAlignment()
1074 return alignof(TypeSourceInfo *); in getExtraLocalDataAlignment()
1326 TypeSourceInfo *ClassTInfo;
[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);
745 TypeSourceInfo *DeclTypeSourceInfo;
778 QualType T, TypeSourceInfo *TSI, PropertyControl propControl) in ObjCPropertyDecl()
790 TypeSourceInfo *TSI,
[all …]
H A DDeclTemplate.h1356 std::pair<QualType, TypeSourceInfo *>,
1382 OverloadToken<std::pair<QualType, TypeSourceInfo *>>) const {
1389 bool ParameterPack, TypeSourceInfo *TInfo)
1396 TypeSourceInfo *TInfo,
1398 ArrayRef<TypeSourceInfo *> ExpandedTInfos);
1404 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1409 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
1410 ArrayRef<TypeSourceInfo *> ExpandedTInfos);
1519 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
1525 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.cpp31 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair;
42 const TypeSourceInfo *ExplicitCastType;
46 const TypeSourceInfo *ExplicitCastType, in CallRecord()
97 return TypeCallPair((const TypeSourceInfo *)nullptr, E); in VisitCallExpr()
213 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp166 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
220 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
236 TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, in CXXNewExpr()
298 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()
764 TypeSourceInfo *WrittenTy, FPOptionsOverride FPO, in Create()
792 TypeSourceInfo *WrittenTy, in Create()
[all …]
H A DDeclTemplate.cpp727 unsigned P, const IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl()
728 ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) in NonTypeTemplateParmDecl()
734 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>(); in NonTypeTemplateParmDecl()
745 QualType T, bool ParameterPack, TypeSourceInfo *TInfo) { in Create()
749 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, in Create()
759 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, in Create()
760 ArrayRef<TypeSourceInfo *> ExpandedTInfos) { in Create()
763 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, in Create()
774 TypeSourceInfo *>, in CreateDeserialized()
787 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, Expr *>( in CreateDeserialized()
[all …]
H A DDeclarationName.cpp422 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in containsUnexpandedParameterPack()
445 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in isInstantiationDependent()
482 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) { in printName()
513 if (TypeSourceInfo *TInfo = LocInfo.getNamedTypeInfo()) in getEndLocPrivate()
H A DExpr.cpp566 TypeSourceInfo *TSI) in SYCLUniqueStableNameExpr()
580 TypeSourceInfo *TSI) { in Create()
1659 TypeSourceInfo *tsi, in Create()
1678 SourceLocation OperatorLoc, TypeSourceInfo *tsi, in OffsetOfExpr()
2109 TypeSourceInfo *WrittenTy, in Create()
4387 ArrayRef<TypeSourceInfo *> AssocTypes, ArrayRef<Expr *> AssocExprs, in GenericSelectionExpr()
4406 getTrailingObjects<TypeSourceInfo *>() + in GenericSelectionExpr()
4414 TypeSourceInfo *ControllingType, ArrayRef<TypeSourceInfo *> AssocTypes, in GenericSelectionExpr()
4429 getTrailingObjects<TypeSourceInfo *>()[getIndexOfControllingType()] = in GenericSelectionExpr()
4434 getTrailingObjects<TypeSourceInfo *>() + in GenericSelectionExpr()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2118 TypeSourceInfo *Ty, Expr *E,
2125 ExprResult BuildBuiltinBitCastExpr(SourceLocation KWLoc, TypeSourceInfo *TSI,
2145 ExprResult BuildCStyleCastExpr(SourceLocation LParenLoc, TypeSourceInfo *Ty,
2148 ExprResult BuildCXXFunctionalCastExpr(TypeSourceInfo *TInfo, QualType Type,
2203 ExprResult ConvertVectorExpr(Expr *E, TypeSourceInfo *TInfo,
2342 bool IsPointerInterconvertibleBaseOf(const TypeSourceInfo *Base,
2343 const TypeSourceInfo *Derived);
3416 bool tryToFixVariablyModifiedVarType(TypeSourceInfo *&TInfo, QualType &T,
3507 TypeSourceInfo *TInfo,
3516 Scope *S, Declarator &D, DeclContext *DC, TypeSourceInfo *TInfo,
[all …]
H A DSemaObjC.h106 ArrayRef<TypeSourceInfo *> TypeArgs, SourceLocation TypeArgsRAngleLoc,
501 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,
544 TypeSourceInfo *TSInfo);
689 TypeSourceInfo *EncodedTypeInfo,
736 ExprResult BuildClassMessage(TypeSourceInfo *ReceiverTypeInfo,
775 TypeSourceInfo *TSInfo, Expr *SubExpr);
973 TypeSourceInfo *TSI, tok::ObjCKeywordKind MethodImplKind);
984 TypeSourceInfo *TSI, tok::ObjCKeywordKind MethodImplKind,
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()
H A DSemaSYCL.h58 TypeSourceInfo *TSI);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp142 TypeSourceInfo *TSI) { in BuildUniqueStableNameExpr()
151 TypeSourceInfo *TSI = nullptr; in ActOnUniqueStableNameExpr()
H A DSemaTemplateVariadic.cpp394 TypeSourceInfo *T, in DiagnoseUnexpandedParameterPack()
490 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack()
616 TypeSourceInfo *TSInfo; in ActOnPackExpansion()
621 TypeSourceInfo *TSResult = in ActOnPackExpansion()
629 TypeSourceInfo *
630 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion()
1136 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
1152 TypeSourceInfo *PatternTSInfo = in getTemplateArgumentPackExpansionPattern()
H A DTreeTransform.h335 TypeSourceInfo *TransformType(TypeSourceInfo *DI);
351 TypeSourceInfo *TransformTypeWithDeducedTST(TypeSourceInfo *DI);
658 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
795 TypeSourceInfo **RecoveryTSI);
799 TypeSourceInfo **RecoveryTSI);
879 ArrayRef<TypeSourceInfo *> TypeArgs,
1623 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl()
2539 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
2647 TypeSourceInfo *TSI) { in RebuildSYCLUniqueStableNameExpr()
2703 TypeSourceInfo *ScopeType,
[all …]
H A DSemaTemplateDeductionGuide.cpp83 TypeSourceInfo *transform(TypeSourceInfo *TSI) { return TransformType(TSI); } in transform()
170 TypeSourceInfo *TSI = InnerTLB.getTypeSourceInfo(Context, Transformed); in TransformTypedefType()
200 ExplicitSpecifier ES, TypeSourceInfo *TInfo, SourceLocation LocStart, in buildDeductionGuide()
430 TypeSourceInfo *NewTInfo = TLB.getTypeSourceInfo(SemaRef.Context, NewType); in transformConstructor()
447 TypeSourceInfo *TSI = SemaRef.Context.getTrivialTypeSourceInfo(Result, Loc); in buildSimpleDeductionGuide()
579 TypeSourceInfo *OldDI = OldParam->getTypeSourceInfo(); in transformFunctionTypeParam()
580 TypeSourceInfo *NewDI; in transformFunctionTypeParam()
937 SmallVector<TypeSourceInfo *> IsDeducibleTypeTraitArgs = { in buildIsDeducibleConstraint()
H A DSemaLambda.cpp248 Sema::createLambdaClosureType(SourceRange IntroducerRange, TypeSourceInfo *Info, in createLambdaClosureType()
366 TypeSourceInfo *MethodTypeInfo) { in buildTypeForLambdaCallOperator()
811 TypeSourceInfo *TSI = TLB.getTypeSourceInfo(Context, DeductType); in buildLambdaInitCaptureInitialization()
854 TypeSourceInfo *TSI = Context.getTrivialTypeSourceInfo(InitCaptureType, Loc); in createLambdaInitCaptureVarDecl()
889 static TypeSourceInfo *
916 static TypeSourceInfo *getLambdaType(Sema &S, LambdaIntroducer &Intro, in getLambdaType()
931 TypeSourceInfo *MethodTyInfo; in getLambdaType()
1011 TypeSourceInfo *MethodTyInfo, ConstexprSpecKind ConstexprKind, in CompleteLambdaCallOperator()
1413 TypeSourceInfo *MethodTyInfo = getLambdaType( in ActOnStartOfLambdaDefinition()
1702 TypeSourceInfo *ConvNamePtrToFunctionTSI = in addFunctionPointerConversion()
[all …]

1234