[llvm] [SandboxIR][Tracker] Track eraseFromParent() (PR #99431)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 22:19:21 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 5338bd3c8ac5e313a09fffbe84aacc51a16e17f8 70844178211bf71d2f1aabf7e962a24acd5edcfd --extensions cpp,h -- llvm/include/llvm/SandboxIR/SandboxIR.h llvm/include/llvm/SandboxIR/Tracker.h llvm/lib/SandboxIR/SandboxIR.cpp llvm/lib/SandboxIR/Tracker.cpp llvm/unittests/SandboxIR/TrackerTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/SandboxIR/Tracker.cpp b/llvm/lib/SandboxIR/Tracker.cpp
index f0998aa713..d0523e73a9 100644
--- a/llvm/lib/SandboxIR/Tracker.cpp
+++ b/llvm/lib/SandboxIR/Tracker.cpp
@@ -96,7 +96,6 @@ void EraseFromParent::dump() const {
 }
 #endif
 
-
 void Tracker::track(std::unique_ptr<IRChangeBase> &&Change) {
   assert(State == TrackerState::Record && "The tracker should be tracking!");
   Changes.push_back(std::move(Change));

``````````

</details>


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


More information about the llvm-commits mailing list