[compiler-rt] [scudo] Skip special quarantine blocks in iterateOverChunks (PR #159892)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 19 19:01:11 PDT 2025
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 origin/main HEAD --extensions cpp,h -- compiler-rt/lib/scudo/standalone/combined.h compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
index 5de084662..5b56b973d 100644
--- a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+++ b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
@@ -151,12 +151,8 @@ void TestAllocator<Config>::operator delete(void *ptr) {
}
template <class TypeParam> struct ScudoCombinedTest : public Test {
- ScudoCombinedTest() {
- Allocator = std::make_unique<AllocatorT>();
- }
- ~ScudoCombinedTest() {
- Allocator->releaseToOS(scudo::ReleaseToOS::Force);
- }
+ ScudoCombinedTest() { Allocator = std::make_unique<AllocatorT>(); }
+ ~ScudoCombinedTest() { Allocator->releaseToOS(scudo::ReleaseToOS::Force); }
void RunTest();
``````````
</details>
https://github.com/llvm/llvm-project/pull/159892
More information about the llvm-commits
mailing list