Home
last modified time | relevance | path

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

12345678

/external/llvm-project/clang/include/clang/AST/
DLocInfoType.h20 class TypeSourceInfo; variable
35 TypeSourceInfo *DeclInfo;
37 LocInfoType(QualType ty, TypeSourceInfo *TInfo) in LocInfoType()
45 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo()
DExprCXX.h379 TypeSourceInfo *writtenTy, SourceLocation l, in CXXNamedCastExpr()
426 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXStaticCastExpr()
451 Expr *Op, const CXXCastPath *Path, TypeSourceInfo *Written,
471 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXDynamicCastExpr()
489 TypeSourceInfo *Written, SourceLocation L,
516 unsigned pathSize, TypeSourceInfo *writtenTy, in CXXReinterpretCastExpr()
534 TypeSourceInfo *WrittenTy, SourceLocation L,
556 TypeSourceInfo *writtenTy, SourceLocation l, in CXXConstCastExpr()
572 TypeSourceInfo *WrittenTy, SourceLocation L,
594 TypeSourceInfo *writtenTy, SourceLocation l, in CXXAddrspaceCastExpr()
[all …]
DDeclFriend.h59 using FriendUnion = llvm::PointerUnion<NamedDecl *, TypeSourceInfo *>;
123 TypeSourceInfo *getFriendType() const { in getFriendType()
124 return Friend.dyn_cast<TypeSourceInfo*>(); in getFriendType()
162 else if (TypeSourceInfo *TInfo = getFriendType()) { in getSourceRange()
DDecl.h691 TypeSourceInfo *TInfo;
695 llvm::PointerUnion<TypeSourceInfo *, ExtInfo *> DeclInfo;
707 DeclarationName N, QualType T, TypeSourceInfo *TInfo, in DeclaratorDecl()
715 TypeSourceInfo *getTypeSourceInfo() const { in getTypeSourceInfo()
718 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
721 void setTypeSourceInfo(TypeSourceInfo *TI) { in setTypeSourceInfo()
1005 TypeSourceInfo *TInfo, StorageClass SC);
1034 IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
1625 TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg) in ParmVarDecl()
1638 QualType T, TypeSourceInfo *TInfo,
[all …]
DTemplateBase.h58 class TypeSourceInfo;
416 llvm::PointerUnion<TemplateTemplateArgLocInfo *, Expr *, TypeSourceInfo *>
425 TemplateArgumentLocInfo(TypeSourceInfo *Declarator) { Pointer = Declarator; }
434 TypeSourceInfo *getAsTypeSourceInfo() const {
435 return Pointer.get<TypeSourceInfo *>();
468 TemplateArgumentLoc(const TemplateArgument &Argument, TypeSourceInfo *TInfo)
514 TypeSourceInfo *getTypeSourceInfo() const {
DDeclTemplate.h1204 DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *>;
1252 TypeSourceInfo *getDefaultArgumentInfo() const {
1266 void setDefaultArgument(TypeSourceInfo *DefArg) {
1383 std::pair<QualType, TypeSourceInfo *>,
1408 OverloadToken<std::pair<QualType, TypeSourceInfo *>>) const {
1415 bool ParameterPack, TypeSourceInfo *TInfo)
1422 TypeSourceInfo *TInfo,
1424 ArrayRef<TypeSourceInfo *> ExpandedTInfos);
1430 QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
1435 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
[all …]
DDeclCXX.h179 TypeSourceInfo *BaseTypeInfo;
184 TypeSourceInfo *TInfo, SourceLocation EllipsisLoc) in CXXBaseSpecifier()
250 TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; } in getTypeSourceInfo()
409 TypeSourceInfo *MethodTyInfo;
411 LambdaDefinitionData(CXXRecordDecl *D, TypeSourceInfo *Info, bool Dependent, in LambdaDefinitionData()
549 TypeSourceInfo *Info, SourceLocation Loc,
1766 TypeSourceInfo *getLambdaTypeInfo() const { in getLambdaTypeInfo()
1844 TypeSourceInfo *TInfo, SourceLocation EndLocation) in CXXDeductionGuideDecl()
1863 TypeSourceInfo *TInfo, SourceLocation EndLocation);
1932 QualType T, TypeSourceInfo *TInfo, StorageClass SC,
[all …]
DTypeLoc.h244 inline TypeLoc TypeSourceInfo::getTypeLoc() const { in getTypeLoc()
913 TypeSourceInfo **getTypeArgLocArray() const { in getTypeArgLocArray()
914 return (TypeSourceInfo**)this->getExtraLocalData(); in getTypeArgLocArray()
944 TypeSourceInfo *getTypeArgTInfo(unsigned i) const { in getTypeArgTInfo()
949 void setTypeArgTInfo(unsigned i, TypeSourceInfo *TInfo) { in setTypeArgTInfo()
1019 return this->getNumTypeArgs() * sizeof(TypeSourceInfo *) in getExtraLocalDataSize()
1024 static_assert(alignof(ObjCObjectTypeLoc) >= alignof(TypeSourceInfo *), in getExtraLocalDataAlignment()
1026 return alignof(TypeSourceInfo *); in getExtraLocalDataAlignment()
1252 TypeSourceInfo *ClassTInfo;
1272 TypeSourceInfo *getClassTInfo() const { in getClassTInfo()
[all …]
/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 …]
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()
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 …]
DASTImporter.h35 class TypeSourceInfo; variable
116 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.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()
/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/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMallocSizeofChecker.cpp30 typedef std::pair<const TypeSourceInfo *, const CallExpr *> TypeCallPair;
41 const TypeSourceInfo *ExplicitCastType;
45 const TypeSourceInfo *ExplicitCastType, in CallRecord()
96 return TypeCallPair((const TypeSourceInfo *)nullptr, E); in VisitCallExpr()
210 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 …]
/external/llvm-project/clang/lib/AST/
DExprCXX.cpp165 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
172 Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); in getTypeOperand()
188 TypeSourceInfo *AllocatedTypeInfo, SourceRange Range, in CXXNewExpr()
249 QualType Ty, TypeSourceInfo *AllocatedTypeInfo, in Create()
314 PseudoDestructorTypeStorage::PseudoDestructorTypeStorage(TypeSourceInfo *Info) in PseudoDestructorTypeStorage()
322 TypeSourceInfo *ScopeType, SourceLocation ColonColonLoc, in CXXPseudoDestructorExpr()
334 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getDestroyedType()
342 if (TypeSourceInfo *TInfo = DestroyedType.getTypeSourceInfo()) in getEndLoc()
708 TypeSourceInfo *WrittenTy, FPOptionsOverride FPO, in Create()
736 TypeSourceInfo *WrittenTy, in Create()
[all …]
DDeclTemplate.cpp674 unsigned P, IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo, in NonTypeTemplateParmDecl()
675 ArrayRef<QualType> ExpandedTypes, ArrayRef<TypeSourceInfo *> ExpandedTInfos) in NonTypeTemplateParmDecl()
681 getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>(); in NonTypeTemplateParmDecl()
694 TypeSourceInfo *TInfo) { in Create()
698 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, in Create()
708 QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes, in Create()
709 ArrayRef<TypeSourceInfo *> ExpandedTInfos) { in Create()
712 additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, in Create()
723 TypeSourceInfo *>, in CreateDeserialized()
735 new (C, ID, additionalSizeToAlloc<std::pair<QualType, TypeSourceInfo *>, in CreateDeserialized()
[all …]
/external/clang/lib/Sema/
DTypeLocBuilder.h104 TypeSourceInfo *getTypeSourceInfo(ASTContext& Context, QualType T) { in getTypeSourceInfo()
110 TypeSourceInfo *DI = Context.CreateTypeSourceInfo(T, FullDataSize); in getTypeSourceInfo()
/external/clang/lib/Index/
DIndexingContext.h24 class TypeSourceInfo; variable
86 void indexTypeSourceInfo(TypeSourceInfo *TInfo, const NamedDecl *Parent,

12345678