Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dtype-hierarchy-ext.test27 # CHECK-NEXT: "selectionRange": {
88 # CHECK-NEXT: "selectionRange": {
111 # CHECK-NEXT: "selectionRange": {
134 # CHECK-NEXT: "selectionRange": {
147 …:{"end":{"character":13,"line":3},"start":{"character":7,"line":3}},"selectionRange":{"end":{"char…
168 # CHECK-NEXT: "selectionRange": {
196 # CHECK-NEXT: "selectionRange": {
H A Dtype-hierarchy.test37 # CHECK-NEXT: "selectionRange": {
51 …:{"end":{"character":13,"line":3},"start":{"character":7,"line":3}},"selectionRange":{"end":{"char…
77 # CHECK-NEXT: "selectionRange": {
91 …:{"end":{"character":13,"line":3},"start":{"character":7,"line":3}},"selectionRange":{"end":{"char…
127 # CHECK-NEXT: "selectionRange": {
H A Dsymbols.test50 # CHECK-NEXT: "selectionRange": {
75 # CHECK-NEXT: "selectionRange": {
H A Dselection-range.test6 {"jsonrpc":"2.0","id":1,"method":"textDocument/selectionRange","params":{"textDocument":{"uri":"tes…
H A Dcall-hierarchy.test24 # CHECK-NEXT: "selectionRange": {
/llvm-project-15.0.7/mlir/test/mlir-pdll-lsp-server/
H A Ddocument-symbols.test30 // CHECK-NEXT: "selectionRange": {
54 // CHECK-NEXT: "selectionRange": {
78 // CHECK-NEXT: "selectionRange": {
/llvm-project-15.0.7/mlir/test/mlir-lsp-server/
H A Ddocument-symbols.test32 // CHECK-NEXT: "selectionRange": {
56 // CHECK-NEXT: "selectionRange": {
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindSymbols.cpp263 SI.selectionRange = ComputeSelectionRange(NameLoc); in declToSym()
264 if (!SI.range.contains(SI.selectionRange) && FallbackNameLoc.isValid()) { in declToSym()
268 SI.selectionRange = ComputeSelectionRange(FallbackNameLoc); in declToSym()
270 if (!SI.range.contains(SI.selectionRange)) { in declToSym()
273 SI.range = SI.selectionRange; in declToSym()
339 Sym.range = Sym.selectionRange = in inMacro()
625 Sym.selectionRange = P.Rng; in markToSymbol()
H A DProtocol.h1050 Range selectionRange; member
1412 Range selectionRange; member
1490 Range selectionRange; member
H A DProtocol.cpp815 {"selectionRange", S.selectionRange}}; in toJSON()
1232 {"range", I.range}, {"selectionRange", I.selectionRange}, in toJSON()
1248 O.map("selectionRange", I.selectionRange) && in fromJSON()
1285 {"selectionRange", I.selectionRange}, in toJSON()
1305 O.map("selectionRange", I.selectionRange) && in fromJSON()
H A DXRefs.cpp1610 HI.selectionRange = Range{NameBegin, NameEnd}; in declToHierarchyItem()
1611 if (!HI.range.contains(HI.selectionRange)) { in declToHierarchyItem()
1614 HI.range = HI.selectionRange; in declToHierarchyItem()
1659 HI.selectionRange = Loc->range; in symbolToHierarchyItem()
1662 HI.range = HI.selectionRange; in symbolToHierarchyItem()
H A DClangdLSPServer.cpp1200 {"selectionRange", THI.selectionRange}, in serializeTHIForExtension()
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DProtocol.h570 Range selectionRange) in DocumentSymbol()
572 selectionRange(selectionRange) {} in DocumentSymbol()
591 Range selectionRange; member
H A DProtocol.cpp571 {"selectionRange", symbol.selectionRange}}; in toJSON()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DCallHierarchyTests.cpp23 return Stream << Item.name << "@" << Item.selectionRange; in operator <<()
47 MATCHER_P(withSelectionRange, R, "") { return arg.selectionRange == R; }
H A DTypeHierarchyTests.cpp37 MATCHER_P(selectionRangeIs, R, "") { return arg.selectionRange == R; }
H A DFindSymbolsTests.cpp40 MATCHER_P(symNameRange, Range, "") { return arg.selectionRange == Range; }
/llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/
H A DMLIRServer.cpp1033 chunk.adjustLocForChunkOffset(symbol->selectionRange); in findDocumentSymbols()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp1588 chunk.adjustLocForChunkOffset(symbol->selectionRange); in findDocumentSymbols()