/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | DumpAST.cpp | 48 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind() 94 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind() 120 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind() 156 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind()
|
D | ObjCLocalizeStringLiteral.cpp | 39 return CodeAction::REFACTOR_KIND; in kind()
|
D | AnnotateHighlightings.cpp | 32 return CodeAction::REFACTOR_KIND; in kind()
|
D | RawStringLiteral.cpp | 45 return CodeAction::REFACTOR_KIND; in kind()
|
D | SwapIfBranches.cpp | 43 return CodeAction::REFACTOR_KIND; in kind()
|
D | ExpandAutoType.cpp | 41 return CodeAction::REFACTOR_KIND; in kind()
|
D | ExpandMacro.cpp | 35 return CodeAction::REFACTOR_KIND; in kind()
|
D | RemoveUsingNamespace.cpp | 45 return CodeAction::REFACTOR_KIND; in kind()
|
D | PopulateSwitch.cpp | 57 return CodeAction::QUICKFIX_KIND; in kind()
|
D | AddUsing.cpp | 42 return CodeAction::REFACTOR_KIND; in kind()
|
D | DefineOutline.cpp | 360 return CodeAction::REFACTOR_KIND; in kind()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Protocol.cpp | 346 if (auto *CodeAction = TextDocument->getObject("codeAction")) { in fromJSON() local 347 if (CodeAction->getObject("codeActionLiteralSupport")) in fromJSON() 738 const llvm::StringLiteral CodeAction::QUICKFIX_KIND = "quickfix"; 739 const llvm::StringLiteral CodeAction::REFACTOR_KIND = "refactor"; 740 const llvm::StringLiteral CodeAction::INFO_KIND = "info"; 742 llvm::json::Value toJSON(const CodeAction &CA) { in toJSON() 743 auto CodeAction = llvm::json::Object{{"title", CA.title}}; in toJSON() 745 CodeAction["kind"] = *CA.kind; in toJSON() 747 CodeAction["diagnostics"] = llvm::json::Array(*CA.diagnostics); in toJSON() 749 CodeAction["isPreferred"] = true; in toJSON() [all …]
|
D | ClangdLSPServer.cpp | 76 CodeAction toCodeAction(const ClangdServer::TweakRef &T, const URIForFile &File, in toCodeAction() 78 CodeAction CA; in toCodeAction() 560 {CodeAction::QUICKFIX_KIND, CodeAction::REFACTOR_KIND, in onInitialize() 561 CodeAction::INFO_KIND}}}; in onInitialize() 976 static llvm::Optional<Command> asCommand(const CodeAction &Action) { in asCommand() 989 if (Action.kind && *Action.kind == CodeAction::QUICKFIX_KIND) in asCommand() 1012 std::vector<CodeAction> FixIts; in onCodeAction() 1013 if (KindAllowed(CodeAction::QUICKFIX_KIND)) { in onCodeAction() 1030 std::vector<CodeAction> Actions = std::move(FixIts); in onCodeAction() 1037 CodeAction *OnlyFix = nullptr; in onCodeAction() [all …]
|
D | Diagnostics.h | 115 CodeAction toCodeAction(const Fix &D, const URIForFile &File);
|
D | Diagnostics.cpp | 370 CodeAction toCodeAction(const Fix &F, const URIForFile &File) { in toCodeAction() 371 CodeAction Action; in toCodeAction() 373 Action.kind = std::string(CodeAction::QUICKFIX_KIND); in toCodeAction()
|
D | Protocol.h | 806 struct CodeAction; 838 llvm::Optional<std::vector<CodeAction>> codeActions; 953 struct CodeAction { struct 981 llvm::json::Value toJSON(const CodeAction &); argument
|
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 57 CodeAction(context.Context, *CodeActionParams) ([]CodeAction, error) methodSpec 408 resp, err := h.server.CodeAction(ctx, ¶ms) 735 func (s *serverDispatcher) CodeAction(ctx context.Context, params *CodeActionParams) ([]CodeAction,… func 736 var result []CodeAction
|
D | tsprotocol.go | 654 CodeAction *CodeActionClientCapabilities `json:"codeAction,omitempty"` member 3677 type CodeAction struct { struct
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 57 CodeAction(context.Context, *CodeActionParams) ([]CodeAction, error) methodSpec 408 resp, err := h.server.CodeAction(ctx, ¶ms) 735 func (s *serverDispatcher) CodeAction(ctx context.Context, params *CodeActionParams) ([]CodeAction,… func 736 var result []CodeAction
|
D | tsprotocol.go | 654 CodeAction *CodeActionClientCapabilities `json:"codeAction,omitempty"` member 3677 type CodeAction struct { struct
|
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | tsserver.go | 57 CodeAction(context.Context, *CodeActionParams) ([]CodeAction, error) methodSpec 408 resp, err := h.server.CodeAction(ctx, ¶ms) 735 func (s *serverDispatcher) CodeAction(ctx context.Context, params *CodeActionParams) ([]CodeAction,… func 736 var result []CodeAction
|
D | tsprotocol.go | 654 CodeAction *CodeActionClientCapabilities `json:"codeAction,omitempty"` member 3677 type CodeAction struct { struct
|
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/ |
D | langsvr.go | 335 func (s *server) CodeAction(ctx context.Context, p *lsp.CodeActionParams) ([]lsp.CodeAction, error)… func
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/ |
D | langsvr.go | 340 func (s *server) CodeAction(ctx context.Context, p *lsp.CodeActionParams) ([]lsp.CodeAction, error)… func
|
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/ |
D | langsvr.go | 335 func (s *server) CodeAction(ctx context.Context, p *lsp.CodeActionParams) ([]lsp.CodeAction, error)… func
|