Home
last modified time | relevance | path

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

123

/external/clang/include/clang/AST/
DExprCXX.h167 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
211 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
223 TypeSourceInfo *Written, SourceLocation L,
242 Expr *op, unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
254 TypeSourceInfo *Written, SourceLocation L,
277 TypeSourceInfo *writtenTy, SourceLocation l, in CXXReinterpretCastExpr()
289 TypeSourceInfo *WrittenTy, SourceLocation L,
307 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
318 TypeSourceInfo *WrittenTy, SourceLocation L,
452 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
[all …]
DDeclFriend.h41 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
88 TypeSourceInfo *getFriendType() const { in getFriendType()
89 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
108 else if (TypeSourceInfo *TInfo = getFriendType()) in getSourceRange()
DDecl.h55 class TypeSourceInfo {
60 TypeSourceInfo(QualType ty) : Ty(ty) { } in TypeSourceInfo() function
593 TypeSourceInfo *TInfo;
596 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo;
608 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
614 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
617 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
619 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
819 QualType T, TypeSourceInfo *TInfo, StorageClass SC, in VarDecl()
848 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
[all …]
DASTImporter.h34 class TypeSourceInfo; variable
112 TypeSourceInfo *Import(TypeSourceInfo *FromTSI);
DDeclTemplate.h885 TypeSourceInfo *DefaultArgument;
919 TypeSourceInfo *getDefaultArgumentInfo() const { return DefaultArgument; }
931 void setDefaultArgument(TypeSourceInfo *DefArg, bool Inherited) {
991 bool ParameterPack, TypeSourceInfo *TInfo)
1001 TypeSourceInfo *TInfo,
1004 TypeSourceInfo **ExpandedTInfos);
1012 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1017 QualType T, TypeSourceInfo *TInfo,
1019 TypeSourceInfo **ExpandedTInfos);
1123 TypeSourceInfo *getExpansionTypeSourceInfo(unsigned I) const {
[all …]
DTemplateBase.h35 class TypeSourceInfo; variable
367 TypeSourceInfo *Declarator;
381 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo()
395 TypeSourceInfo *getAsTypeSourceInfo() const { in getAsTypeSourceInfo()
431 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo) in TemplateArgumentLoc()
470 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
DDeclCXX.h200 TypeSourceInfo *BaseTypeInfo;
206 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc)
265 TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; }
1550 QualType T, TypeSourceInfo *TInfo,
1564 QualType T, TypeSourceInfo *TInfo,
1693 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
1740 CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo, bool IsVirtual,
1758 CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo,
1771 return Initializee.is<TypeSourceInfo*>() && !IsDelegating;
1796 return Initializee.is<TypeSourceInfo*>() && IsDelegating;
[all …]
DDeclarationName.h34 class TypeSourceInfo; variable
384 TypeSourceInfo* TInfo;
448 TypeSourceInfo *getNamedTypeInfo() const { in getNamedTypeInfo()
456 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
DTypeLoc.h26 class TypeSourceInfo; variable
173 inline TypeLoc TypeSourceInfo::getTypeLoc() const { in getTypeLoc()
964 TypeSourceInfo *ClassTInfo;
982 TypeSourceInfo *getClassTInfo() const { in getClassTInfo()
985 void setClassTInfo(TypeSourceInfo* TI) { in setClassTInfo()
995 if (TypeSourceInfo *TI = getClassTInfo()) in getLocalSourceRange()
1364 TypeSourceInfo* UnderlyingTInfo;
1430 TypeSourceInfo* getUnderlyingTInfo() const { in getUnderlyingTInfo()
1433 void setUnderlyingTInfo(TypeSourceInfo* TI) const { in setUnderlyingTInfo()
1450 TypeSourceInfo *UnderlyingTInfo;
[all …]
DExprObjC.h341 TypeSourceInfo *EncodedType;
344 ObjCEncodeExpr(QualType T, TypeSourceInfo *EncodedType, in ObjCEncodeExpr()
363 TypeSourceInfo *getEncodedTypeSourceInfo() const { return EncodedType; } in getEncodedTypeSourceInfo()
364 void setEncodedTypeSourceInfo(TypeSourceInfo *EncType) { in setEncodedTypeSourceInfo()
933 TypeSourceInfo *Receiver,
1082 TypeSourceInfo *Receiver,
1185 if (TypeSourceInfo *TSInfo = getClassReceiverTypeInfo()) in getClassReceiver()
1193 TypeSourceInfo *getClassReceiverTypeInfo() const { in getClassReceiverTypeInfo()
1195 return reinterpret_cast<TypeSourceInfo *>(getReceiverPointer()); in getClassReceiverTypeInfo()
1199 void setClassReceiver(TypeSourceInfo *TSInfo) { in setClassReceiver()
[all …]
DDeclObjC.h157 TypeSourceInfo *ResultTInfo;
217 TypeSourceInfo *ResultTInfo,
251 TypeSourceInfo *ResultTInfo,
335 TypeSourceInfo *getResultTypeSourceInfo() const { return ResultTInfo; } in getResultTypeSourceInfo()
336 void setResultTypeSourceInfo(TypeSourceInfo *TInfo) { ResultTInfo = TInfo; } in setResultTypeSourceInfo()
997 QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, in ObjCIvarDecl()
1007 TypeSourceInfo *TInfo,
1743 TypeSourceInfo *DeclType;
1758 TypeSourceInfo *T) in ObjCPropertyDecl()
1772 TypeSourceInfo *T,
[all …]
DExpr.h1738 TypeSourceInfo *TSInfo;
1745 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1757 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1773 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
1776 void setTypeSourceInfo(TypeSourceInfo *tsi) { in setTypeSourceInfo()
1837 TypeSourceInfo *Ty;
1843 UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, TypeSourceInfo *TInfo, in UnaryExprOrTypeTraitExpr()
1886 TypeSourceInfo *getArgumentTypeInfo() const { in getArgumentTypeInfo()
1902 void setArgument(TypeSourceInfo *TInfo) { in setArgument()
2449 llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfoAndScope;
[all …]
/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.h912 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S);
913 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
914 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T,
915 TypeSourceInfo *ReturnTypeInfo);
918 ParsedType CreateParsedType(QualType T, TypeSourceInfo *TInfo);
921 static QualType GetTypeFromParser(ParsedType Ty, TypeSourceInfo **TInfo = 0);
1129 TypeSourceInfo *TInfo,
1134 TypeSourceInfo *TInfo,
1143 TypeSourceInfo *TInfo,
1164 QualType T, TypeSourceInfo *TSInfo,
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp30 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair;
41 const TypeSourceInfo *ExplicitCastType;
45 const TypeSourceInfo *ExplicitCastType, in CallRecord()
97 return TypeCallPair((const TypeSourceInfo *)0, E); in VisitCallExpr()
170 const TypeSourceInfo *TSI = 0; in checkASTCodeBody()
/external/clang/lib/AST/
DExprCXX.cpp28 return Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType() in getTypeOperand()
34 return Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType() in getTypeOperand()
54 TypeSourceInfo *allocatedTypeInfo, in CXXNewExpr()
146 PseudoDestructorTypeStorage::PseudoDestructorTypeStorage(TypeSourceInfo *Info) in PseudoDestructorTypeStorage()
154 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType, in CXXPseudoDestructorExpr()
189 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
197 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getSourceRange()
497 TypeSourceInfo *WrittenTy, in Create()
521 TypeSourceInfo *WrittenTy, in Create()
575 TypeSourceInfo *WrittenTy, SourceLocation L, in Create()
[all …]
DDeclarationName.cpp530 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in containsUnexpandedParameterPack()
552 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in isInstantiationDependent()
582 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) { in printName()
614 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in getEndLoc()
DDeclCXX.cpp1323 QualType T, TypeSourceInfo *TInfo, in Create()
1477 TypeSourceInfo *TInfo, bool IsVirtual, in CXXCtorInitializer()
1510 TypeSourceInfo *TInfo, in CXXCtorInitializer()
1550 return Initializee.get<TypeSourceInfo*>()->getTypeLoc(); in getBaseClassLoc()
1557 return Initializee.get<TypeSourceInfo*>()->getType().getTypePtr(); in getBaseClass()
1569 if (TypeSourceInfo *TSInfo = Initializee.get<TypeSourceInfo*>()) in getSourceLocation()
1599 QualType T, TypeSourceInfo *TInfo, in Create()
1747 QualType T, TypeSourceInfo *TInfo, in Create()
1770 QualType T, TypeSourceInfo *TInfo, in Create()
DDecl.cpp1011 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1021 TypeSourceInfo *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setQualifierInfo()
1034 TypeSourceInfo *savedTInfo = getExtInfo()->TInfo; in setQualifierInfo()
1054 TypeSourceInfo *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setTemplateParameterListsInfo()
1110 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
1159 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in Create()
1531 QualType T, TypeSourceInfo *TInfo, in Create()
2448 TypeSourceInfo *TInfo, Expr *BW, bool Mutable, in Create()
2856 QualType T, TypeSourceInfo *TInfo, in Create()
2926 IdentifierInfo *Id, TypeSourceInfo *TInfo) { in Create()
[all …]
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp206 TypeSourceInfo *T, in DiagnoseUnexpandedParameterPack()
274 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack()
402 TypeSourceInfo *TSInfo; in ActOnPackExpansion()
407 TypeSourceInfo *TSResult = CheckPackExpansion(TSInfo, EllipsisLoc, in ActOnPackExpansion()
415 TypeSourceInfo *Sema::CheckPackExpansion(TypeSourceInfo *Pattern, in CheckPackExpansion()
425 TypeSourceInfo *TSResult = Context.CreateTypeSourceInfo(Result); in CheckPackExpansion()
DTreeTransform.h300 TypeSourceInfo *TransformType(TypeSourceInfo *DI);
515 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
1199 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl()
1295 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
1424 TypeSourceInfo *ScopeType,
1444 TypeSourceInfo *Type, in RebuildOffsetOfExpr()
1457 ExprResult RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, in RebuildUnaryExprOrTypeTrait()
1590 TypeSourceInfo *TInfo, in RebuildCStyleCastExpr()
1602 TypeSourceInfo *TInfo, in RebuildCompoundLiteralExpr()
1681 Expr *SubExpr, TypeSourceInfo *TInfo, in RebuildVAArgExpr()
[all …]
DTypeLocBuilder.h105 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
111 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo()
DSemaTemplateInstantiateDecl.cpp84 TypeSourceInfo *Result = SubstType(Aligned->getAlignmentType(), in InstantiateAttrs()
145 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
264 TypeSourceInfo *DI = SemaRef.SubstType(D->getTypeSourceInfo(), in VisitVarDecl()
386 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
495 if (TypeSourceInfo *Ty = D->getFriendType()) { in VisitFriendDecl()
496 TypeSourceInfo *InstTy; in VisitFriendDecl()
575 if (TypeSourceInfo *TI = D->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
580 TypeSourceInfo *NewTI = SemaRef.SubstType(TI, TemplateArgs, UnderlyingLoc, in VisitEnumDecl()
605 if (TypeSourceInfo *TI = Def->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
1044 TypeSourceInfo *TInfo = SubstFunctionType(D, Params); in VisitFunctionDecl()
[all …]
DSemaTemplateInstantiate.cpp791 TypeSourceInfo *Declarator,
799 TypeSourceInfo *TSInfo, QualType T);
960 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
972 TypeSourceInfo *TSInfo, in RebuildObjCExceptionDecl()
1398 TypeSourceInfo *Sema::SubstType(TypeSourceInfo *T, in SubstType()
1414 TypeSourceInfo *Sema::SubstType(TypeLoc TL, in SubstType()
1461 static bool NeedsInstantiationAsFunctionType(TypeSourceInfo *T) { in NeedsInstantiationAsFunctionType()
1476 if (TypeSourceInfo *TSInfo = P->getTypeSourceInfo()) in NeedsInstantiationAsFunctionType()
1493 TypeSourceInfo *Sema::SubstFunctionDeclType(TypeSourceInfo *T, in SubstFunctionDeclType()
1532 TypeSourceInfo *OldDI = OldParm->getTypeSourceInfo(); in SubstParmVarDecl()
[all …]
DSemaType.cpp1606 QualType Sema::GetTypeFromParser(ParsedType Ty, TypeSourceInfo **TInfo) { in GetTypeFromParser()
1613 TypeSourceInfo *DI = 0; in GetTypeFromParser()
1773 TypeSourceInfo *&ReturnTypeInfo) { in GetDeclSpecTypeForDeclarator()
2032 static TypeSourceInfo *GetFullTypeForDeclarator(TypeProcessingState &state, in GetFullTypeForDeclarator()
2034 TypeSourceInfo *TInfo) { in GetFullTypeForDeclarator()
2665 TypeSourceInfo *Sema::GetTypeForDeclarator(Declarator &D, Scope *S) { in GetTypeForDeclarator()
2671 TypeSourceInfo *ReturnTypeInfo = 0; in GetTypeForDeclarator()
2779 TypeSourceInfo *Sema::GetTypeForDeclaratorCast(Declarator &D, QualType FromTy) { in GetTypeForDeclaratorCast()
2782 TypeSourceInfo *ReturnTypeInfo = 0; in GetTypeForDeclaratorCast()
2904 TypeSourceInfo *TInfo = 0; in VisitTemplateSpecializationTypeLoc()
[all …]

123