Home
last modified time | relevance | path

Searched refs:NameRange (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h308 virtual VariantMatcher create(SourceRange NameRange,
394 VariantMatcher create(SourceRange NameRange,
397 return Marshaller(Func, MatcherName, NameRange, Args, Error);
544 SourceRange NameRange,
559 VariantMatcher create(SourceRange NameRange,
562 return Func(MatcherName, NameRange, Args, Error);
653 SourceRange NameRange,
664 SourceRange NameRange,
677 SourceRange NameRange,
734 VariantMatcher create(SourceRange NameRange,
[all …]
H A DRegistry.cpp616 Registry::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor() argument
619 Ctor->buildMatcherCtor(NameRange, Args, Error).release()); in buildMatcherCtor()
786 SourceRange NameRange, in constructMatcher() argument
789 return Ctor->create(NameRange, Args, Error); in constructMatcher()
793 SourceRange NameRange, in constructBoundMatcher() argument
797 VariantMatcher Out = constructMatcher(Ctor, NameRange, Args, Error); in constructBoundMatcher()
807 Error->addError(NameRange, Error->ET_RegistryNotBindable); in constructBoundMatcher()
H A DParser.cpp837 MatcherCtor Ctor, SourceRange NameRange, StringRef BindID, in actOnMatcherExpression() argument
840 return Registry::constructMatcher(Ctor, NameRange, Args, Error); in actOnMatcherExpression()
842 return Registry::constructBoundMatcher(Ctor, NameRange, BindID, Args, in actOnMatcherExpression()
866 Parser::RegistrySema::buildMatcherCtor(MatcherCtor Ctor, SourceRange NameRange, in buildMatcherCtor() argument
869 return Registry::buildMatcherCtor(Ctor, NameRange, Args, Error); in buildMatcherCtor()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/Dynamic/
H A DRegistry.h91 buildMatcherCtor(MatcherCtor, SourceRange NameRange,
139 SourceRange NameRange,
150 SourceRange NameRange,
H A DParser.h89 SourceRange NameRange,
108 buildMatcherCtor(MatcherCtor, SourceRange NameRange,
145 SourceRange NameRange,
158 buildMatcherCtor(MatcherCtor, SourceRange NameRange,
/llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/
H A DParserTest.cpp40 buildMatcherCtor(MatcherCtor, SourceRange NameRange, in buildMatcherCtor() argument
62 SourceRange NameRange, in actOnMatcherExpression() argument
68 MatcherInfo ToStore = {Matcher->first, NameRange, Args, in actOnMatcherExpression()
76 SourceRange NameRange; member
176 EXPECT_TRUE(matchesRange(Bar.NameRange, 1, 1, 8, 17)); in TEST()
182 EXPECT_TRUE(matchesRange(Baz.NameRange, 1, 2, 19, 10)); in TEST()
188 EXPECT_TRUE(matchesRange(Foo.NameRange, 1, 2, 2, 12)); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DAddUsing.cpp284 auto NameRange = E.getSourceRange(); in prepare() local
287 NameRange.setEnd(T.getLAngleLoc().getLocWithOffset(-1)); in prepare()
290 auto SpelledTokens = TB.spelledForExpanded(TB.expandedTokens(NameRange)); in prepare()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DRecord.cpp2225 ArrayRef<StringInit *> NameRange) { in ProfileDagInit() argument
2230 ArrayRef<StringInit *>::iterator Name = NameRange.begin(); in ProfileDagInit()
2232 assert(Name != NameRange.end() && "Arg name underflow!"); in ProfileDagInit()
2236 assert(Name == NameRange.end() && "Arg name overflow!"); in ProfileDagInit()
2240 ArrayRef<StringInit *> NameRange) { in get() argument
2242 ProfileDagInit(ID, V, VN, ArgRange, NameRange); in get()
2250 totalSizeToAlloc<Init *, StringInit *>(ArgRange.size(), NameRange.size()), in get()
2252 DagInit *I = new (Mem) DagInit(V, VN, ArgRange.size(), NameRange.size()); in get()
2255 std::uninitialized_copy(NameRange.begin(), NameRange.end(), in get()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryContext.cpp1993 auto NameRange = in deregisterSection() local
1995 while (NameRange.first != NameRange.second) { in deregisterSection()
1996 if (NameRange.first->second == SectionPtr) { in deregisterSection()
1997 NameToSection.erase(NameRange.first); in deregisterSection()
2000 ++NameRange.first; in deregisterSection()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp508 CharSourceRange NameRange = CharSourceRange::getCharRange( in DoEmitAvailabilityWarning() local
511 NameRange, SelectorSlotNames[I])); in DoEmitAvailabilityWarning()
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DRecord.h1393 ArrayRef<StringInit*> NameRange);