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 a62e1c8eddcda420abec57976dc48f97669277dc 58f3bcf35074b0d2e823cf0804e637d1f78dc53e --extensions c,cpp -- clang/lib/Driver/ToolChains/Clang.cpp clang/test/CodeGen/attr-counted-by.c clang/test/CodeGen/tbaa-pointers.c clang/test/CodeGen/tbaa-reference.cpp clang/test/CodeGenCXX/template-instantiation.cpp clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp clang/unittests/CodeGen/TBAAMetadataTest.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 cad8783ea7..adc0218fea 100644 --- a/clang/unittests/CodeGen/TBAAMetadataTest.cpp +++ b/clang/unittests/CodeGen/TBAAMetadataTest.cpp @@ -39,11 +39,8 @@ auto OmnipotentCharC = MMTuple( MConstInt(0, 64) ); -auto AnyPtr = MMTuple( - MMString("any pointer"), - OmnipotentCharC, - MConstInt(0, 64) -); +auto AnyPtr = + MMTuple(MMString("any pointer"), OmnipotentCharC, MConstInt(0, 64)); auto OmnipotentCharCXX = MMTuple( MMString("omnipotent char"), @@ -116,28 +113,19 @@ TEST(TBAAMetadataTest, BasicTypes) { MConstInt(0)))); ASSERT_TRUE(I); - I = matchNext(I, + I = matchNext( + I, MInstruction(Instruction::Store, - MValType(PointerType::getUnqual(Compiler.Context)), - MMTuple( - MMTuple( - MMString("p1 void"), - AnyPtr, - MConstInt(0)), - MSameAs(0), - MConstInt(0)))); + MValType(PointerType::getUnqual(Compiler.Context)), + MMTuple(MMTuple(MMString("p1 void"), AnyPtr, 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"), - AnyPtr, - MConstInt(0)), - MSameAs(0), - MConstInt(0)))); + I = matchNext( + I, MInstruction(Instruction::Store, + MValType(PointerType::getUnqual(Compiler.Context)), + MMTuple(MMTuple(MMString("p1 int"), AnyPtr, MConstInt(0)), + MSameAs(0), MConstInt(0)))); ASSERT_TRUE(I); } `````````` </details> https://github.com/llvm/llvm-project/pull/117244 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits