Home
last modified time | relevance | path

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

1234

/external/clang/include/clang/AST/
DLocInfoType.h21 class TypeSourceInfo; variable
36 TypeSourceInfo *DeclInfo;
38 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType()
49 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo()
DExprCXX.h212 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
258 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
271 TypeSourceInfo *Written, SourceLocation L,
294 Expr *op, unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
307 TypeSourceInfo *Written, SourceLocation L,
338 TypeSourceInfo *writtenTy, SourceLocation l, in CXXReinterpretCastExpr()
351 TypeSourceInfo *WrittenTy, SourceLocation L,
376 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
387 TypeSourceInfo *WrittenTy, SourceLocation L,
577 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
[all …]
DDecl.h62 class TypeSourceInfo {
67 TypeSourceInfo(QualType ty) : Ty(ty) { } in TypeSourceInfo() function
650 TypeSourceInfo *TInfo;
653 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo;
665 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
671 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
674 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
676 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
913 TypeSourceInfo *TInfo, StorageClass SC);
938 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
[all …]
DDeclTemplate.h1045 typedef DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *>
1086 TypeSourceInfo *getDefaultArgumentInfo() const {
1100 void setDefaultArgument(TypeSourceInfo *DefArg) {
1144 std::pair<QualType, TypeSourceInfo *>> {
1165 OverloadToken<std::pair<QualType, TypeSourceInfo *>>) const {
1172 bool ParameterPack, TypeSourceInfo *TInfo)
1181 TypeSourceInfo *TInfo,
1183 ArrayRef<TypeSourceInfo *> ExpandedTInfos);
1192 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1197 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
[all …]
DDeclFriend.h45 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
107 TypeSourceInfo *getFriendType() const { in getFriendType()
108 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
144 else if (TypeSourceInfo *TInfo = getFriendType()) { in getSourceRange()
DTypeLoc.h27 class TypeSourceInfo; variable
215 inline TypeLoc TypeSourceInfo::getTypeLoc() const { in getTypeLoc()
857 TypeSourceInfo **getTypeArgLocArray() const { in getTypeArgLocArray()
858 return (TypeSourceInfo**)this->getExtraLocalData(); in getTypeArgLocArray()
886 TypeSourceInfo *getTypeArgTInfo(unsigned i) const { in getTypeArgTInfo()
891 void setTypeArgTInfo(unsigned i, TypeSourceInfo *TInfo) { in setTypeArgTInfo()
958 return this->getNumTypeArgs() * sizeof(TypeSourceInfo *) in getExtraLocalDataSize()
964 >= llvm::alignOf<TypeSourceInfo *>() && in getExtraLocalDataAlignment()
966 return llvm::alignOf<TypeSourceInfo *>(); in getExtraLocalDataAlignment()
1159 TypeSourceInfo *ClassTInfo;
[all …]
DASTImporter.h35 class TypeSourceInfo; variable
116 TypeSourceInfo *Import(TypeSourceInfo *FromTSI);
DDeclCXX.h192 TypeSourceInfo *BaseTypeInfo;
198 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier()
259 TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; } in getTypeSourceInfo()
530 LambdaDefinitionData(CXXRecordDecl *D, TypeSourceInfo *Info, in LambdaDefinitionData()
583 TypeSourceInfo *MethodTyInfo;
693 TypeSourceInfo *Info, SourceLocation Loc,
1716 TypeSourceInfo *getLambdaTypeInfo() const { in getLambdaTypeInfo()
1741 QualType T, TypeSourceInfo *TInfo, in CXXMethodDecl()
1754 QualType T, TypeSourceInfo *TInfo,
1927 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
[all …]
DTemplateBase.h36 class TypeSourceInfo; variable
383 TypeSourceInfo *Declarator;
389 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo()
403 TypeSourceInfo *getAsTypeSourceInfo() const { in getAsTypeSourceInfo()
439 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo) in TemplateArgumentLoc()
478 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
DDeclObjC.h169 TypeSourceInfo *ReturnTInfo;
227 Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
255 Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
344 TypeSourceInfo *getReturnTypeSourceInfo() const { return ReturnTInfo; } in getReturnTypeSourceInfo()
345 void setReturnTypeSourceInfo(TypeSourceInfo *TInfo) { ReturnTInfo = TInfo; } in setReturnTypeSourceInfo()
552 SourceLocation colonLoc, TypeSourceInfo *boundInfo) in ObjCTypeParamDecl()
566 TypeSourceInfo *boundInfo);
735 TypeSourceInfo *DeclTypeSourceInfo;
750 QualType T, TypeSourceInfo *TSI, in ObjCPropertyDecl()
768 TypeSourceInfo *TSI,
[all …]
DExpr.h1879 TypeSourceInfo *TSInfo;
1890 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1901 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1916 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
1919 void setTypeSourceInfo(TypeSourceInfo *tsi) { in setTypeSourceInfo()
1976 TypeSourceInfo *Ty;
1982 UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, TypeSourceInfo *TInfo, in UnaryExprOrTypeTraitExpr()
2014 TypeSourceInfo *getArgumentTypeInfo() const { in getArgumentTypeInfo()
2030 void setArgument(TypeSourceInfo *TInfo) { in setArgument()
2571 llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfoAndScope;
[all …]
DDeclarationName.h36 class TypeSourceInfo; variable
401 TypeSourceInfo *TInfo;
469 TypeSourceInfo *getNamedTypeInfo() const { in getNamedTypeInfo()
477 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
DExprObjC.h356 TypeSourceInfo *EncodedType;
359 ObjCEncodeExpr(QualType T, TypeSourceInfo *EncodedType,
378 TypeSourceInfo *getEncodedTypeSourceInfo() const { return EncodedType; }
379 void setEncodedTypeSourceInfo(TypeSourceInfo *EncType) {
934 TypeSourceInfo *Receiver,
1076 TypeSourceInfo *Receiver,
1175 if (TypeSourceInfo *TSInfo = getClassReceiverTypeInfo())
1183 TypeSourceInfo *getClassReceiverTypeInfo() const {
1185 return reinterpret_cast<TypeSourceInfo *>(getReceiverPointer());
1189 void setClassReceiver(TypeSourceInfo *TSInfo) {
[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()
97 return TypeCallPair((const TypeSourceInfo *)nullptr, E); in VisitCallExpr()
211 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()
70 TypeSourceInfo *allocatedTypeInfo, in CXXNewExpr()
156 PseudoDestructorTypeStorage::PseudoDestructorTypeStorage(TypeSourceInfo *Info) in PseudoDestructorTypeStorage()
164 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType, in CXXPseudoDestructorExpr()
198 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
206 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getLocEnd()
514 TypeSourceInfo *WrittenTy, in Create()
539 TypeSourceInfo *WrittenTy, in Create()
597 TypeSourceInfo *WrittenTy, SourceLocation L, in Create()
[all …]
DDeclTemplate.cpp522 unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl()
523 ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) in NonTypeTemplateParmDecl()
529 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>(); in NonTypeTemplateParmDecl()
542 TypeSourceInfo *TInfo) { in Create()
550 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, in Create()
551 ArrayRef<TypeSourceInfo *> ExpandedTInfos) { in Create()
553 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>>( in Create()
570 new (C, ID, additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>>( in CreateDeserialized()
1057 TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args) in VarTemplateSpecializationDecl()
1073 TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args) { in Create()
[all …]
DDeclarationName.cpp512 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in containsUnexpandedParameterPack()
534 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in isInstantiationDependent()
564 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) { in printName()
598 if (TypeSourceInfo *TInfo = LocInfo.NamedType.TInfo) in getEndLoc()
DDeclCXX.cpp111 TypeSourceInfo *Info, SourceLocation Loc, in CreateLambda()
1532 QualType T, TypeSourceInfo *TInfo, in Create()
1700 TypeSourceInfo *TInfo, bool IsVirtual, in CXXCtorInitializer()
1733 TypeSourceInfo *TInfo, in CXXCtorInitializer()
1772 return Initializee.get<TypeSourceInfo*>()->getTypeLoc(); in getBaseClassLoc()
1779 return Initializee.get<TypeSourceInfo*>()->getType().getTypePtr(); in getBaseClass()
1791 if (TypeSourceInfo *TSInfo = Initializee.get<TypeSourceInfo*>()) in getSourceLocation()
1825 QualType T, TypeSourceInfo *TInfo, in Create()
1964 QualType T, TypeSourceInfo *TInfo, in Create()
1996 QualType T, TypeSourceInfo *TInfo, in Create()
[all …]
/external/clang/lib/Sema/
DTreeTransform.h302 TypeSourceInfo *TransformType(TypeSourceInfo *DI);
569 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
646 TypeSourceInfo **RecoveryTSI);
650 TypeSourceInfo **RecoveryTSI);
709 ArrayRef<TypeSourceInfo *> TypeArgs,
1343 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl()
1859 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
2012 TypeSourceInfo *ScopeType,
2032 TypeSourceInfo *Type, in RebuildOffsetOfExpr()
2044 ExprResult RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, in RebuildUnaryExprOrTypeTrait()
[all …]
DSemaTemplateVariadic.cpp265 TypeSourceInfo *T, in DiagnoseUnexpandedParameterPack()
330 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack()
455 TypeSourceInfo *TSInfo; in ActOnPackExpansion()
460 TypeSourceInfo *TSResult = CheckPackExpansion(TSInfo, EllipsisLoc, None); in ActOnPackExpansion()
467 TypeSourceInfo *
468 Sema::CheckPackExpansion(TypeSourceInfo *Pattern, SourceLocation EllipsisLoc, in CheckPackExpansion()
889 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
905 TypeSourceInfo *PatternTSInfo = in getTemplateArgumentPackExpansionPattern()
DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
110 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo()
DSemaTemplateInstantiateDecl.cpp89 TypeSourceInfo *Result = S.SubstType(Aligned->getAlignmentType(), in instantiateDependentAlignedAttr()
472 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
609 TypeSourceInfo *DI = SemaRef.SubstType(D->getTypeSourceInfo(), in VisitVarDecl()
664 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
746 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
820 if (TypeSourceInfo *Ty = D->getFriendType()) { in VisitFriendDecl()
821 TypeSourceInfo *InstTy; in VisitFriendDecl()
899 if (TypeSourceInfo *TI = D->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
904 TypeSourceInfo *NewTI = SemaRef.SubstType(TI, TemplateArgs, UnderlyingLoc, in VisitEnumDecl()
939 if (TypeSourceInfo *TI = Def->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
[all …]
/external/clang/lib/Index/
DIndexingContext.h24 class TypeSourceInfo; variable
86 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent,
/external/clang/include/clang/Sema/
DSema.h1295 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S);
1296 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
1297 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T,
1298 TypeSourceInfo *ReturnTypeInfo);
1301 ParsedType CreateParsedType(QualType T, TypeSourceInfo *TInfo);
1305 TypeSourceInfo **TInfo = nullptr);
1707 TypeSourceInfo *TInfo,
1712 TypeSourceInfo *TInfo,
1723 TypeSourceInfo *TInfo,
1749 QualType T, TypeSourceInfo *TSInfo,
[all …]
DInitialization.h144 TypeSourceInfo *TypeInfo;
270 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary()
326 static InitializedEntity InitializeCompoundLiteralInit(TypeSourceInfo *TSI) { in InitializeCompoundLiteralInit()
347 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()

1234