-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a typo in webkit.NoUncountedMemberChecker. #91402
Conversation
|
@llvm/pr-subscribers-clang-static-analyzer-1 @llvm/pr-subscribers-clang Author: Ryosuke Niwa (rniwa) ChangesFull diff: https://github.com/llvm/llvm-project/pull/91402.diff 1 Files Affected:
diff --git a/clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
index c753ed84a700c..69a0eb3086ab7 100644
--- a/clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp
@@ -34,7 +34,7 @@ class NoUncountedMemberChecker
public:
NoUncountedMemberChecker()
: Bug(this,
- "Member variable is a raw-poiner/reference to reference-countable "
+ "Member variable is a raw-pointer/reference to reference-countable "
"type",
"WebKit coding guidelines") {}
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice LGTM!
You could test this patch by pasting the warning into one of the expected-warning{{}} clauses in the tests but I honestly don't think it's all that important for a patch like this.
141d4b7 to
c3a6cff
Compare
Co-authored-by: Brianna Fan <bfan2@apple.com>
Co-authored-by: Brianna Fan <bfan2@apple.com>
Co-authored-by: Brianna Fan <bfan2@apple.com>
Co-authored-by: Brianna Fan <bfan2@apple.com>
Co-authored-by: Brianna Fan <bfan2@apple.com>
Co-authored-by: Brianna Fan <bfan2@apple.com>
No description provided.