Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-change-namespace/
H A DChangeNamespace.cpp34 SourceLocation startLocationForType(TypeLoc TLoc) { in startLocationForType() argument
37 if (TLoc.getTypeLocClass() == TypeLoc::Elaborated) { 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()
57 return TLoc.castAs<TemplateSpecializationTypeLoc>() in endLocationForType()
60 return TLoc.getEndLoc(); in endLocationForType()
[all …]
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp60 TypeLoc TLoc = var->getTypeSourceInfo()->getTypeLoc(); in VisitBinaryOperator() local
61 Pass.TA.insert(TLoc.getBeginLoc(), "__strong "); in VisitBinaryOperator()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1793 template <typename TLoc, typename T>
1794 class LocMatcher : public MatcherInterface<TLoc> {
1801 bool matches(const TLoc &Node, ASTMatchFinder *Finder,
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOpenMPClause.h5823 void setMapTypeModifierLoc(unsigned I, SourceLocation TLoc) { in setMapTypeModifierLoc() argument
5826 MapTypeModifiersLoc[I] = TLoc; in setMapTypeModifierLoc()
5837 void setMapLoc(SourceLocation TLoc) { MapLoc = TLoc; } in setMapLoc() argument
6745 void setMotionModifierLoc(unsigned I, SourceLocation TLoc) { in setMotionModifierLoc() argument
6748 MotionModifiersLoc[I] = TLoc; in setMotionModifierLoc()
6947 void setMotionModifierLoc(unsigned I, SourceLocation TLoc) { in setMotionModifierLoc() argument
6950 MotionModifiersLoc[I] = TLoc; in setMotionModifierLoc()
H A DASTContext.h1640 getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp610 SourceLocation TLoc = TInfo->getTypeLoc().getBeginLoc(); in CreatePropertyDecl() local
611 TInfo = Context.getTrivialTypeSourceInfo(T, TLoc); in CreatePropertyDecl()
H A DSemaTemplate.cpp5370 convertTypeTemplateArgumentToTemplate(ASTContext &Context, TypeLoc TLoc) { in convertTypeTemplateArgumentToTemplate() argument
5373 if (auto ETLoc = TLoc.getAs<ElaboratedTypeLoc>()) { in convertTypeTemplateArgumentToTemplate()
5378 TLoc = ETLoc.getNamedTypeLoc(); in convertTypeTemplateArgumentToTemplate()
5382 if (auto InjLoc = TLoc.getAs<InjectedClassNameTypeLoc>()) in convertTypeTemplateArgumentToTemplate()
5390 if (auto RecLoc = TLoc.getAs<RecordTypeLoc>()) in convertTypeTemplateArgumentToTemplate()
H A DSemaType.cpp5205 ObjCObjectPointerTypeLoc TLoc = TLB.push<ObjCObjectPointerTypeLoc>(T); in GetFullTypeForDeclarator() local
5206 TLoc.setStarLoc(FixitLoc); in GetFullTypeForDeclarator()