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.h1273 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S);
1274 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy);
1275 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T,
1276 TypeSourceInfo *ReturnTypeInfo);
1279 ParsedType CreateParsedType(QualType T, TypeSourceInfo *TInfo);
1283 TypeSourceInfo **TInfo = nullptr);
1658 TypeSourceInfo *TInfo,
1663 TypeSourceInfo *TInfo,
1674 TypeSourceInfo *TInfo,
1700 QualType T, TypeSourceInfo *TSInfo,
[all …]
DInitialization.h144 TypeSourceInfo *TypeInfo;
270 static InitializedEntity InitializeTemporary(TypeSourceInfo *TypeInfo) { in InitializeTemporary()
325 static InitializedEntity InitializeCompoundLiteralInit(TypeSourceInfo *TSI) { in InitializeCompoundLiteralInit()
346 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
/external/clang/include/clang/AST/
DExprCXX.h196 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
240 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
253 TypeSourceInfo *Written, SourceLocation L,
271 Expr *op, unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
284 TypeSourceInfo *Written, SourceLocation L,
309 TypeSourceInfo *writtenTy, SourceLocation l, in CXXReinterpretCastExpr()
322 TypeSourceInfo *WrittenTy, SourceLocation L,
342 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
353 TypeSourceInfo *WrittenTy, SourceLocation L,
540 llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
[all …]
DDecl.h61 class TypeSourceInfo {
66 TypeSourceInfo(QualType ty) : Ty(ty) { } in TypeSourceInfo() function
590 TypeSourceInfo *TInfo;
593 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo;
605 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
611 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
614 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
616 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
840 TypeSourceInfo *TInfo, StorageClass SC);
865 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
[all …]
DDeclFriend.h43 typedef llvm::PointerUnion<NamedDecl*,TypeSourceInfo*> FriendUnion;
113 TypeSourceInfo *getFriendType() const { in getFriendType()
114 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
150 else if (TypeSourceInfo *TInfo = getFriendType()) { in getSourceRange()
DDeclTemplate.h1040 typedef DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *>
1081 TypeSourceInfo *getDefaultArgumentInfo() const {
1095 void setDefaultArgument(TypeSourceInfo *DefArg) {
1139 std::pair<QualType, TypeSourceInfo *>> {
1160 OverloadToken<std::pair<QualType, TypeSourceInfo *>>) const {
1167 bool ParameterPack, TypeSourceInfo *TInfo)
1176 TypeSourceInfo *TInfo,
1179 TypeSourceInfo **ExpandedTInfos);
1188 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1193 QualType T, TypeSourceInfo *TInfo,
[all …]
DASTImporter.h34 class TypeSourceInfo; variable
115 TypeSourceInfo *Import(TypeSourceInfo *FromTSI);
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 …]
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()
586 TypeSourceInfo *MethodTyInfo;
688 TypeSourceInfo *Info, SourceLocation Loc,
1688 TypeSourceInfo *getLambdaTypeInfo() const { in getLambdaTypeInfo()
1712 QualType T, TypeSourceInfo *TInfo, in CXXMethodDecl()
1725 QualType T, TypeSourceInfo *TInfo,
1895 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
[all …]
DTemplateBase.h35 class TypeSourceInfo; variable
376 TypeSourceInfo *Declarator;
382 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo()
396 TypeSourceInfo *getAsTypeSourceInfo() const { in getAsTypeSourceInfo()
432 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo) in TemplateArgumentLoc()
471 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()
557 SourceLocation colonLoc, TypeSourceInfo *boundInfo) in ObjCTypeParamDecl()
571 TypeSourceInfo *boundInfo);
866 TypeSourceInfo *SuperClassTInfo;
1231 if (TypeSourceInfo *TInfo = getSuperClassTInfo()) in getSuperClassType()
1238 TypeSourceInfo *getSuperClassTInfo() const { in getSuperClassTInfo()
[all …]
DDeclarationName.h35 class TypeSourceInfo; variable
398 TypeSourceInfo* TInfo;
466 TypeSourceInfo *getNamedTypeInfo() const { in getNamedTypeInfo()
474 void setNamedTypeInfo(TypeSourceInfo *TInfo) { in setNamedTypeInfo()
DExpr.h1923 TypeSourceInfo *TSInfo;
1930 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1941 SourceLocation OperatorLoc, TypeSourceInfo *tsi,
1956 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
1959 void setTypeSourceInfo(TypeSourceInfo *tsi) { in setTypeSourceInfo()
2017 TypeSourceInfo *Ty;
2023 UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, TypeSourceInfo *TInfo, in UnaryExprOrTypeTraitExpr()
2055 TypeSourceInfo *getArgumentTypeInfo() const { in getArgumentTypeInfo()
2071 void setArgument(TypeSourceInfo *TInfo) { in setArgument()
2645 llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfoAndScope;
[all …]
DExprObjC.h361 TypeSourceInfo *EncodedType;
364 ObjCEncodeExpr(QualType T, TypeSourceInfo *EncodedType,
383 TypeSourceInfo *getEncodedTypeSourceInfo() const { return EncodedType; }
384 void setEncodedTypeSourceInfo(TypeSourceInfo *EncType) {
938 TypeSourceInfo *Receiver,
1083 TypeSourceInfo *Receiver,
1182 if (TypeSourceInfo *TSInfo = getClassReceiverTypeInfo())
1190 TypeSourceInfo *getClassReceiverTypeInfo() const {
1192 return reinterpret_cast<TypeSourceInfo *>(getReceiverPointer());
1196 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()
143 TypeSourceInfo *allocatedTypeInfo, in CXXNewExpr()
229 PseudoDestructorTypeStorage::PseudoDestructorTypeStorage(TypeSourceInfo *Info) in PseudoDestructorTypeStorage()
237 NestedNameSpecifierLoc QualifierLoc, TypeSourceInfo *ScopeType, in CXXPseudoDestructorExpr()
271 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
279 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getLocEnd()
585 TypeSourceInfo *WrittenTy, in Create()
610 TypeSourceInfo *WrittenTy, in Create()
668 TypeSourceInfo *WrittenTy, SourceLocation L, in Create()
[all …]
DDeclTemplate.cpp545 TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl()
548 TypeSourceInfo **ExpandedTInfos) in NonTypeTemplateParmDecl()
554 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>(); in NonTypeTemplateParmDecl()
567 TypeSourceInfo *TInfo) { in Create()
577 TypeSourceInfo *TInfo, in Create()
580 TypeSourceInfo **ExpandedTInfos) { in Create()
582 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>>( in Create()
599 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>>( in CreateDeserialized()
1097 TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, in VarTemplateSpecializationDecl()
1114 TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, in Create()
[all …]
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()
1464 QualType T, TypeSourceInfo *TInfo, in Create()
1625 TypeSourceInfo *TInfo, bool IsVirtual, in CXXCtorInitializer()
1658 TypeSourceInfo *TInfo, in CXXCtorInitializer()
1698 return Initializee.get<TypeSourceInfo*>()->getTypeLoc(); in getBaseClassLoc()
1705 return Initializee.get<TypeSourceInfo*>()->getType().getTypePtr(); in getBaseClass()
1717 if (TypeSourceInfo *TSInfo = Initializee.get<TypeSourceInfo*>()) in getSourceLocation()
1747 QualType T, TypeSourceInfo *TInfo, in Create()
1900 QualType T, TypeSourceInfo *TInfo, in Create()
1932 QualType T, TypeSourceInfo *TInfo, in Create()
[all …]
DDecl.cpp768 if (TypeSourceInfo *TSI = Function->getTypeSourceInfo()) in getLVForNamespaceScopeDecl()
915 if (TypeSourceInfo *TSI = MD->getTypeSourceInfo()) in getLVForClassMember()
1641 TypeSourceInfo *TSI = getTypeSourceInfo(); in getTypeSpecStartLoc()
1651 auto *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setQualifierInfo()
1664 TypeSourceInfo *savedTInfo = getExtInfo()->TInfo; in setQualifierInfo()
1682 auto *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setTemplateParameterListsInfo()
1738 if (TypeSourceInfo *TInfo = getTypeSourceInfo()) { in getSourceRange()
1782 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in VarDecl()
1799 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in Create()
2289 QualType T, TypeSourceInfo *TInfo, in Create()
[all …]
/external/clang/lib/Sema/
DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
110 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo()
DTreeTransform.h302 TypeSourceInfo *TransformType(TypeSourceInfo *DI);
561 TypeSourceInfo *InventTypeSourceInfo(QualType T) { in InventTypeSourceInfo()
637 TypeSourceInfo **RecoveryTSI);
641 TypeSourceInfo **RecoveryTSI);
700 ArrayRef<TypeSourceInfo *> TypeArgs,
1331 TypeSourceInfo *TInfo, QualType T) { in RebuildObjCExceptionDecl()
1786 TypeSourceInfo *Declarator, in RebuildExceptionDecl()
1939 TypeSourceInfo *ScopeType,
1959 TypeSourceInfo *Type, in RebuildOffsetOfExpr()
1971 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()
885 TypeSourceInfo *ExpansionTSInfo = OrigLoc.getTypeSourceInfo(); in getTemplateArgumentPackExpansionPattern()
901 TypeSourceInfo *PatternTSInfo = in getTemplateArgumentPackExpansionPattern()
DSemaTemplateInstantiateDecl.cpp89 TypeSourceInfo *Result = S.SubstType(Aligned->getAlignmentType(), in instantiateDependentAlignedAttr()
358 TypeSourceInfo *DI = D->getTypeSourceInfo(); in InstantiateTypedefNameDecl()
502 TypeSourceInfo *DI = SemaRef.SubstType(D->getTypeSourceInfo(), in VisitVarDecl()
557 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitFieldDecl()
639 TypeSourceInfo *DI = D->getTypeSourceInfo(); in VisitMSPropertyDecl()
713 if (TypeSourceInfo *Ty = D->getFriendType()) { in VisitFriendDecl()
714 TypeSourceInfo *InstTy; in VisitFriendDecl()
792 if (TypeSourceInfo *TI = D->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
797 TypeSourceInfo *NewTI = SemaRef.SubstType(TI, TemplateArgs, UnderlyingLoc, in VisitEnumDecl()
832 if (TypeSourceInfo *TI = Def->getIntegerTypeSourceInfo()) { in VisitEnumDecl()
[all …]

1234