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,h -- 
bolt/include/bolt/Profile/DataAggregator.h bolt/lib/Profile/DataAggregator.cpp
``````````

</details>

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

``````````diff
diff --git a/bolt/lib/Profile/DataAggregator.cpp 
b/bolt/lib/Profile/DataAggregator.cpp
index 6e8899080..02ae9e0b8 100644
--- a/bolt/lib/Profile/DataAggregator.cpp
+++ b/bolt/lib/Profile/DataAggregator.cpp
@@ -1260,7 +1260,8 @@ std::error_code DataAggregator::parseAggregatedLBREntry() 
{
   for (int I = 0; I < CounterNum; ++I) {
     while (checkAndConsumeFS()) {
     }
-    if (ErrorOr<int64_t> Count = parseNumberField(FieldSeparator, I + 1 == 
CounterNum))
+    if (ErrorOr<int64_t> Count =
+            parseNumberField(FieldSeparator, I + 1 == CounterNum))
       Counters[I] = Count.get();
     else
       return Count.getError();

``````````

</details>


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

Reply via email to