Home
last modified time | relevance | path

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

12

/external/qemu/distrib/sdl-1.2.12/src/thread/epoc/
DSDL_syssem.cpp85 struct TInfo struct
87 TInfo(TInt aTime, TInt aHandle) : in TInfo() function
96 TInfo* info = STATIC_CAST(TInfo*, aInfo); in ThreadRun() argument
137 TInfo* info = new (ELeave)TInfo(timeout, sem->handle); in SDL_SemWaitTimeout()
/external/clang/lib/AST/
DDeclarationName.cpp497 NamedType.TInfo = 0; in DeclarationNameLoc()
530 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in containsUnexpandedParameterPack() local
531 return TInfo->getType()->containsUnexpandedParameterPack(); in containsUnexpandedParameterPack()
552 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in isInstantiationDependent() local
553 return TInfo->getType()->isInstantiationDependentType(); in isInstantiationDependent()
582 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) { in printName() local
587 OS << TInfo->getType().getAsString(); in printName()
614 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in getEndLoc() local
615 return TInfo->getTypeLoc().getEndLoc(); in getEndLoc()
DDecl.cpp1025 getExtInfo()->TInfo = savedTInfo; in setQualifierInfo()
1034 TypeSourceInfo *savedTInfo = getExtInfo()->TInfo; in setQualifierInfo()
1058 getExtInfo()->TInfo = savedTInfo; in setTemplateParameterListsInfo()
1110 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange() local
1111 if (typeIsPostfix(TInfo->getType())) in getSourceRange()
1112 RangeEnd = TInfo->getTypeLoc().getSourceRange().getEnd(); in getSourceRange()
1159 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in Create() argument
1161 return new (C) VarDecl(Var, DC, StartL, IdL, Id, T, TInfo, S, SCAsWritten); in Create()
1531 QualType T, TypeSourceInfo *TInfo, in Create() argument
1534 return new (C) ParmVarDecl(ParmVar, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
[all …]
DDeclCXX.cpp1323 QualType T, TypeSourceInfo *TInfo, in Create() argument
1326 return new (C) CXXMethodDecl(CXXMethod, RD, StartLoc, NameInfo, T, TInfo, in Create()
1477 TypeSourceInfo *TInfo, bool IsVirtual, in CXXCtorInitializer() argument
1481 : Initializee(TInfo), MemberOrEllipsisLocation(EllipsisLoc), Init(Init), in CXXCtorInitializer()
1510 TypeSourceInfo *TInfo, in CXXCtorInitializer() argument
1513 : Initializee(TInfo), MemberOrEllipsisLocation(), Init(Init), in CXXCtorInitializer()
1599 QualType T, TypeSourceInfo *TInfo, in Create() argument
1605 return new (C) CXXConstructorDecl(RD, StartLoc, NameInfo, T, TInfo, in Create()
1747 QualType T, TypeSourceInfo *TInfo, in Create() argument
1752 return new (C) CXXDestructorDecl(RD, StartLoc, NameInfo, T, TInfo, isInline, in Create()
[all …]
DDeclTemplate.cpp492 TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl() argument
496 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc), in NonTypeTemplateParmDecl()
515 TypeSourceInfo *TInfo) { in Create() argument
517 T, ParameterPack, TInfo); in Create()
525 TypeSourceInfo *TInfo, in Create() argument
533 D, P, Id, T, TInfo, in Create()
DASTImporter.cpp2204 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitTypedefNameDecl() local
2211 TInfo); in VisitTypedefNameDecl()
2216 TInfo); in VisitTypedefNameDecl()
2535 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFunctionDecl() local
2541 NameInfo, T, TInfo, in VisitFunctionDecl()
2550 NameInfo, T, TInfo, in VisitFunctionDecl()
2558 NameInfo, T, TInfo, in VisitFunctionDecl()
2567 NameInfo, T, TInfo, in VisitFunctionDecl()
2576 NameInfo, T, TInfo, D->getStorageClass(), in VisitFunctionDecl()
2655 TypeSourceInfo *TInfo = Importer.Import(D->getTypeSourceInfo()); in VisitFieldDecl() local
[all …]
/external/clang/tools/libclang/
DIndexTypeSourceInfo.cpp97 void IndexingContext::indexTypeSourceInfo(TypeSourceInfo *TInfo, in indexTypeSourceInfo() argument
100 if (!TInfo || TInfo->getTypeLoc().isNull()) in indexTypeSourceInfo()
103 indexTypeLoc(TInfo->getTypeLoc(), Parent, DC); in indexTypeSourceInfo()
/external/clang/lib/ARCMigrate/
DTransGCAttrs.cpp60 void lookForAttribute(Decl *D, TypeSourceInfo *TInfo) { in lookForAttribute() argument
61 if (!TInfo) in lookForAttribute()
63 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute()
247 TypeSourceInfo *TInfo = PD->getTypeSourceInfo(); in checkAllAtProps() local
248 if (!TInfo) in checkAllAtProps()
250 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
253 if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Weak) { in checkAllAtProps()
255 } else if (TInfo->getType().getObjCLifetime() == Qualifiers::OCL_Strong) in checkAllAtProps()
/external/clang/include/clang/AST/
DDecl.h593 TypeSourceInfo *TInfo; member
608 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl() argument
610 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl()
616 ? getExtInfo()->TInfo in getTypeSourceInfo()
621 getExtInfo()->TInfo = TI; in setTypeSourceInfo()
819 QualType T, TypeSourceInfo *TInfo, StorageClass SC, in VarDecl() argument
821 : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc), Init() { in VarDecl()
848 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
1248 QualType T, TypeSourceInfo *TInfo, in ParmVarDecl() argument
1250 : VarDecl(DK, DC, StartLoc, IdLoc, Id, T, TInfo, S, SCAsWritten) { in ParmVarDecl()
[all …]
DDeclarationName.h384 TypeSourceInfo* TInfo; member
452 return LocInfo.NamedType.TInfo; in getNamedTypeInfo()
456 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
460 LocInfo.NamedType.TInfo = TInfo; in setNamedTypeInfo()
DDeclCXX.h206 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc)
208 Access(A), InheritConstructors(false), BaseTypeInfo(TInfo) { }
1550 QualType T, TypeSourceInfo *TInfo,
1553 : FunctionDecl(DK, RD, StartLoc, NameInfo, T, TInfo,
1564 QualType T, TypeSourceInfo *TInfo,
1740 CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo, bool IsVirtual,
1758 CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo,
1958 QualType T, TypeSourceInfo *TInfo,
1961 : CXXMethodDecl(CXXConstructor, RD, StartLoc, NameInfo, T, TInfo, false,
1973 QualType T, TypeSourceInfo *TInfo,
[all …]
DDeclFriend.h108 else if (TypeSourceInfo *TInfo = getFriendType()) in getSourceRange() local
109 return SourceRange(getFriendLoc(), TInfo->getTypeLoc().getEndLoc()); in getSourceRange()
DTemplateBase.h381 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo()
431 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo) in TemplateArgumentLoc() argument
432 : Argument(Argument), LocInfo(TInfo) { in TemplateArgumentLoc()
DExpr.h1843 UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, TypeSourceInfo *TInfo, in UnaryExprOrTypeTraitExpr() argument
1849 TInfo->getType()->isDependentType(), in UnaryExprOrTypeTraitExpr()
1850 TInfo->getType()->isInstantiationDependentType(), in UnaryExprOrTypeTraitExpr()
1851 TInfo->getType()->containsUnexpandedParameterPack()), in UnaryExprOrTypeTraitExpr()
1855 Argument.Ty = TInfo; in UnaryExprOrTypeTraitExpr()
1902 void setArgument(TypeSourceInfo *TInfo) { in setArgument() argument
1903 Argument.Ty = TInfo; in setArgument()
2679 TypeSourceInfo *TInfo; variable
2685 : CastExpr(SC, exprTy, VK, kind, op, PathSize), TInfo(writtenTy) {} in ExplicitCastExpr()
2694 TypeSourceInfo *getTypeInfoAsWritten() const { return TInfo; } in getTypeInfoAsWritten()
[all …]
DDeclTemplate.h991 bool ParameterPack, TypeSourceInfo *TInfo)
992 : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
1001 TypeSourceInfo *TInfo,
1012 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1017 QualType T, TypeSourceInfo *TInfo,
DDeclObjC.h336 void setResultTypeSourceInfo(TypeSourceInfo *TInfo) { ResultTInfo = TInfo; } in setResultTypeSourceInfo() argument
997 QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW, in ObjCIvarDecl() argument
999 : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW, in ObjCIvarDecl()
1007 TypeSourceInfo *TInfo,
/external/clang/include/clang/Sema/
DLocInfoType.h38 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType() argument
43 DeclInfo(TInfo) { in LocInfoType()
DSema.h918 ParsedType CreateParsedType(QualType T, TypeSourceInfo *TInfo);
921 static QualType GetTypeFromParser(ParsedType Ty, TypeSourceInfo **TInfo = 0);
1129 TypeSourceInfo *TInfo,
1134 TypeSourceInfo *TInfo,
1143 TypeSourceInfo *TInfo,
1307 TypeSourceInfo *TInfo,
1447 TypeSourceInfo *TInfo);
2349 VarDecl *BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType ExceptionType,
2375 VarDecl *BuildExceptionDeclaration(Scope *S, TypeSourceInfo *TInfo,
2675 ExprResult CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo,
[all …]
/external/clang/lib/Sema/
DSemaType.cpp1606 QualType Sema::GetTypeFromParser(ParsedType Ty, TypeSourceInfo **TInfo) { in GetTypeFromParser() argument
1609 if (TInfo) *TInfo = 0; in GetTypeFromParser()
1619 if (TInfo) *TInfo = DI; in GetTypeFromParser()
2034 TypeSourceInfo *TInfo) { in GetFullTypeForDeclarator() argument
2190 &TInfo); in GetFullTypeForDeclarator()
2657 return S.GetTypeSourceInfoForDeclarator(D, T, TInfo); in GetFullTypeForDeclarator()
2904 TypeSourceInfo *TInfo = 0; in VisitTemplateSpecializationTypeLoc() local
2905 Sema::GetTypeFromParser(DS.getRepAsType(), &TInfo); in VisitTemplateSpecializationTypeLoc()
2909 if (!TInfo) { in VisitTemplateSpecializationTypeLoc()
2914 TypeLoc OldTL = TInfo->getTypeLoc(); in VisitTemplateSpecializationTypeLoc()
[all …]
DSemaExprCXX.cpp386 TypeSourceInfo *TInfo = 0; in ActOnCXXTypeid() local
388 &TInfo); in ActOnCXXTypeid()
392 if (!TInfo) in ActOnCXXTypeid()
393 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
395 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc); in ActOnCXXTypeid()
472 TypeSourceInfo *TInfo = 0; in ActOnCXXUuidof() local
474 &TInfo); in ActOnCXXUuidof()
478 if (!TInfo) in ActOnCXXUuidof()
479 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof()
481 return BuildCXXUuidof(GuidType, OpLoc, TInfo, RParenLoc); in ActOnCXXUuidof()
[all …]
DSemaDecl.cpp2863 TypeSourceInfo *TInfo = GetTypeForDeclarator(Dc, S); in BuildAnonymousStructOrUnion() local
2864 assert(TInfo && "couldn't build declarator info for anonymous struct/union"); in BuildAnonymousStructOrUnion()
2874 TInfo, in BuildAnonymousStructOrUnion()
2900 TInfo, SC, SCAsWritten); in BuildAnonymousStructOrUnion()
2961 TypeSourceInfo *TInfo = GetTypeForDeclarator(Dc, S); in BuildMicrosoftCAnonymousStruct() local
2962 assert(TInfo && "couldn't build declarator info for anonymous struct"); in BuildMicrosoftCAnonymousStruct()
2971 TInfo, in BuildMicrosoftCAnonymousStruct()
3032 TypeSourceInfo *TInfo; in GetNameFromUnqualifiedId() local
3033 QualType Ty = GetTypeFromParser(Name.ConversionFunctionId, &TInfo); in GetNameFromUnqualifiedId()
3039 NameInfo.setNamedTypeInfo(TInfo); in GetNameFromUnqualifiedId()
[all …]
DSemaTemplateInstantiateDecl.cpp1044 TypeSourceInfo *TInfo = SubstFunctionType(D, Params); in VisitFunctionDecl() local
1045 if (!TInfo) in VisitFunctionDecl()
1047 QualType T = TInfo->getType(); in VisitFunctionDecl()
1074 D->getLocation(), D->getDeclName(), T, TInfo, in VisitFunctionDecl()
1362 TypeSourceInfo *TInfo = SubstFunctionType(D, Params); in VisitCXXMethodDecl() local
1363 if (!TInfo) in VisitCXXMethodDecl()
1365 QualType T = TInfo->getType(); in VisitCXXMethodDecl()
1419 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
1425 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
1430 StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl()
[all …]
DSemaExpr.cpp2943 Sema::CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo, in CreateUnaryExprOrTypeTraitExpr() argument
2947 if (!TInfo) in CreateUnaryExprOrTypeTraitExpr()
2950 QualType T = TInfo->getType(); in CreateUnaryExprOrTypeTraitExpr()
2957 return Owned(new (Context) UnaryExprOrTypeTraitExpr(ExprKind, TInfo, in CreateUnaryExprOrTypeTraitExpr()
3014 TypeSourceInfo *TInfo; in ActOnUnaryExprOrTypeTraitExpr() local
3015 (void) GetTypeFromParser(ParsedType::getFromOpaquePtr(TyOrEx), &TInfo); in ActOnUnaryExprOrTypeTraitExpr()
3016 return CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, ArgRange); in ActOnUnaryExprOrTypeTraitExpr()
3934 TypeSourceInfo *TInfo; in ActOnCompoundLiteral() local
3935 QualType literalType = GetTypeFromParser(Ty, &TInfo); in ActOnCompoundLiteral()
3936 if (!TInfo) in ActOnCompoundLiteral()
[all …]
DTreeTransform.h1199 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl() argument
1200 return getSema().BuildObjCExceptionDecl(TInfo, T, in RebuildObjCExceptionDecl()
1457 ExprResult RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, in RebuildUnaryExprOrTypeTrait() argument
1461 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R); in RebuildUnaryExprOrTypeTrait()
1590 TypeSourceInfo *TInfo, in RebuildCStyleCastExpr() argument
1593 return getSema().BuildCStyleCastExpr(LParenLoc, TInfo, RParenLoc, in RebuildCStyleCastExpr()
1602 TypeSourceInfo *TInfo, in RebuildCompoundLiteralExpr() argument
1605 return getSema().BuildCompoundLiteralExpr(LParenLoc, TInfo, RParenLoc, in RebuildCompoundLiteralExpr()
1681 Expr *SubExpr, TypeSourceInfo *TInfo, in RebuildVAArgExpr() argument
1684 SubExpr, TInfo, in RebuildVAArgExpr()
[all …]
DSemaDeclCXX.cpp1015 TypeSourceInfo *TInfo, in CheckBaseSpecifier() argument
1017 QualType BaseType = TInfo->getType(); in CheckBaseSpecifier()
1028 !TInfo->getType()->containsUnexpandedParameterPack()) { in CheckBaseSpecifier()
1030 << TInfo->getTypeLoc().getSourceRange(); in CheckBaseSpecifier()
1037 Access, TInfo, EllipsisLoc); in CheckBaseSpecifier()
1039 SourceLocation BaseLoc = TInfo->getTypeLoc().getBeginLoc(); in CheckBaseSpecifier()
1089 Access, TInfo, EllipsisLoc); in CheckBaseSpecifier()
1110 TypeSourceInfo *TInfo = 0; in ActOnBaseSpecifier() local
1111 GetTypeFromParser(basetype, &TInfo); in ActOnBaseSpecifier()
1114 DiagnoseUnexpandedParameterPack(SpecifierRange.getBegin(), TInfo, in ActOnBaseSpecifier()
[all …]

12