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 3aad77ebc37532a6a3836d902d0014391ed0a0eb d93ec3a6ba414483efd6126fc7a953228b5e4150 -- clang/test/CodeGen/WebAssembly/wasm-externref-novec.c llvm/lib/IR/Type.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/IR/Type.cpp b/llvm/lib/IR/Type.cpp index b1d0f12498c3..017b877ea982 100644 --- a/llvm/lib/IR/Type.cpp +++ b/llvm/lib/IR/Type.cpp @@ -682,7 +682,7 @@ VectorType *VectorType::get(Type *ElementType, ElementCount EC) { } bool VectorType::isValidElementType(Type *ElemTy) { - if(PointerType *PTy = dyn_cast<PointerType>(ElemTy)) + if (PointerType *PTy = dyn_cast<PointerType>(ElemTy)) return PTy->getAddressSpace() != 10 && PTy->getAddressSpace() != 20; return ElemTy->isIntegerTy() || ElemTy->isFloatingPointTy() || `````````` </details> https://github.com/llvm/llvm-project/pull/71069 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits