Home
last modified time | relevance | path

Searched refs:TLoc (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp34 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/
DTransARCAssign.cpp61 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator() local
62 Pass.TA.insert(TLoc.getBeginLoc(), "__strong "); in VisitBinaryOperator()
DObjCMT.cpp778 TypeLoc TLoc = TSourceInfo->getTypeLoc(); in rewriteToNSMacroDecl() local
779 EndLoc = TLoc.getLocEnd(); in rewriteToNSMacroDecl()
/external/llvm-project/clang/lib/ARCMigrate/
DTransARCAssign.cpp60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator() local
61 Pass.TA.insert(TLoc.getBeginLoc(), "__strong "); in VisitBinaryOperator()
/external/llvm-project/clang/unittests/Tooling/
DLookupTest.cpp184 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/
DASTMatchersInternal.h1477 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/
DASTMatchersInternal.h1666 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/
DOpenMPClause.h5490 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()
DASTContext.h1469 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
/external/clang/lib/Sema/
DSemaObjCProperty.cpp609 SourceLocation TLoc = TInfo->getTypeLoc().getLocStart(); in CreatePropertyDecl() local
610 TInfo = Context.getTrivialTypeSourceInfo(T, TLoc); in CreatePropertyDecl()
DSemaType.cpp4075 ObjCObjectPointerTypeLoc TLoc = TLB.push<ObjCObjectPointerTypeLoc>(T); in GetFullTypeForDeclarator() local
4076 TLoc.setStarLoc(FixitLoc); in GetFullTypeForDeclarator()
/external/llvm-project/clang/lib/Sema/
DSemaObjCProperty.cpp617 SourceLocation TLoc = TInfo->getTypeLoc().getBeginLoc(); in CreatePropertyDecl() local
618 TInfo = Context.getTrivialTypeSourceInfo(T, TLoc); in CreatePropertyDecl()
DSemaTemplate.cpp5285 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()
DSemaType.cpp5049 ObjCObjectPointerTypeLoc TLoc = TLB.push<ObjCObjectPointerTypeLoc>(T); in GetFullTypeForDeclarator() local
5050 TLoc.setStarLoc(FixitLoc); in GetFullTypeForDeclarator()
/external/clang/include/clang/AST/
DOpenMPClause.h3330 void setMapLoc(SourceLocation TLoc) { MapLoc = TLoc; } in setMapLoc() argument
DASTContext.h1252 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,