/external/llvm-project/clang-tools-extra/clang-change-namespace/ |
D | ChangeNamespace.cpp | 34 SourceLocation startLocationForType(TypeLoc TLoc) { in startLocationForType() argument 37 if (TLoc.getTypeLocClass() == TypeLoc::Elaborated) { in startLocationForType() 39 TLoc.castAs<ElaboratedTypeLoc>().getQualifierLoc(); in startLocationForType() 42 TLoc = TLoc.getNextTypeLoc(); in startLocationForType() 44 return TLoc.getBeginLoc(); in startLocationForType() 47 SourceLocation endLocationForType(TypeLoc TLoc) { in endLocationForType() argument 49 while (TLoc.getTypeLocClass() == TypeLoc::Elaborated || in endLocationForType() 50 TLoc.getTypeLocClass() == TypeLoc::Qualified) in endLocationForType() 51 TLoc = TLoc.getNextTypeLoc(); in endLocationForType() 56 if (TLoc.getTypeLocClass() == TypeLoc::TemplateSpecialization) in endLocationForType() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator() local 62 Pass.TA.insert(TLoc.getBeginLoc(), "__strong "); in VisitBinaryOperator()
|
D | ObjCMT.cpp | 778 TypeLoc TLoc = TSourceInfo->getTypeLoc(); in rewriteToNSMacroDecl() local 779 EndLoc = TLoc.getLocEnd(); in rewriteToNSMacroDecl()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransARCAssign.cpp | 60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator() local 61 Pass.TA.insert(TLoc.getBeginLoc(), "__strong "); in VisitBinaryOperator()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | LookupTest.cpp | 184 auto replaceRecordTypeLoc = [&](RecordTypeLoc TLoc, in TEST() 186 const auto *FD = cast<CXXRecordDecl>(TLoc.getDecl()); in TEST() 188 nullptr, TLoc.getBeginLoc(), Visitor.DeclStack.back()->getDeclContext(), in TEST()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1477 template <typename TLoc, typename T> 1478 class LocMatcher : public WrapperMatcherInterface<TLoc> { 1483 bool matches(const TLoc &Node, ASTMatchFinder *Finder,
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 1666 template <typename TLoc, typename T> 1667 class LocMatcher : public MatcherInterface<TLoc> { 1674 bool matches(const TLoc &Node, ASTMatchFinder *Finder,
|
/external/llvm-project/clang/include/clang/AST/ |
D | OpenMPClause.h | 5490 void setMapTypeModifierLoc(unsigned I, SourceLocation TLoc) { in setMapTypeModifierLoc() argument 5493 MapTypeModifiersLoc[I] = TLoc; in setMapTypeModifierLoc() 5504 void setMapLoc(SourceLocation TLoc) { MapLoc = TLoc; } in setMapLoc() argument 6412 void setMotionModifierLoc(unsigned I, SourceLocation TLoc) { in setMotionModifierLoc() argument 6415 MotionModifiersLoc[I] = TLoc; in setMotionModifierLoc() 6614 void setMotionModifierLoc(unsigned I, SourceLocation TLoc) { in setMotionModifierLoc() argument 6617 MotionModifiersLoc[I] = TLoc; in setMotionModifierLoc()
|
D | ASTContext.h | 1469 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
|
/external/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 609 SourceLocation TLoc = TInfo->getTypeLoc().getLocStart(); in CreatePropertyDecl() local 610 TInfo = Context.getTrivialTypeSourceInfo(T, TLoc); in CreatePropertyDecl()
|
D | SemaType.cpp | 4075 ObjCObjectPointerTypeLoc TLoc = TLB.push<ObjCObjectPointerTypeLoc>(T); in GetFullTypeForDeclarator() local 4076 TLoc.setStarLoc(FixitLoc); in GetFullTypeForDeclarator()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 617 SourceLocation TLoc = TInfo->getTypeLoc().getBeginLoc(); in CreatePropertyDecl() local 618 TInfo = Context.getTrivialTypeSourceInfo(T, TLoc); in CreatePropertyDecl()
|
D | SemaTemplate.cpp | 5285 convertTypeTemplateArgumentToTemplate(ASTContext &Context, TypeLoc TLoc) { in convertTypeTemplateArgumentToTemplate() argument 5288 if (auto ETLoc = TLoc.getAs<ElaboratedTypeLoc>()) { in convertTypeTemplateArgumentToTemplate() 5293 TLoc = ETLoc.getNamedTypeLoc(); in convertTypeTemplateArgumentToTemplate() 5297 if (auto InjLoc = TLoc.getAs<InjectedClassNameTypeLoc>()) in convertTypeTemplateArgumentToTemplate() 5305 if (auto RecLoc = TLoc.getAs<RecordTypeLoc>()) in convertTypeTemplateArgumentToTemplate()
|
D | SemaType.cpp | 5049 ObjCObjectPointerTypeLoc TLoc = TLB.push<ObjCObjectPointerTypeLoc>(T); in GetFullTypeForDeclarator() local 5050 TLoc.setStarLoc(FixitLoc); in GetFullTypeForDeclarator()
|
/external/clang/include/clang/AST/ |
D | OpenMPClause.h | 3330 void setMapLoc(SourceLocation TLoc) { MapLoc = TLoc; } in setMapLoc() argument
|
D | ASTContext.h | 1252 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
|