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 97181bf9a05251d48c8016ad61d3e38df90620bb 8711499955afb9fd273da929f14742aed2dac822 -- clang/lib/CodeGen/CGExpr.cpp clang/lib/CodeGen/CodeGenTBAA.cpp clang/lib/CodeGen/CodeGenTBAA.h clang/test/CXX/drs/dr158.cpp clang/test/CodeGen/attr-arm-sve-vector-bits-bitcast.c clang/test/CodeGen/attr-counted-by.c clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c clang/test/CodeGen/sanitize-metadata-nosanitize.c clang/test/CodeGen/tbaa-pointers.c clang/test/CodeGen/tbaa-reference.cpp clang/test/CodeGen/tbaa-struct.cpp clang/test/CodeGen/union-tbaa1.c clang/test/CodeGenCXX/attr-likelihood-iteration-stmt.cpp clang/test/OpenMP/bug57757.cpp clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp clang/unittests/CodeGen/TBAAMetadataTest.cpp llvm/include/llvm/IR/Verifier.h llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp llvm/lib/IR/Verifier.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/unittests/CodeGen/TBAAMetadataTest.cpp b/clang/unittests/CodeGen/TBAAMetadataTest.cpp index 5555382050..ff73a4b37b 100644 --- a/clang/unittests/CodeGen/TBAAMetadataTest.cpp +++ b/clang/unittests/CodeGen/TBAAMetadataTest.cpp @@ -118,16 +118,18 @@ TEST(TBAAMetadataTest, BasicTypes) { I = matchNext( I, MInstruction( - Instruction::Store, MValType(PointerType::getUnqual(Compiler.Context)), + Instruction::Store, + MValType(PointerType::getUnqual(Compiler.Context)), MMTuple(MMTuple(MMString("p1 void"), AnyPointerC, MConstInt(0)), MSameAs(0), MConstInt(0)))); ASSERT_TRUE(I); - I = matchNext(I, MInstruction(Instruction::Store, - MValType(PointerType::getUnqual(Compiler.Context)), - MMTuple(MMTuple(MMString("p1 int"), AnyPointerC, - MConstInt(0)), - MSameAs(0), MConstInt(0)))); + I = matchNext( + I, MInstruction( + Instruction::Store, + MValType(PointerType::getUnqual(Compiler.Context)), + MMTuple(MMTuple(MMString("p1 int"), AnyPointerC, MConstInt(0)), + MSameAs(0), MConstInt(0)))); ASSERT_TRUE(I); } `````````` </details> https://github.com/llvm/llvm-project/pull/75177 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits