Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>,
Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/83...@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 5143a1241362616840af826d18c067025dae1111 
bac423c77cd62604f6bd27d258a91832fc0bc0d2 -- clang/lib/AST/Interp/Context.cpp 
clang/lib/AST/Interp/EvalEmitter.h clang/lib/AST/Interp/Program.cpp 
clang/test/AST/Interp/literals.cpp clang/lib/AST/Interp/Compiler.cpp 
clang/lib/AST/Interp/Compiler.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/AST/Interp/Compiler.cpp 
b/clang/lib/AST/Interp/Compiler.cpp
index 60d3d899d2..e04c04cd73 100644
--- a/clang/lib/AST/Interp/Compiler.cpp
+++ b/clang/lib/AST/Interp/Compiler.cpp
@@ -1815,8 +1815,7 @@ bool Compiler<Emitter>::VisitTypeTraitExpr(const 
TypeTraitExpr *E) {
 }
 
 template <class Emitter>
-bool Compiler<Emitter>::VisitArrayTypeTraitExpr(
-    const ArrayTypeTraitExpr *E) {
+bool Compiler<Emitter>::VisitArrayTypeTraitExpr(const ArrayTypeTraitExpr *E) {
   if (DiscardResult)
     return true;
   return this->emitConst(E->getValue(), E);
@@ -2290,8 +2289,7 @@ bool Compiler<Emitter>::VisitPseudoObjectExpr(const 
PseudoObjectExpr *E) {
 }
 
 template <class Emitter>
-bool Compiler<Emitter>::VisitPackIndexingExpr(
-    const PackIndexingExpr *E) {
+bool Compiler<Emitter>::VisitPackIndexingExpr(const PackIndexingExpr *E) {
   return this->delegate(E->getSelectedExpr());
 }
 
@@ -3815,8 +3813,7 @@ bool Compiler<Emitter>::VisitUnaryOperator(const 
UnaryOperator *E) {
 }
 
 template <class Emitter>
-bool Compiler<Emitter>::VisitComplexUnaryOperator(
-    const UnaryOperator *E) {
+bool Compiler<Emitter>::VisitComplexUnaryOperator(const UnaryOperator *E) {
   const Expr *SubExpr = E->getSubExpr();
   assert(SubExpr->getType()->isAnyComplexType());
 
@@ -4129,9 +4126,8 @@ bool Compiler<Emitter>::emitComplexBoolCast(const Expr 
*E) {
 }
 
 template <class Emitter>
-bool Compiler<Emitter>::emitComplexComparison(const Expr *LHS,
-                                                     const Expr *RHS,
-                                                     const BinaryOperator *E) {
+bool Compiler<Emitter>::emitComplexComparison(const Expr *LHS, const Expr *RHS,
+                                              const BinaryOperator *E) {
   assert(E->isComparisonOp());
   assert(!Initializing);
   assert(!DiscardResult);

``````````

</details>


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

Reply via email to