[llvm] [CGData] Outlined Hash Tree (PR #89792)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 6 07:36:06 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 e55585fd7bddf5bb3824a53cbe2971206d3c20c6 c6fa20ba7adcc5f83e6684f3c59863f826ea6248 -- llvm/include/llvm/CodeGenData/OutlinedHashTree.h llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h llvm/lib/CodeGenData/OutlinedHashTree.cpp llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp llvm/unittests/CodeGenData/OutlinedHashTreeRecordTest.cpp llvm/unittests/CodeGenData/OutlinedHashTreeTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h b/llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h
index 55938edfe0..de397c9ca5 100644
--- a/llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h
+++ b/llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h
@@ -37,7 +37,7 @@ struct OutlinedHashTreeRecord {
 
   OutlinedHashTreeRecord() { HashTree = std::make_unique<OutlinedHashTree>(); }
   OutlinedHashTreeRecord(std::unique_ptr<OutlinedHashTree> HashTree)
-      : HashTree(std::move(HashTree)){};
+      : HashTree(std::move(HashTree)) {};
 
   /// Serialize the outlined hash tree to a raw_ostream.
   void serialize(raw_ostream &OS) const;

``````````

</details>


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


More information about the llvm-commits mailing list