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 4e7cf1b1ed3824d1298d4232922f54c6295eab50 
96cb693bf6a70851e0f3664ad76134d1af3b097e -- 
clang/lib/AST/Interp/ByteCodeExprGen.cpp clang/lib/AST/Interp/ByteCodeExprGen.h 
clang/lib/AST/Interp/Context.cpp clang/test/AST/Interp/complex.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/AST/Interp/Context.cpp b/clang/lib/AST/Interp/Context.cpp
index d14ab78573..d575604e14 100644
--- a/clang/lib/AST/Interp/Context.cpp
+++ b/clang/lib/AST/Interp/Context.cpp
@@ -118,7 +118,7 @@ bool Context::evaluateAsInitializer(State &Parent, const 
VarDecl *VD,
     assert(Res.isLValue());
 
     if (!VD->getType()->isAnyComplexType() &&
-       !Res.checkFullyInitialized(C.getState()))
+        !Res.checkFullyInitialized(C.getState()))
       return false;
 
     // lvalue-to-rvalue conversion.

``````````

</details>


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

Reply via email to