Home
last modified time | relevance | path

Searched refs:SelectionRange (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/clang/unittests/Tooling/
DASTSelectionTest.cpp30 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/
DASTSelection.cpp183 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/
DRefactoringRuleContext.h41 SourceRange getSelectionRange() const { return SelectionRange; } in getSelectionRange()
43 void setSelectionRange(SourceRange R) { SelectionRange = R; } in setSelectionRange()
75 SourceRange SelectionRange; variable
DASTSelection.h71 SourceRange SelectionRange);
134 create(SourceRange SelectionRange, const SelectedASTNode &ASTSelection);
/external/llvm-project/clang-tools-extra/clangd/
DSemanticSelection.cpp103 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()
DSemanticSelection.h26 llvm::Expected<SelectionRange> getSemanticRanges(ParsedAST &AST, Position Pos);
DClangdServer.h316 Callback<std::vector<SelectionRange>> CB);
DClangdLSPServer.h150 Callback<std::vector<SelectionRange>>);
DProtocol.h1603 struct SelectionRange { struct
1612 std::unique_ptr<SelectionRange> parent; argument
1614 llvm::json::Value toJSON(const SelectionRange &);
DClangdServer.cpp735 Callback<std::vector<SelectionRange>> CB) { in semanticRanges()
740 std::vector<SelectionRange> Result; in semanticRanges()
DClangdLSPServer.cpp1340 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/
DSemanticSelectionTests.cpp35 std::vector<Range> gatherRanges(const SelectionRange &SR) { in gatherRanges()
37 for (const SelectionRange *S = &SR; S; S = S->parent.get()) in gatherRanges()
DSyncAPI.cpp145 llvm::Expected<std::vector<SelectionRange>>
148 llvm::Optional<llvm::Expected<std::vector<SelectionRange>>> Result; in runSemanticRanges()
DSyncAPI.h59 llvm::Expected<std::vector<SelectionRange>>
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/
DRenamingAction.cpp67 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/
Dtsserver.go45 SelectionRange(context.Context, *SelectionRangeParams) ([]SelectionRange, error) methodSpec
277 resp, err := h.server.SelectionRange(ctx, &params)
643 func (s *serverDispatcher) SelectionRange(ctx context.Context, params *SelectionRangeParams) ([]Sel… func
644 var result []SelectionRange
Dtsprotocol.go703 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/
Dtsserver.go45 SelectionRange(context.Context, *SelectionRangeParams) ([]SelectionRange, error) methodSpec
277 resp, err := h.server.SelectionRange(ctx, &params)
643 func (s *serverDispatcher) SelectionRange(ctx context.Context, params *SelectionRangeParams) ([]Sel… func
644 var result []SelectionRange
Dtsprotocol.go703 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/
Dtsserver.go45 SelectionRange(context.Context, *SelectionRangeParams) ([]SelectionRange, error) methodSpec
277 resp, err := h.server.SelectionRange(ctx, &params)
643 func (s *serverDispatcher) SelectionRange(ctx context.Context, params *SelectionRangeParams) ([]Sel… func
644 var result []SelectionRange
Dtsprotocol.go703 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/
DRenamingAction.h52 SourceRange SelectionRange,
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go194 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/
Dlangsvr.go199 func (s *server) SelectionRange(ctx context.Context, p *lsp.SelectionRangeParams) ([]lsp.SelectionR… func
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/
Dlangsvr.go194 func (s *server) SelectionRange(ctx context.Context, p *lsp.SelectionRangeParams) ([]lsp.SelectionR… func

12