/external/llvm-project/clang/unittests/Tooling/ |
D | ASTSelectionTest.cpp | 30 Optional<FileRange> SelectionRange; member in __anonca3c59a60111::SelectionFinderVisitor 31 llvm::function_ref<void(SourceRange SelectionRange, 37 Optional<FileRange> SelectionRange, in SelectionFinderVisitor() argument 38 llvm::function_ref<void(SourceRange SelectionRange, in SelectionFinderVisitor() argument 41 : Location(Location), SelectionRange(SelectionRange), Consumer(Consumer) { in SelectionFinderVisitor() 49 if (SelectionRange) { in VisitTranslationUnitDecl() 50 SelRange = SourceRange(SelectionRange->first.translate(SM), in VisitTranslationUnitDecl() 51 SelectionRange->second.translate(SM)); in VisitTranslationUnitDecl() 67 StringRef Source, FileLocation Location, Optional<FileRange> SelectionRange, in findSelectedASTNodesWithRange() argument 68 llvm::function_ref<void(SourceRange SelectionRange, in findSelectedASTNodesWithRange() argument [all …]
|
/external/llvm-project/clang/lib/Tooling/Refactoring/ |
D | ASTSelection.cpp | 183 SourceRange SelectionRange) { in findSelectedASTNodes() argument 184 assert(SelectionRange.isValid() && in findSelectedASTNodes() 185 SourceLocation::isPairOfFileLocations(SelectionRange.getBegin(), in findSelectedASTNodes() 186 SelectionRange.getEnd()) && in findSelectedASTNodes() 189 Context.getSourceManager().getFileID(SelectionRange.getBegin()); in findSelectedASTNodes() 190 assert(Context.getSourceManager().getFileID(SelectionRange.getEnd()) == in findSelectedASTNodes() 194 ASTSelectionFinder Visitor(SelectionRange, TargetFile, Context); in findSelectedASTNodes() 379 CodeRangeASTSelection::create(SourceRange SelectionRange, in create() argument 382 if (SelectionRange.getBegin() == SelectionRange.getEnd()) in create()
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | RefactoringRuleContext.h | 41 SourceRange getSelectionRange() const { return SelectionRange; } in getSelectionRange() 43 void setSelectionRange(SourceRange R) { SelectionRange = R; } in setSelectionRange() 75 SourceRange SelectionRange; variable
|
D | ASTSelection.h | 71 SourceRange SelectionRange); 134 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | SemanticSelection.cpp | 103 llvm::Expected<SelectionRange> getSemanticRanges(ParsedAST &AST, Position Pos) { in getSemanticRanges() 138 SelectionRange Empty; in getSemanticRanges() 144 SelectionRange Head; in getSemanticRanges() 146 SelectionRange *Tail = &Head; in getSemanticRanges() 149 Tail->parent = std::make_unique<SelectionRange>(); in getSemanticRanges()
|
D | SemanticSelection.h | 26 llvm::Expected<SelectionRange> getSemanticRanges(ParsedAST &AST, Position Pos);
|
D | ClangdServer.h | 316 Callback<std::vector<SelectionRange>> CB);
|
D | ClangdLSPServer.h | 150 Callback<std::vector<SelectionRange>>);
|
D | Protocol.h | 1603 struct SelectionRange { struct 1612 std::unique_ptr<SelectionRange> parent; argument 1614 llvm::json::Value toJSON(const SelectionRange &);
|
D | ClangdServer.cpp | 735 Callback<std::vector<SelectionRange>> CB) { in semanticRanges() 740 std::vector<SelectionRange> Result; in semanticRanges()
|
D | ClangdLSPServer.cpp | 1340 Callback<std::vector<SelectionRange>> Reply) { in onSelectionRange() 1344 llvm::Expected<std::vector<SelectionRange>> Ranges) mutable { in onSelectionRange()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SemanticSelectionTests.cpp | 35 std::vector<Range> gatherRanges(const SelectionRange &SR) { in gatherRanges() 37 for (const SelectionRange *S = &SR; S; S = S->parent.get()) in gatherRanges()
|
D | SyncAPI.cpp | 145 llvm::Expected<std::vector<SelectionRange>> 148 llvm::Optional<llvm::Expected<std::vector<SelectionRange>>> Result; in runSemanticRanges()
|
D | SyncAPI.h | 59 llvm::Expected<std::vector<SelectionRange>>
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | RenamingAction.cpp | 67 SourceRange SelectionRange, std::string NewName) { in initiate() argument 69 getNamedDeclAt(Context.getASTContext(), SelectionRange.getBegin()); in initiate() 72 SelectionRange.getBegin(), diag::err_refactor_selection_no_symbol); in initiate()
|
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 45 SelectionRange(context.Context, *SelectionRangeParams) ([]SelectionRange, error) methodSpec 277 resp, err := h.server.SelectionRange(ctx, ¶ms) 643 func (s *serverDispatcher) SelectionRange(ctx context.Context, params *SelectionRangeParams) ([]Sel… func 644 var result []SelectionRange
|
D | tsprotocol.go | 703 SelectionRange *SelectionRangeClientCapabilities `json:"selectionRange,omitempty"` member 3639 SelectionRange Range `json:"selectionRange"` member 3827 type SelectionRange struct { struct 3837 Parent *SelectionRange `json:"parent,omitempty"` argument
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 45 SelectionRange(context.Context, *SelectionRangeParams) ([]SelectionRange, error) methodSpec 277 resp, err := h.server.SelectionRange(ctx, ¶ms) 643 func (s *serverDispatcher) SelectionRange(ctx context.Context, params *SelectionRangeParams) ([]Sel… func 644 var result []SelectionRange
|
D | tsprotocol.go | 703 SelectionRange *SelectionRangeClientCapabilities `json:"selectionRange,omitempty"` member 3639 SelectionRange Range `json:"selectionRange"` member 3827 type SelectionRange struct { struct 3837 Parent *SelectionRange `json:"parent,omitempty"` argument
|
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 45 SelectionRange(context.Context, *SelectionRangeParams) ([]SelectionRange, error) methodSpec 277 resp, err := h.server.SelectionRange(ctx, ¶ms) 643 func (s *serverDispatcher) SelectionRange(ctx context.Context, params *SelectionRangeParams) ([]Sel… func 644 var result []SelectionRange
|
D | tsprotocol.go | 703 SelectionRange *SelectionRangeClientCapabilities `json:"selectionRange,omitempty"` member 3639 SelectionRange Range `json:"selectionRange"` member 3827 type SelectionRange struct { struct 3837 Parent *SelectionRange `json:"parent,omitempty"` argument
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
D | RenamingAction.h | 52 SourceRange SelectionRange,
|
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/ |
D | langsvr.go | 194 func (s *server) SelectionRange(ctx context.Context, p *lsp.SelectionRangeParams) ([]lsp.SelectionR… func
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/ |
D | langsvr.go | 199 func (s *server) SelectionRange(ctx context.Context, p *lsp.SelectionRangeParams) ([]lsp.SelectionR… func
|
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/ |
D | langsvr.go | 194 func (s *server) SelectionRange(ctx context.Context, p *lsp.SelectionRangeParams) ([]lsp.SelectionR… func
|