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 h,c,cpp -- 
clang/test/CodeGen/unique-internal-linkage-names-alias.c 
clang/lib/CodeGen/CGCall.cpp clang/lib/CodeGen/CodeGenModule.cpp 
clang/lib/CodeGen/CodeGenModule.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp 
b/clang/lib/CodeGen/CodeGenModule.cpp
index adc43f234..f327a6b65 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -7721,7 +7721,8 @@ void CodeGenModule::FixupMaybeInlineFunctions() {
   unsigned long sz = 0;
   while (sz != DeferredMaybeInlineFunctions.size()) {
     sz = DeferredMaybeInlineFunctions.size();
-    for (auto I = DeferredMaybeInlineFunctions.begin(); I != 
DeferredMaybeInlineFunctions.end();) {
+    for (auto I = DeferredMaybeInlineFunctions.begin();
+         I != DeferredMaybeInlineFunctions.end();) {
       const auto *D = cast<FunctionDecl>(I->first.getDecl());
       auto *GA = GetGlobalValue(D->getName());
       StringRef MangledName = getMangledName(I->first);

``````````

</details>


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

Reply via email to