Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clangd/index/
DMemIndex.h23 template <typename SymbolRange, typename RefRange, typename RelationRange>
24 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations) { in MemIndex()
35 template <typename SymbolRange, typename RefRange, typename RelationRange,
37 MemIndex(SymbolRange &&Symbols, RefRange &&Refs, RelationRange &&Relations, in MemIndex()
40 std::forward<RefRange>(Refs), in MemIndex()
/external/llvm/lib/TableGen/
DTGParser.cpp28 SMRange RefRange; member
37 SMRange RefRange; member
151 if (AddValue(CurRec, SubClass.RefRange.Start, Val)) in AddSubClass()
158 return Error(SubClass.RefRange.Start, in AddSubClass()
166 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
177 return Error(SubClass.RefRange.Start, in AddSubClass()
189 return Error(SubClass.RefRange.Start, in AddSubClass()
195 return Error(SubClass.RefRange.Start, in AddSubClass()
197 CurRec->addSuperClass(SC, SubClass.RefRange); in AddSubClass()
211 if (AddValue(CurRec, SubMultiClass.RefRange.Start, SMCVal)) in AddSubMultiClass()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DFileIndexTests.cpp49 MATCHER_P(RefRange, Range, "") {
365 RefsAre({AllOf(RefRange(MainCode.range("foo")), in TEST()
367 AllOf(RefRange(MainCode.range("foo")), in TEST()
394 RefsAre({AllOf(RefRange(MainCode.range("ref1")), in TEST()
399 RefsAre({AllOf(RefRange(MainCode.range("def2")), in TEST()
401 AllOf(RefRange(MainCode.range("ref2")), in TEST()
473 RefsAre({RefRange(Main.range())})); in TEST()
DIndexTests.cpp35 MATCHER_P(RefRange, Range, "") {
397 _, UnorderedElementsAre(AllOf(RefRange(Test1Code.range("Foo")), in TEST()
399 AllOf(RefRange(Test2Code.range("Foo")), in TEST()
DSymbolCollectorTests.cpp95 MATCHER(RefRange, "") {
105 return ::testing::UnorderedPointwise(RefRange(), Ranges); in HaveRanges()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp37 SMRange RefRange; member
47 SMRange RefRange; member
232 if (AddValue(CurRec, SubClass.RefRange.Start, Val)) in AddSubClass()
239 return Error(SubClass.RefRange.Start, in AddSubClass()
249 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
253 return Error(SubClass.RefRange.Start, in AddSubClass()
279 return Error(SubClass.RefRange.Start, in AddSubClass()
285 return Error(SubClass.RefRange.Start, in AddSubClass()
287 CurRec->addSuperClass(SC, SubClass.RefRange); in AddSubClass()
312 return Error(SubMultiClass.RefRange.Start, in AddSubMultiClass()
[all …]
/external/llvm-project/llvm/lib/TableGen/
DTGParser.cpp38 SMRange RefRange; member
48 SMRange RefRange; member
233 if (AddValue(CurRec, SubClass.RefRange.Start, Val)) in AddSubClass()
240 return Error(SubClass.RefRange.Start, in AddSubClass()
250 if (SetValue(CurRec, SubClass.RefRange.Start, TArgs[i], in AddSubClass()
254 return Error(SubClass.RefRange.Start, in AddSubClass()
280 return Error(SubClass.RefRange.Start, in AddSubClass()
286 return Error(SubClass.RefRange.Start, in AddSubClass()
288 CurRec->addSuperClass(SC, SubClass.RefRange); in AddSubClass()
313 return Error(SubMultiClass.RefRange.Start, in AddSubMultiClass()
[all …]
/external/llvm-project/clang-tools-extra/clang-change-namespace/
DChangeNamespace.cpp950 SourceRange RefRange = Ref->getSourceRange(); in fixDeclRefExpr() local
951 replaceQualifiedSymbolInDeclContext(Result, UseContext, RefRange.getBegin(), in fixDeclRefExpr()
952 RefRange.getEnd(), From); in fixDeclRefExpr()