| /llvm-project-15.0.7/clang-tools-extra/clangd/test/ |
| H A D | type-hierarchy-ext.test | 27 # 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 D | type-hierarchy.test | 37 # 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 D | symbols.test | 50 # CHECK-NEXT: "selectionRange": { 75 # CHECK-NEXT: "selectionRange": {
|
| H A D | selection-range.test | 6 {"jsonrpc":"2.0","id":1,"method":"textDocument/selectionRange","params":{"textDocument":{"uri":"tes…
|
| H A D | call-hierarchy.test | 24 # CHECK-NEXT: "selectionRange": {
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll-lsp-server/ |
| H A D | document-symbols.test | 30 // CHECK-NEXT: "selectionRange": { 54 // CHECK-NEXT: "selectionRange": { 78 // CHECK-NEXT: "selectionRange": {
|
| /llvm-project-15.0.7/mlir/test/mlir-lsp-server/ |
| H A D | document-symbols.test | 32 // CHECK-NEXT: "selectionRange": { 56 // CHECK-NEXT: "selectionRange": {
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FindSymbols.cpp | 263 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 D | Protocol.h | 1050 Range selectionRange; member 1412 Range selectionRange; member 1490 Range selectionRange; member
|
| H A D | Protocol.cpp | 815 {"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 D | XRefs.cpp | 1610 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 D | ClangdLSPServer.cpp | 1200 {"selectionRange", THI.selectionRange}, in serializeTHIForExtension()
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | Protocol.h | 570 Range selectionRange) in DocumentSymbol() 572 selectionRange(selectionRange) {} in DocumentSymbol() 591 Range selectionRange; member
|
| H A D | Protocol.cpp | 571 {"selectionRange", symbol.selectionRange}}; in toJSON()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | CallHierarchyTests.cpp | 23 return Stream << Item.name << "@" << Item.selectionRange; in operator <<() 47 MATCHER_P(withSelectionRange, R, "") { return arg.selectionRange == R; }
|
| H A D | TypeHierarchyTests.cpp | 37 MATCHER_P(selectionRangeIs, R, "") { return arg.selectionRange == R; }
|
| H A D | FindSymbolsTests.cpp | 40 MATCHER_P(symNameRange, Range, "") { return arg.selectionRange == Range; }
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/ |
| H A D | MLIRServer.cpp | 1033 chunk.adjustLocForChunkOffset(symbol->selectionRange); in findDocumentSymbols()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/ |
| H A D | PDLLServer.cpp | 1588 chunk.adjustLocForChunkOffset(symbol->selectionRange); in findDocumentSymbols()
|