[llvm-branch-commits] [clang-tools-extra] [clang] [llvm] [Clangd] Migrate command line options parsing to opttable. (PR #76767)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 2 16:06:20 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff f7907be4efb9768449294d0c47cd7f7beaa850ea 69eacf843dc5c64b2e544305355c1b17cf1664c9 -- clang-tools-extra/clangd/tool/ClangdMain.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang-tools-extra/clangd/tool/ClangdMain.cpp b/clang-tools-extra/clangd/tool/ClangdMain.cpp
index ea122d1a58..ea155b8bf9 100644
--- a/clang-tools-extra/clangd/tool/ClangdMain.cpp
+++ b/clang-tools-extra/clangd/tool/ClangdMain.cpp
@@ -478,7 +478,6 @@ enum class ErrorResultCode : int {
CheckFailed = 3
};
-
int clangdMain(int argc, char *argv[]) {
// Clang could run on the main thread. e.g., when the flag '-check' or '-sync'
// is enabled.
``````````
</details>
https://github.com/llvm/llvm-project/pull/76767
More information about the llvm-branch-commits
mailing list