Searched refs:selectionRange (Results 1 – 10 of 10) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/test/ |
D | type-hierarchy.test | 25 # CHECK-NEXT: "selectionRange": { 62 # CHECK-NEXT: "selectionRange": { 85 # CHECK-NEXT: "selectionRange": { 108 # CHECK-NEXT: "selectionRange": { 121 …:{"end":{"character":13,"line":3},"start":{"character":7,"line":3}},"selectionRange":{"end":{"char… 140 # CHECK-NEXT: "selectionRange": { 166 # CHECK-NEXT: "selectionRange": {
|
D | selection-range.test | 6 {"jsonrpc":"2.0","id":1,"method":"textDocument/selectionRange","params":{"textDocument":{"uri":"tes…
|
D | call-hierarchy.test | 24 # CHECK-NEXT: "selectionRange": {
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | FindSymbols.cpp | 211 SI.selectionRange = ComputeSelectionRange(NameLoc); in declToSym() 212 if (!SI.range.contains(SI.selectionRange) && FallbackNameLoc.isValid()) { in declToSym() 216 SI.selectionRange = ComputeSelectionRange(FallbackNameLoc); in declToSym() 218 if (!SI.range.contains(SI.selectionRange)) { in declToSym() 221 SI.range = SI.selectionRange; in declToSym()
|
D | XRefs.cpp | 1374 HI.selectionRange = Range{NameBegin, NameEnd}; in declToHierarchyItem() 1375 if (!HI.range.contains(HI.selectionRange)) { in declToHierarchyItem() 1378 HI.range = HI.selectionRange; in declToHierarchyItem() 1420 HI.selectionRange = Loc->range; in symbolToHierarchyItem() 1423 HI.range = HI.selectionRange; in symbolToHierarchyItem()
|
D | Protocol.h | 1008 Range selectionRange; member 1366 Range selectionRange; member 1431 Range selectionRange; member
|
D | Protocol.cpp | 765 {"selectionRange", S.selectionRange}}; in toJSON() 1169 {"selectionRange", I.selectionRange}, in toJSON() 1192 O.map("selectionRange", I.selectionRange) && in fromJSON() 1220 {"selectionRange", I.selectionRange}, in toJSON() 1240 O.map("selectionRange", I.selectionRange) && in fromJSON()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | CallHierarchyTests.cpp | 40 MATCHER_P(WithSelectionRange, R, "") { return arg.selectionRange == R; }
|
D | FindSymbolsTests.cpp | 41 MATCHER_P(SymNameRange, Range, "") { return arg.selectionRange == Range; }
|
D | TypeHierarchyTests.cpp | 40 MATCHER_P(SelectionRangeIs, R, "") { return arg.selectionRange == R; }
|