[llvm] [NFC][RemoveDIs] Remove conditional compilation for RemoveDIs (PR #81149)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 07:46:23 PST 2024


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 cd183428a9af6d7dda2018a88aeb495f268716b5 f3a280e80bcaf0cef1191e70b238f6806ac5c706 -- llvm/include/llvm/ADT/ilist_iterator.h llvm/tools/llc/llc.cpp llvm/tools/llvm-link/llvm-link.cpp llvm/tools/llvm-lto/llvm-lto.cpp llvm/tools/llvm-lto2/llvm-lto2.cpp llvm/tools/llvm-reduce/llvm-reduce.cpp llvm/tools/opt/optdriver.cpp llvm/unittests/ADT/IListIteratorBitsTest.cpp llvm/unittests/IR/BasicBlockDbgInfoTest.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/unittests/ADT/IListIteratorBitsTest.cpp b/llvm/unittests/ADT/IListIteratorBitsTest.cpp
index bd5f0f890b..8ae73b1ed5 100644
--- a/llvm/unittests/ADT/IListIteratorBitsTest.cpp
+++ b/llvm/unittests/ADT/IListIteratorBitsTest.cpp
@@ -55,8 +55,8 @@ TEST(IListIteratorBitsTest, ConsAndAssignment) {
 
   simple_ilist<Node, ilist_iterator_bits<true>>::iterator I, I2;
 
-// Check that HeadInclusiveBit and TailInclusiveBit are preserved on assignment
-// and copy construction, but not on other operations.
+  // Check that HeadInclusiveBit and TailInclusiveBit are preserved on
+  // assignment and copy construction, but not on other operations.
   I = L.begin();
   EXPECT_FALSE(I.getHeadBit());
   EXPECT_FALSE(I.getTailBit());

``````````

</details>


https://github.com/llvm/llvm-project/pull/81149


More information about the llvm-commits mailing list