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 4fde8c341f9166e6ec6dff6e7704be175e382f5b c966236e1ec99fbd45063e0363873c8d8abe4c50 --extensions h,cpp -- clang/lib/Basic/Targets/AMDGPU.cpp llvm/include/llvm/IR/DataLayout.h llvm/lib/IR/DataLayout.cpp llvm/unittests/IR/DataLayoutTest.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/unittests/IR/DataLayoutTest.cpp b/llvm/unittests/IR/DataLayoutTest.cpp index 79d46ebfd7..a775c7417b 100644 --- a/llvm/unittests/IR/DataLayoutTest.cpp +++ b/llvm/unittests/IR/DataLayoutTest.cpp @@ -312,8 +312,8 @@ TEST(DataLayout, ParsePointerSpec) { "p16777215:32:32:64:8", "p16777215:16777215:32768:32768:16777215"}) EXPECT_THAT_EXPECTED(DataLayout::parse(Str), Succeeded()); - for (StringRef Str : - {"p", "p0", "p:32", "p0:32", "p:32:32:32:32:32:0", "p0:32:32:32:32:32:0"}) + for (StringRef Str : {"p", "p0", "p:32", "p0:32", "p:32:32:32:32:32:0", + "p0:32:32:32:32:32:0"}) EXPECT_THAT_EXPECTED( DataLayout::parse(Str), FailedWithMessage( `````````` </details> https://github.com/llvm/llvm-project/pull/131557 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits