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 HEAD~1 HEAD --extensions cpp -- 
clang/lib/Frontend/CompilerInstance.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Frontend/CompilerInstance.cpp 
b/clang/lib/Frontend/CompilerInstance.cpp
index 28f65b7f8..b2c566f44 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -1474,8 +1474,8 @@ static bool compileModuleAndReadASTImpl(CompilerInstance 
&ImportingInstance,
                                         Module *Module,
                                         StringRef ModuleFileName) {
   {
-    auto Instance = ImportingInstance.cloneForModuleCompile(ModuleNameLoc, 
Module,
-                                                            ModuleFileName);
+    auto Instance = ImportingInstance.cloneForModuleCompile(
+        ModuleNameLoc, Module, ModuleFileName);
 
     if (!ImportingInstance.compileModule(ModuleNameLoc,
                                          Module->getTopLevelModuleName(),

``````````

</details>


https://github.com/llvm/llvm-project/pull/154455
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to