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 c,cpp,h -- 
clang/test/CIR/CodeGen/var_arg.c clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp 
clang/lib/CIR/CodeGen/CIRGenExpr.cpp clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp 
clang/lib/CIR/CodeGen/CIRGenFunction.cpp clang/lib/CIR/CodeGen/CIRGenFunction.h 
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp 
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp 
b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
index 7fb5c020d..730f3a251 100644
--- a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
@@ -388,7 +388,8 @@ public:
     QualType Ty = ve->getType();
 
     if (Ty->isVariablyModifiedType()) {
-      cgf.cgm.errorNYI(ve->getSourceRange(), "variably modified types in 
varargs");
+      cgf.cgm.errorNYI(ve->getSourceRange(),
+                       "variably modified types in varargs");
     }
 
     Address argValue = Address::invalid();

``````````

</details>


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

Reply via email to