[llvm] Leaf descendants (PR #90271)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 14:09:37 PDT 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 b6824c9d459da059e247a60c1ebd1aeb580dacc2 aefc5990acdb745d7d73c571b00424a4c5d41c96 -- llvm/include/llvm/Support/SuffixTree.h llvm/include/llvm/Support/SuffixTreeNode.h llvm/lib/CodeGen/MachineOutliner.cpp llvm/lib/Support/SuffixTree.cpp llvm/lib/Support/SuffixTreeNode.cpp llvm/unittests/Support/SuffixTreeTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Support/SuffixTree.h b/llvm/include/llvm/Support/SuffixTree.h
index 90f8aae60a..37b7366640 100644
--- a/llvm/include/llvm/Support/SuffixTree.h
+++ b/llvm/include/llvm/Support/SuffixTree.h
@@ -205,7 +205,8 @@ public:
     }
 
     RepeatedSubstringIterator(
-        SuffixTreeInternalNode *N, const std::vector<SuffixTreeLeafNode *> &LeafNodes = {})
+        SuffixTreeInternalNode *N,
+        const std::vector<SuffixTreeLeafNode *> &LeafNodes = {})
         : N(N), LeafNodes(LeafNodes) {
       // Do we have a non-null node?
       if (!N)

``````````

</details>


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


More information about the llvm-commits mailing list