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 7441e87fe05376782d0ddb90a13e1756eb1b1976 021481832a31f7d6c01f6faec5140498641eb37b --extensions c,cpp -- clang/test/CodeGen/AArch64/fp8-init-list.c clang/lib/AST/ExprConstant.cpp clang/lib/Sema/SemaInit.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index e11b92956b..7902578963 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -11172,7 +11172,7 @@ VectorExprEvaluator::VisitInitListExpr(const InitListExpr *E) { QualType EltTy = VT->getElementType(); SmallVector<APValue, 4> Elements; - // MFloat8 type doesn't have constants and thus constant folding + // MFloat8 type doesn't have constants and thus constant folding // is impossible. if (EltTy->isMFloat8Type()) return false; diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp index 505d9df8d4..4fa3233269 100644 --- a/clang/lib/Sema/SemaInit.cpp +++ b/clang/lib/Sema/SemaInit.cpp @@ -1589,7 +1589,8 @@ void InitListChecker::CheckSubElementType(const InitializedEntity &Entity, } else { assert((ElemType->isRecordType() || ElemType->isVectorType() || - ElemType->isOpenCLSpecificType() || ElemType->isMFloat8Type()) && "Unexpected type"); + ElemType->isOpenCLSpecificType() || ElemType->isMFloat8Type()) && + "Unexpected type"); // C99 6.7.8p13: // `````````` </details> https://github.com/llvm/llvm-project/pull/125097 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits