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/test/CIR/CodeGen/mllvm-library-options.c 
llvm/include/llvm/Support/LibraryOptionsContext.h 
llvm/unittests/IR/LibraryOptionsContextTest.cpp 
clang/include/clang/Frontend/CompilerInstance.h 
clang/lib/CIR/FrontendAction/CIRGenAction.cpp 
clang/lib/CodeGen/CodeGenAction.cpp clang/lib/Frontend/CompilerInstance.cpp 
llvm/include/llvm/IR/LLVMContext.h llvm/include/llvm/Option/LibraryOptions.h 
llvm/include/llvm/Support/CommandLine.h llvm/lib/IR/LLVMContext.cpp 
llvm/lib/IR/LLVMContextImpl.h llvm/lib/Option/LibraryOptions.cpp 
llvm/lib/Support/CommandLine.cpp 
llvm/lib/Transforms/InstCombine/InstructionCombining.cpp 
llvm/tools/opt/optdriver.cpp llvm/unittests/Option/LibraryOptionsTest.cpp 
llvm/unittests/Support/CommandLineTest.cpp 
llvm/utils/TableGen/Basic/OptionParserEmitter.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/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 31f07e114..8458cbbc2 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -1446,7 +1446,8 @@ Error ExpansionContext::readConfigFile(StringRef CfgFile,
 }
 
 static void initCommonOptions();
-static bool parseCommandLineOptionsImpl(LibraryOptionsContext *Context, 
ArrayRef<const char *> Args,
+static bool parseCommandLineOptionsImpl(LibraryOptionsContext *Context,
+                                        ArrayRef<const char *> Args,
                                         StringRef Overview, raw_ostream *Errs,
                                         vfs::FileSystem *VFS,
                                         const char *EnvVar) {

``````````

</details>


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

Reply via email to