Home
last modified time | relevance | path

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

1234

/external/clang/include/clang/Sema/
DLocInfoType.h21 class TypeSourceInfo; variable
36 TypeSourceInfo *DeclInfo;
38 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType()
50 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo()
DSema.h1165 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S);
1166 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
1167 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T,
1168 TypeSourceInfo *ReturnTypeInfo);
1171 ParsedType CreateParsedType(QualType T, TypeSourceInfo *TInfo);
1175 TypeSourceInfo **TInfo = nullptr);
1574 TypeSourceInfo *TInfo,
1579 TypeSourceInfo *TInfo,
1590 TypeSourceInfo *TInfo,
1616 QualType T, TypeSourceInfo *TSInfo,
[all …]
/external/clang/include/clang/AST/
DExprCXX.h189 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
233 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
246 TypeSourceInfo *Written, SourceLocation L,
264 Expr *op, unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
277 TypeSourceInfo *Written, SourceLocation L,
302 TypeSourceInfo *writtenTy, SourceLocation l, in CXXReinterpretCastExpr()
315 TypeSourceInfo *WrittenTy, SourceLocation L,
335 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
346 TypeSourceInfo *WrittenTy, SourceLocation L,
529 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
[all …]
DDeclFriend.h43 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
113 TypeSourceInfo *getFriendType() const { in getFriendType()
114 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
146 else if (TypeSourceInfo *TInfo = getFriendType()) { in getSourceRange()
DDecl.h58 class TypeSourceInfo {
63 TypeSourceInfo(QualType ty) : Ty(ty) { } in TypeSourceInfo() function
531 TypeSourceInfo *TInfo;
534 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo;
546 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
552 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
555 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
557 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
772 TypeSourceInfo *TInfo, StorageClass SC);
797 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
[all …]
DASTImporter.h34 class TypeSourceInfo; variable
115 TypeSourceInfo *Import(TypeSourceInfo *FromTSI);
DDeclTemplate.h949 TypeSourceInfo *DefaultArgument;
984 TypeSourceInfo *getDefaultArgumentInfo() const { return DefaultArgument; }
996 void setDefaultArgument(TypeSourceInfo *DefArg, bool Inherited) {
1055 bool ParameterPack, TypeSourceInfo *TInfo)
1065 TypeSourceInfo *TInfo,
1068 TypeSourceInfo **ExpandedTInfos);
1076 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1081 QualType T, TypeSourceInfo *TInfo,
1083 TypeSourceInfo **ExpandedTInfos);
1196 TypeSourceInfo *getExpansionTypeSourceInfo(unsigned I) const {
[all …]
DDeclCXX.h190 TypeSourceInfo *BaseTypeInfo;
196 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier()
257 TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; } in getTypeSourceInfo()
533 LambdaDefinitionData(CXXRecordDecl *D, TypeSourceInfo *Info, in LambdaDefinitionData()
580 TypeSourceInfo *MethodTyInfo;
682 TypeSourceInfo *Info, SourceLocation Loc,
1676 TypeSourceInfo *getLambdaTypeInfo() const { in getLambdaTypeInfo()
1700 QualType T, TypeSourceInfo *TInfo, in CXXMethodDecl()
1713 QualType T, TypeSourceInfo *TInfo,
1883 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
[all …]
DTemplateBase.h34 class TypeSourceInfo; variable
374 TypeSourceInfo *Declarator;
380 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo()
394 TypeSourceInfo *getAsTypeSourceInfo() const { in getAsTypeSourceInfo()
430 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo) in TemplateArgumentLoc()
469 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
DExpr.h1871 TypeSourceInfo *TSInfo;
1878 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1889 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1904 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
1907 void setTypeSourceInfo(TypeSourceInfo *tsi) { in setTypeSourceInfo()
1965 TypeSourceInfo *Ty;
1971 UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, TypeSourceInfo *TInfo, in UnaryExprOrTypeTraitExpr()
2014 TypeSourceInfo *getArgumentTypeInfo() const { in getArgumentTypeInfo()
2030 void setArgument(TypeSourceInfo *TInfo) { in setArgument()
2594 llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfoAndScope;
[all …]
DDeclarationName.h35 class TypeSourceInfo; variable
397 TypeSourceInfo* TInfo;
465 TypeSourceInfo *getNamedTypeInfo() const { in getNamedTypeInfo()
473 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
DExprObjC.h348 TypeSourceInfo *EncodedType;
351 ObjCEncodeExpr(QualType T, TypeSourceInfo *EncodedType,
370 TypeSourceInfo *getEncodedTypeSourceInfo() const { return EncodedType; }
371 void setEncodedTypeSourceInfo(TypeSourceInfo *EncType) {
949 TypeSourceInfo *Receiver,
1094 TypeSourceInfo *Receiver,
1193 if (TypeSourceInfo *TSInfo = getClassReceiverTypeInfo())
1201 TypeSourceInfo *getClassReceiverTypeInfo() const {
1203 return reinterpret_cast<TypeSourceInfo *>(getReceiverPointer());
1207 void setClassReceiver(TypeSourceInfo *TSInfo) {
[all …]
DTypeLoc.h27 class TypeSourceInfo; variable
201 inline TypeLoc TypeSourceInfo::getTypeLoc() const { in getTypeLoc()
1077 TypeSourceInfo *ClassTInfo;
1095 TypeSourceInfo *getClassTInfo() const { in getClassTInfo()
1098 void setClassTInfo(TypeSourceInfo* TI) { in setClassTInfo()
1108 if (TypeSourceInfo *TI = getClassTInfo()) in getLocalSourceRange()
1498 TypeSourceInfo* UnderlyingTInfo;
1564 TypeSourceInfo* getUnderlyingTInfo() const { in getUnderlyingTInfo()
1567 void setUnderlyingTInfo(TypeSourceInfo* TI) const { in setUnderlyingTInfo()
1584 TypeSourceInfo *UnderlyingTInfo;
[all …]
DDeclObjC.h169 TypeSourceInfo *ReturnTInfo;
227 Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
255 Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
339 TypeSourceInfo *getReturnTypeSourceInfo() const { return ReturnTInfo; } in getReturnTypeSourceInfo()
340 void setReturnTypeSourceInfo(TypeSourceInfo *TInfo) { ReturnTInfo = TInfo; } in setReturnTypeSourceInfo()
1399 QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, in ObjCIvarDecl()
1409 TypeSourceInfo *TInfo,
2204 TypeSourceInfo *DeclType;
2219 TypeSourceInfo *T) in ObjCPropertyDecl()
2235 TypeSourceInfo *T,
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp31 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair;
42 const TypeSourceInfo *ExplicitCastType;
46 const TypeSourceInfo *ExplicitCastType, in CallRecord()
98 return TypeCallPair((const TypeSourceInfo *)nullptr, E); in VisitCallExpr()
208 const TypeSourceInfo *TSI = nullptr; in checkASTCodeBody()
/external/clang/lib/AST/
DExprCXX.cpp47 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
54 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
146 TypeSourceInfo *allocatedTypeInfo, in CXXNewExpr()
231 PseudoDestructorTypeStorage::PseudoDestructorTypeStorage(TypeSourceInfo *Info) in PseudoDestructorTypeStorage()
239 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType, in CXXPseudoDestructorExpr()
276 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
284 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getLocEnd()
592 TypeSourceInfo *WrittenTy, in Create()
617 TypeSourceInfo *WrittenTy, in Create()
675 TypeSourceInfo *WrittenTy, SourceLocation L, in Create()
[all …]
DDeclTemplate.cpp520 TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl()
523 TypeSourceInfo **ExpandedTInfos) in NonTypeTemplateParmDecl()
543 TypeSourceInfo *TInfo) { in Create()
553 TypeSourceInfo *TInfo, in Create()
556 TypeSourceInfo **ExpandedTInfos) { in Create()
1060 TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, in VarTemplateSpecializationDecl()
1077 TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, in Create()
1123 VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, in VarTemplatePartialSpecializationDecl()
1139 VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, in Create()
DDeclarationName.cpp491 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in containsUnexpandedParameterPack()
513 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in isInstantiationDependent()
543 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) { in printName()
577 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in getEndLoc()
DDeclCXX.cpp112 TypeSourceInfo *Info, SourceLocation Loc, in CreateLambda()
1417 QualType T, TypeSourceInfo *TInfo, in Create()
1578 TypeSourceInfo *TInfo, bool IsVirtual, in CXXCtorInitializer()
1611 TypeSourceInfo *TInfo, in CXXCtorInitializer()
1651 return Initializee.get<TypeSourceInfo*>()->getTypeLoc(); in getBaseClassLoc()
1658 return Initializee.get<TypeSourceInfo*>()->getType().getTypePtr(); in getBaseClass()
1670 if (TypeSourceInfo *TSInfo = Initializee.get<TypeSourceInfo*>()) in getSourceLocation()
1700 QualType T, TypeSourceInfo *TInfo, in Create()
1850 QualType T, TypeSourceInfo *TInfo, in Create()
1873 QualType T, TypeSourceInfo *TInfo, in Create()
[all …]
DDecl.cpp753 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
895 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1538 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1548 TypeSourceInfo *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setQualifierInfo()
1561 TypeSourceInfo *savedTInfo = getExtInfo()->TInfo; in setQualifierInfo()
1581 TypeSourceInfo *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setTemplateParameterListsInfo()
1637 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
1688 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in VarDecl()
1703 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in Create()
2185 QualType T, TypeSourceInfo *TInfo, in Create()
[all …]
/external/clang/lib/Sema/
DTreeTransform.h301 TypeSourceInfo *TransformType(TypeSourceInfo *DI);
535 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
610 TypeSourceInfo **RecoveryTSI);
614 TypeSourceInfo **RecoveryTSI);
1259 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl()
1560 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
1702 TypeSourceInfo *ScopeType,
1722 TypeSourceInfo *Type, in RebuildOffsetOfExpr()
1735 ExprResult RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, in RebuildUnaryExprOrTypeTrait()
1868 TypeSourceInfo *TInfo, in RebuildCStyleCastExpr()
[all …]
DSemaTemplateVariadic.cpp256 TypeSourceInfo *T, in DiagnoseUnexpandedParameterPack()
321 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack()
446 TypeSourceInfo *TSInfo; in ActOnPackExpansion()
451 TypeSourceInfo *TSResult = CheckPackExpansion(TSInfo, EllipsisLoc, None); in ActOnPackExpansion()
458 TypeSourceInfo *
459 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion()
851 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
867 TypeSourceInfo *PatternTSInfo = in getTemplateArgumentPackExpansionPattern()
DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
110 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo()
DSemaTemplateInstantiateDecl.cpp85 TypeSourceInfo *Result = S.SubstType(Aligned->getAlignmentType(), in instantiateDependentAlignedAttr()
245 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
386 TypeSourceInfo *DI = SemaRef.SubstType(D->getTypeSourceInfo(), in VisitVarDecl()
441 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
523 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
596 if (TypeSourceInfo *Ty = D->getFriendType()) { in VisitFriendDecl()
597 TypeSourceInfo *InstTy; in VisitFriendDecl()
675 if (TypeSourceInfo *TI = D->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
680 TypeSourceInfo *NewTI = SemaRef.SubstType(TI, TemplateArgs, UnderlyingLoc, in VisitEnumDecl()
707 if (TypeSourceInfo *TI = Def->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
[all …]
DSemaTemplateInstantiate.cpp747 TypeSourceInfo *Declarator,
755 TypeSourceInfo *TSInfo, QualType T);
971 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
983 TypeSourceInfo *TSInfo, in RebuildObjCExceptionDecl()
1462 TypeSourceInfo *Sema::SubstType(TypeSourceInfo *T, in SubstType()
1478 TypeSourceInfo *Sema::SubstType(TypeLoc TL, in SubstType()
1525 static bool NeedsInstantiationAsFunctionType(TypeSourceInfo *T) { in NeedsInstantiationAsFunctionType()
1543 if (TypeSourceInfo *TSInfo = P->getTypeSourceInfo()) in NeedsInstantiationAsFunctionType()
1560 TypeSourceInfo *Sema::SubstFunctionDeclType(TypeSourceInfo *T, in SubstFunctionDeclType()
1599 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
[all …]

1234