Stefan =?utf-8?q?Gränitz?= <[email protected]>,
Stefan =?utf-8?q?Gränitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


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 origin/main HEAD --extensions cpp,h,c -- 
clang/lib/CodeGen/BackendUtil.cpp clang/test/CodeGen/codegen-plugins.c 
flang/lib/Frontend/FrontendActions.cpp llvm/examples/Bye/Bye.cpp 
llvm/examples/Ciao/Ciao.cpp llvm/include/llvm/Passes/RunCodeGen.h 
llvm/include/llvm/Plugins/PassPlugin.h llvm/lib/Plugins/PassPlugin.cpp 
llvm/tools/llc/lib/llcdriver.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/examples/Ciao/Ciao.cpp b/llvm/examples/Ciao/Ciao.cpp
index 1ebcdb856..98e137615 100644
--- a/llvm/examples/Ciao/Ciao.cpp
+++ b/llvm/examples/Ciao/Ciao.cpp
@@ -79,6 +79,6 @@ Error parseArguments(ArrayRef<const char *> Args) {
 // legacy codegen pipeline relies on the static initialization.
 extern "C" LLVM_ATTRIBUTE_WEAK ::llvm::PassPluginLibraryInfo
 llvmGetPassPluginInfo() {
-  return {LLVM_PLUGIN_API_VERSION, "Ciao", LLVM_VERSION_STRING, nullptr,
-          preCodeGenCallback, parseArguments};
+  return {LLVM_PLUGIN_API_VERSION, "Ciao",        LLVM_VERSION_STRING, nullptr,
+          preCodeGenCallback,      parseArguments};
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/241314
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to