/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
H A D | DumpAST.cpp | 49 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind() 95 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind() 121 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind() 157 llvm::StringLiteral kind() const override { return CodeAction::INFO_KIND; } in kind()
|
H A D | ObjCLocalizeStringLiteral.cpp | 34 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | SwapIfBranches.cpp | 39 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | RawStringLiteral.cpp | 38 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | AnnotateHighlightings.cpp | 33 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | SpecialMembers.cpp | 88 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | ExpandDeducedType.cpp | 43 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | ExpandMacro.cpp | 35 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | PopulateSwitch.cpp | 56 return CodeAction::QUICKFIX_KIND; in kind()
|
H A D | RemoveUsingNamespace.cpp | 43 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | MemberwiseConstructor.cpp | 37 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | ScopifyEnum.cpp | 54 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | ObjCMemberwiseInitializer.cpp | 176 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | AddUsing.cpp | 56 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | DefineInline.cpp | 390 return CodeAction::REFACTOR_KIND; in kind()
|
H A D | ExtractVariable.cpp | 582 return CodeAction::REFACTOR_KIND;
|
H A D | DefineOutline.cpp | 424 return CodeAction::REFACTOR_KIND; in prepare()
|
/llvm-project/mlir/lib/Tools/mlir-lsp-server/ |
H A D | LSPServer.cpp | 145 {CodeAction::kQuickFix, CodeAction::kRefactor, in onInitialize() 146 CodeAction::kInfo}}} in onInitialize() 262 std::vector<CodeAction> actions; in onCodeAction() 263 if (isKindAllowed(CodeAction::kQuickFix)) in onCodeAction()
|
H A D | MLIRServer.h | 21 struct CodeAction; 78 std::vector<CodeAction> &actions);
|
H A D | MLIRServer.cpp | 1021 std::vector<lsp::CodeAction> &actions); 1182 std::vector<lsp::CodeAction> &actions) { in getCodeActions() 1191 lsp::CodeAction action; in getCodeActions() 1193 action.kind = lsp::CodeAction::kQuickFix.str(); in getCodeActions() 1343 std::vector<CodeAction> &actions) { in getCodeActions()
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | ClangdLSPServer.cpp | 80 CodeAction toCodeAction(const ClangdServer::CodeActionResult::Rename &R, in toCodeAction() 82 CodeAction CA; in toCodeAction() 84 CA.kind = std::string(CodeAction::REFACTOR_KIND); in toCodeAction() 98 CodeAction toCodeAction(const ClangdServer::TweakRef &T, const URIForFile &File, in toCodeAction() 100 CodeAction CA; in toCodeAction() 119 /// Convert from Fix to LSP CodeAction. in toCodeAction() 120 CodeAction toCodeAction(const Fix &F, const URIForFile &File, in toCodeAction() 124 CodeAction Action; in toCodeAction() 126 Action.kind = std::string(CodeAction::QUICKFIX_KIND); in toCodeAction() 674 {CodeAction in onInitialize() [all...] |
H A D | Protocol.cpp | 421 if (auto *CodeAction = TextDocument->getObject("codeAction")) { in fromJSON() local 422 if (CodeAction->getObject("codeActionLiteralSupport")) in fromJSON() 908 const llvm::StringLiteral CodeAction::QUICKFIX_KIND = "quickfix"; in toJSON() 909 const llvm::StringLiteral CodeAction::REFACTOR_KIND = "refactor"; in toJSON() 910 const llvm::StringLiteral CodeAction::INFO_KIND = "info"; in toJSON() 912 llvm::json::Value toJSON(const CodeAction &CA) { in toJSON() 913 auto CodeAction = llvm::json::Object{{"title", CA.title}}; in toJSON() 915 CodeAction["kind"] = *CA.kind; in toJSON() 917 CodeAction["diagnostics"] = llvm::json::Array(*CA.diagnostics); in toJSON() 919 CodeAction["isPreferre in toJSON() [all...] |
H A D | Protocol.h | 517 /// Client supports CodeAction return value for textDocument/codeAction. 919 struct CodeAction; 957 std::optional<std::vector<CodeAction>> codeActions; 1064 /// A CodeAction must set either `edit` and/or a `command`. If both are 1066 struct CodeAction { 1094 llvm::json::Value toJSON(const CodeAction &); 1063 struct CodeAction { global() struct 1065 titleCodeAction global() argument 1091 commandCodeAction global() argument
|
/llvm-project/mlir/lib/Tools/lsp-server-support/ |
H A D | Protocol.cpp | 1028 const llvm::StringLiteral CodeAction::kQuickFix = "quickfix"; 1029 const llvm::StringLiteral CodeAction::kRefactor = "refactor"; 1030 const llvm::StringLiteral CodeAction::kInfo = "info"; 1032 llvm::json::Value mlir::lsp::toJSON(const CodeAction &value) { in toJSON()
|
/llvm-project/mlir/include/mlir/Tools/lsp-server-support/ |
H A D | Protocol.h | 1209 struct CodeAction { struct 1235 llvm::json::Value toJSON(const CodeAction &); argument
|