[llvm] [PtrUseVisitor] Allow using Argument as a starting point (PR #106308)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 16:33: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 f999b321d7317fa9e59ce597bd3d63b7035fe774 4550f156770a691dfaa97d3074977b8afaa7aae5 --extensions cpp,h -- llvm/include/llvm/Analysis/PtrUseVisitor.h llvm/lib/Analysis/PtrUseVisitor.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Analysis/PtrUseVisitor.h b/llvm/include/llvm/Analysis/PtrUseVisitor.h
index aa38c29e41..f19e53798d 100644
--- a/llvm/include/llvm/Analysis/PtrUseVisitor.h
+++ b/llvm/include/llvm/Analysis/PtrUseVisitor.h
@@ -209,7 +209,7 @@ public:
/// Recursively visit the uses of the given pointer.
/// \returns An info struct about the pointer. See \c PtrInfo for details.
- /// We may also need to process Argument pointers, so the input uses is
+ /// We may also need to process Argument pointers, so the input uses is
/// a common Value type.
PtrInfo visitPtr(Value &I) {
// This must be a pointer type. Get an integer type suitable to hold
``````````
</details>
https://github.com/llvm/llvm-project/pull/106308
More information about the llvm-commits
mailing list