[compiler-rt] [scudo] Support linking with index in IntrusiveList (PR #101262)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 10:16:30 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 ebdcb76d1a3b6d8fed06c91c0a318f07f4bca628 b99f63fae1988acb56ab203ac97d5f78eba2d217 --extensions h,cpp -- compiler-rt/lib/scudo/standalone/list.h compiler-rt/lib/scudo/standalone/tests/list_test.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/lib/scudo/standalone/list.h b/compiler-rt/lib/scudo/standalone/list.h
index b7e6377a5e..96da6397b2 100644
--- a/compiler-rt/lib/scudo/standalone/list.h
+++ b/compiler-rt/lib/scudo/standalone/list.h
@@ -151,7 +151,8 @@ template <class T> struct IntrusiveList : public LinkOp<T> {
Iterator end() { return Iterator(*this, this->getEndOfListVal()); }
ConstIterator begin() const {
- return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()), First);
+ return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()),
+ First);
}
ConstIterator end() const {
return ConstIterator(LinkOp<const T>(this->getBase(), this->getSize()),
``````````
</details>
https://github.com/llvm/llvm-project/pull/101262
More information about the llvm-commits
mailing list