Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/117...@github.com>


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 6f16a8bf17ac9a171b5435ee53c3d2bef657bdad 
894748176d95d1141b7c6fb27407c283e9d7a542 --extensions cpp -- 
clang/lib/Frontend/DiagnosticRenderer.cpp clang/lib/Sema/SemaExpr.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Frontend/DiagnosticRenderer.cpp 
b/clang/lib/Frontend/DiagnosticRenderer.cpp
index 063af34f58..013eb59793 100644
--- a/clang/lib/Frontend/DiagnosticRenderer.cpp
+++ b/clang/lib/Frontend/DiagnosticRenderer.cpp
@@ -496,7 +496,7 @@ static bool checkRangesForMacroArgExpansion(FullSourceLoc 
Loc,
 
   // Count all valid ranges.
   unsigned ValidCount = 0;
-      // llvm::count_if(Ranges, [](const auto &R) { return R.isValid(); });
+  // llvm::count_if(Ranges, [](const auto &R) { return R.isValid(); });
   // llvm::errs() << "ValidCount: " << ValidCount << '\n';
 
   if (ValidCount > SpellingRanges.size())

``````````

</details>


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

Reply via email to