Home
last modified time | relevance | path

Searched refs:getLocalSourceRange (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Introspection/
H A DIntrospectionTest.cpp407 STRING_LOCATION_PAIR(NNS, getPrefix().getLocalSourceRange()), in TEST()
409 STRING_LOCATION_PAIR(NNS, getLocalSourceRange()), in TEST()
412 STRING_LOCATION_PAIR(NNS, getTypeLoc().getLocalSourceRange()))); in TEST()
902 getTypeSourceInfo()->getTypeLoc().getLocalSourceRange()), in TEST()
970 getBaseClassLoc().getLocalSourceRange()), in TEST()
975 getTypeSourceInfo()->getTypeLoc().getLocalSourceRange()), in TEST()
1286 STRING_LOCATION_PAIR(TL, getLocalSourceRange()), in TEST()
1287 STRING_LOCATION_PAIR(TL, getNextTypeLoc().getLocalSourceRange()), in TEST()
1347 STRING_LOCATION_PAIR(TL, getLocalSourceRange()), in TEST()
1348 STRING_LOCATION_PAIR(TL, getNextTypeLoc().getLocalSourceRange()), in TEST()
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DTypeLoc.h158 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
531 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
597 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
833 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
893 SourceRange getLocalSourceRange() const;
920 SourceRange getLocalSourceRange() const;
1038 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
1089 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
1135 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
1165 SourceRange getLocalSourceRange() const { in getLocalSourceRange() function
[all …]
H A DNestedNameSpecifier.h295 SourceRange getLocalSourceRange() const;
312 return getLocalSourceRange().getBegin(); in getLocalBeginLoc()
318 return getLocalSourceRange().getEnd(); in getLocalEndLoc()
/llvm-project-15.0.7/clang/lib/AST/
H A DTypeLoc.cpp46 return TyLoc.getLocalSourceRange(); \
216 if (Cur.getLocalSourceRange().getBegin().isValid()) in getBeginLoc()
225 return LeftMost.getLocalSourceRange().getBegin(); in getBeginLoc()
236 return Last.getLocalSourceRange().getEnd(); in getEndLoc()
316 SourceRange TypeOfExprTypeLoc::getLocalSourceRange() const { in getLocalSourceRange() function in TypeOfExprTypeLoc
497 SourceRange AttributedTypeLoc::getLocalSourceRange() const { in getLocalSourceRange() function in AttributedTypeLoc
510 SourceRange BTFTagAttributedTypeLoc::getLocalSourceRange() const { in getLocalSourceRange() function in BTFTagAttributedTypeLoc
H A DNestedNameSpecifier.cpp418 return SourceRange(First.getLocalSourceRange().getBegin(), in getSourceRange()
419 getLocalSourceRange().getEnd()); in getSourceRange()
422 SourceRange NestedNameSpecifierLoc::getLocalSourceRange() const { in getLocalSourceRange() function in NestedNameSpecifierLoc
H A DExprCXX.cpp317 Location = Info->getTypeLoc().getLocalSourceRange().getBegin(); in PseudoDestructorTypeStorage()
344 End = TInfo->getTypeLoc().getLocalSourceRange().getEnd(); in getEndLoc()
H A DDeclCXX.cpp2569 return TSInfo->getTypeLoc().getLocalSourceRange().getBegin(); in getSourceLocation()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSmartPtrArrayMismatchCheck.cpp104 .getLocalSourceRange(); in check()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp153 return T.getLocalSourceRange().getBegin(); in HandlePointer()
932 SourceRange getLocalSourceRange(const NestedNameSpecifierLoc &NNSLoc) { in getLocalSourceRange() function in __anon43068c8b0511::BuildTreeVisitor
933 auto SR = NNSLoc.getLocalSourceRange(); in getLocalSourceRange()
984 Builder.getRange(getLocalSourceRange(NNSLoc)).drop_back(); in buildNameSpecifier()
1413 auto SR = L.getLocalSourceRange(); in WalkUpFromMemberPointerTypeLoc()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DRenamerClangTidyCheck.cpp346 addUsage(Decl, Loc->getLocalSourceRange(), Result.SourceManager); in check()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp5580 AddSourceRange(NNS.getLocalSourceRange()); in AddNestedNameSpecifierLoc()
5585 AddSourceRange(NNS.getLocalSourceRange()); in AddNestedNameSpecifierLoc()
5590 AddSourceRange(NNS.getLocalSourceRange()); in AddNestedNameSpecifierLoc()
5598 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5602 AddSourceLocation(NNS.getLocalSourceRange().getEnd()); in AddNestedNameSpecifierLoc()
5607 AddSourceRange(NNS.getLocalSourceRange()); in AddNestedNameSpecifierLoc()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindTarget.cpp846 L.getLocalSourceRange().getBegin(), in refInTypeLoc()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp7719 = DestructedTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildPseudoDestructorExpr()
7744 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
7761 << DestructedTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
7785 Diag(ScopeTypeInfo->getTypeLoc().getLocalSourceRange().getBegin(), in BuildPseudoDestructorExpr()
7788 << ScopeTypeInfo->getTypeLoc().getLocalSourceRange(); in BuildPseudoDestructorExpr()
H A DSemaDeclCXX.cpp4471 SourceLocation NameLoc = TInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildDelegatingInitializer()
4474 << TInfo->getTypeLoc().getLocalSourceRange(); in BuildDelegatingInitializer()
4536 = BaseTInfo->getTypeLoc().getLocalSourceRange().getBegin(); in BuildBaseInitializer()
4540 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
4599 << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
4618 << BaseType << BaseTInfo->getTypeLoc().getLocalSourceRange(); in BuildBaseInitializer()
16653 SourceRange TypeRange = TSInfo->getTypeLoc().getLocalSourceRange(); in CheckFriendTypeDecl()
H A DSemaTemplateDeduction.cpp4576 Converted, TypeLoc.getLocalSourceRange(), in CheckDeducedPlaceholderConstraints()
4592 << Deduced << Buf << TypeLoc.getLocalSourceRange(); in CheckDeducedPlaceholderConstraints()
H A DSemaDeclObjC.cpp724 rangeToRemove = attr.getLocalSourceRange(); in actOnObjCTypeParam()
H A DSemaType.cpp885 rangeToRemove = attr.getLocalSourceRange(); in applyObjCTypeArgs()
H A DSemaExpr.cpp6237 << ATL.getLocalSourceRange(); in DiagnoseCalleeStaticArrayParam()
15947 SourceRange TypeRange = TInfo->getTypeLoc().getLocalSourceRange(); in BuildBuiltinOffsetOf()
H A DTreeTransform.h6145 TL.getLocalSourceRange().getBegin(), T->getFoundDecl())); in TransformUsingType()