[llvm] [llvm][Object] Add missing const qualifier for value_type in content_iterator (PR #124106)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 24 11:22:03 PST 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 4f26edd5e9eb3b6cea19e15ca8fb2c8416b82fa8 790e62b22dcdce500842f3c469a207fb263a93f5 --extensions cpp,h -- llvm/include/llvm/Object/SymbolicFile.h llvm/unittests/Object/SymbolicFileTest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Object/SymbolicFileTest.cpp b/llvm/unittests/Object/SymbolicFileTest.cpp
index df81cee367..bdbddcd0e9 100644
--- a/llvm/unittests/Object/SymbolicFileTest.cpp
+++ b/llvm/unittests/Object/SymbolicFileTest.cpp
@@ -43,7 +43,7 @@ TEST(Object, DataRefImplOstream) {
struct ProxyContent {
unsigned Index = 0;
- ProxyContent(unsigned Index) : Index(Index){};
+ ProxyContent(unsigned Index) : Index(Index) {};
void moveNext() { Index++; }
bool operator==(const ProxyContent &Another) const {
``````````
</details>
https://github.com/llvm/llvm-project/pull/124106
More information about the llvm-commits
mailing list