/external/clang/lib/AST/ |
D | TypeLoc.cpp | 30 SourceRange Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 37 SourceRange TypeLoc::getLocalSourceRangeImpl(TypeLoc TL) { in getLocalSourceRangeImpl() 47 unsigned Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 55 unsigned TypeLoc::getFullDataSizeForType(QualType Ty) { in getFullDataSizeForType() 57 return TypeSizer().Visit(TypeLoc(Ty, 0)); in getFullDataSizeForType() 61 class NextLoc : public TypeLocVisitor<NextLoc, TypeLoc> { 65 TypeLoc Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 74 TypeLoc TypeLoc::getNextTypeLocImpl(TypeLoc TL) { in getNextTypeLocImpl() 81 void TypeLoc::initializeImpl(ASTContext &Context, TypeLoc TL, in initializeImpl() 88 CLASS##TypeLoc TLCasted = cast<CLASS##TypeLoc>(TL); \ in initializeImpl() [all …]
|
D | NestedNameSpecifier.cpp | 381 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange() 390 TypeLoc NestedNameSpecifierLoc::getTypeLoc() const { in getTypeLoc() 398 return TypeLoc(Qualifier->getAsType(), TypeData); in getTypeLoc() 505 TypeLoc TL, in Extend()
|
D | CMakeLists.txt | 56 TypeLoc.cpp
|
D | Android.mk | 76 TypeLoc.cpp \
|
D | Comment.cpp | 253 TypeLoc TL = TSI->getTypeLoc().getUnqualifiedLoc(); in fill()
|
D | TemplateBase.cpp | 460 TypeLoc Pattern = Expansion.getPatternLoc(); in getPackExpansionPattern()
|
/external/clang/include/clang/AST/ |
D | TypeLocVisitor.h | 29 RetTy Visit(TypeLoc TyLoc) { in Visit() 33 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); in Visit() 43 case TypeLoc::CLASS: DISPATCH(CLASS##TypeLoc); in Visit() 50 RetTy Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc) { \ 55 RetTy VisitTypeLoc(TypeLoc TyLoc) { return RetTy(); } in VisitTypeLoc()
|
D | TypeLoc.h | 32 class Class##TypeLoc; 39 class TypeLoc { 58 TypeLoc() : Ty(0), Data(0) { } in TypeLoc() function 59 TypeLoc(QualType ty, void *opaqueData) in TypeLoc() function 61 TypeLoc(const Type *ty, void *opaqueData) in TypeLoc() function 115 TypeLoc getNextTypeLoc() const { in getNextTypeLoc() 122 TypeLoc IgnoreParens() const { in IgnoreParens() 139 void initializeFullCopy(TypeLoc Other) const { in initializeFullCopy() 148 void initializeFullCopy(TypeLoc Other, unsigned Size) const { in initializeFullCopy() 154 friend bool operator==(const TypeLoc &LHS, const TypeLoc &RHS) { [all …]
|
D | TypeLocNodes.def | 1 //===-- TypeLocNodes.def - Metadata about TypeLoc wrappers ------*- C++ -*-===// 10 // This file defines the TypeLoc info database. Each node is 15 // TYPELOC(Class, Base) - A TypeLoc subclass. If UNQUAL_TYPELOC is 32 TYPELOC(Qualified, TypeLoc)
|
D | NestedNameSpecifier.h | 30 class TypeLoc; variable 301 TypeLoc getTypeLoc() const; 370 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
|
D | RecursiveASTVisitor.h | 181 bool TraverseTypeLoc(TypeLoc TL); 347 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 352 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() 353 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() 368 bool WalkUpFrom##CLASS##TypeLoc(CLASS##TypeLoc TL) { \ 370 TRY_TO(Visit##CLASS##TypeLoc(TL)); \ 373 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { return true; } 595 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() 602 case TypeLoc::CLASS: \ in TraverseTypeLoc() 603 return getDerived().Traverse##CLASS##TypeLoc(*cast<CLASS##TypeLoc>(&TL)); in TraverseTypeLoc() [all …]
|
/external/clang/lib/Sema/ |
D | TypeLocBuilder.h | 62 void pushFullCopy(TypeLoc L) { in pushFullCopy() 64 TypeLoc Copy = pushFullUninitializedImpl(L.getType(), Size); in pushFullCopy() 70 TypeLoc pushFullUninitialized(QualType T) { in pushFullUninitialized() 71 return pushFullUninitializedImpl(T, TypeLoc::getFullDataSizeForType(T)); in pushFullUninitialized() 100 size_t LocalSize = cast<TyLocType>(TypeLoc(T, 0)).getLocalDataSize(); in push() 118 TypeLoc getTypeLocInContext(ASTContext &Context, QualType T) { in getTypeLocInContext() 126 return TypeLoc(T, Mem); in getTypeLocInContext() 130 TypeLoc pushImpl(QualType T, size_t LocalSize) { in pushImpl() 132 QualType TLast = TypeLoc(T, 0).getNextTypeLoc().getType(); in pushImpl() 171 TypeLoc pushFullUninitializedImpl(QualType T, size_t Size) { in pushFullUninitializedImpl() [all …]
|
D | SemaTemplateVariadic.cpp | 131 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() 376 void Sema::collectUnexpandedParameterPacks(TypeLoc TL, in collectUnexpandedParameterPacks()
|
D | TreeTransform.h | 303 QualType TransformType(TypeLocBuilder &TLB, TypeLoc TL); 519 QualType Transform##CLASS##Type(TypeLocBuilder &TLB, CLASS##TypeLoc T); 2508 TypeLoc TransformTypeInObjectScope(TypeLoc TL, 2720 TypeLoc TL = TransformTypeInObjectScope(Q.getTypeLoc(), ObjectType, in TransformNestedNameSpecifierLoc() 3282 TypeLoc TL = DI->getTypeLoc(); in TransformType() 3294 TreeTransform<Derived>::TransformType(TypeLocBuilder &TLB, TypeLoc T) { in TransformType() 3298 case TypeLoc::CLASS: \ in TransformType() 3299 return getDerived().Transform##CLASS##Type(TLB, cast<CLASS##TypeLoc>(T)); in TransformType() 3369 TypeLoc 3370 TreeTransform<Derived>::TransformTypeInObjectScope(TypeLoc TL, in TransformTypeInObjectScope() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 1628 TypeLoc TL = D->getTypeSourceInfo()->getTypeLoc(); in VisitNonTypeTemplateParmDecl() 1665 TypeLoc Pattern = Expansion.getPatternLoc(); in VisitNonTypeTemplateParmDecl() 2292 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2295 TypeLoc NewTL = NewTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2330 TypeLoc OldTL = OldTInfo->getTypeLoc().IgnoreParens(); in SubstFunctionType() 2982 TypeLoc BaseTL = Init->getTypeSourceInfo()->getTypeLoc(); in InstantiateMemInitializers()
|
/external/clang/tools/libclang/ |
D | RecursiveASTVisitor.h | 174 bool TraverseTypeLoc(TypeLoc TL); 342 bool Traverse##CLASS##TypeLoc(CLASS##TypeLoc TL); 347 bool WalkUpFromTypeLoc(TypeLoc TL) { return getDerived().VisitTypeLoc(TL); } in WalkUpFromTypeLoc() 348 bool VisitTypeLoc(TypeLoc TL) { return true; } in VisitTypeLoc() 363 bool WalkUpFrom##CLASS##TypeLoc(CLASS##TypeLoc TL) { \ 365 TRY_TO(Visit##CLASS##TypeLoc(TL)); \ 368 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TL) { return true; } 530 bool RecursiveASTVisitor<Derived>::TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc() 537 case TypeLoc::CLASS: \ in TraverseTypeLoc() 538 return getDerived().Traverse##CLASS##TypeLoc(*cast<CLASS##TypeLoc>(&TL)); in TraverseTypeLoc() [all …]
|
D | CursorVisitor.h | 252 bool Visit##CLASS##TypeLoc(CLASS##TypeLoc TyLoc);
|
D | IndexTypeSourceInfo.cpp | 106 void IndexingContext::indexTypeLoc(TypeLoc TL, in indexTypeLoc()
|
D | IndexBody.cpp | 32 bool TraverseTypeLoc(TypeLoc TL) { in TraverseTypeLoc()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 315 bool TraverseTypeLoc(TypeLoc TypeNode); 553 bool MatchASTVisitor::TraverseTypeLoc(TypeLoc TypeLoc) { in TraverseTypeLoc() argument 554 match(TypeLoc.getType()); in TraverseTypeLoc() 556 TraverseTypeLoc(TypeLoc); in TraverseTypeLoc()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 295 LocTy TypeLoc = Lex.getLoc(); in ParseUnnamedType() local 307 if (ParseStructDefinition(TypeLoc, "", in ParseUnnamedType() 313 return Error(TypeLoc, "non-struct types may not be recursive"); in ParseUnnamedType() 1269 SMLoc TypeLoc = Lex.getLoc(); in ParseType() local 1338 return Error(TypeLoc, "void type only allowed for function results"); in ParseType() 1437 LocTy TypeLoc = Lex.getLoc(); in ParseArgumentList() local 1446 return Error(TypeLoc, "argument can not have void type"); in ParseArgumentList() 1454 return Error(TypeLoc, "invalid type for function argument"); in ParseArgumentList() 1456 ArgList.push_back(ArgInfo(TypeLoc, ArgTy, Attrs, Name)); in ParseArgumentList() 1466 TypeLoc = Lex.getLoc(); in ParseArgumentList() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator()
|
D | TransGCAttrs.cpp | 64 TypeLoc TL = TInfo->getTypeLoc(); in lookForAttribute() 251 TypeLoc TL = TInfo->getTypeLoc(); in checkAllAtProps()
|
/external/llvm/lib/MC/MCParser/ |
D | ELFAsmParser.cpp | 468 SMLoc TypeLoc; in ParseDirectiveType() local 470 TypeLoc = getLexer().getLoc(); in ParseDirectiveType() 485 return Error(TypeLoc, "unsupported attribute in '.type' directive"); in ParseDirectiveType()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTest.cpp | 16 bool VisitTypeLoc(TypeLoc TypeLocation) { in VisitTypeLoc()
|