Home
last modified time | relevance | path

Searched refs:selectionRange (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/test/
Dtype-hierarchy.test25 # 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": {
Dselection-range.test6 {"jsonrpc":"2.0","id":1,"method":"textDocument/selectionRange","params":{"textDocument":{"uri":"tes…
Dcall-hierarchy.test24 # CHECK-NEXT: "selectionRange": {
/external/llvm-project/clang-tools-extra/clangd/
DFindSymbols.cpp211 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()
DXRefs.cpp1374 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()
DProtocol.h1008 Range selectionRange; member
1366 Range selectionRange; member
1431 Range selectionRange; member
DProtocol.cpp765 {"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/
DCallHierarchyTests.cpp40 MATCHER_P(WithSelectionRange, R, "") { return arg.selectionRange == R; }
DFindSymbolsTests.cpp41 MATCHER_P(SymNameRange, Range, "") { return arg.selectionRange == Range; }
DTypeHierarchyTests.cpp40 MATCHER_P(SelectionRangeIs, R, "") { return arg.selectionRange == R; }