[clang] [Clang] Rename SecondArgIsLastNamedArgument for clarity and consistency (PR #131346)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 14 08:50:21 PDT 2025


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 841f4637a078ce9adc5ef45f533a43bf7fbc7fc7 3f4932668ba8b8f74136dc297f98f0f9494da90e --extensions cpp -- clang/lib/Sema/SemaChecking.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index c8e8cb6f4c..9fbde68b3e 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -4874,8 +4874,8 @@ bool Sema::BuiltinVAStart(unsigned BuiltinID, CallExpr *TheCall) {
       Val && LangOpts.C23 && *Val == 0)
     return false;
 
-  // These are valid if SecondArgIsLastNonVariadicArgument is false after the next
-  // block.
+  // These are valid if SecondArgIsLastNonVariadicArgument is false after the
+  // next block.
   QualType Type;
   SourceLocation ParamLoc;
   bool IsCRegister = false;

``````````

</details>


https://github.com/llvm/llvm-project/pull/131346


More information about the cfe-commits mailing list