https://github.com/csaavedra updated 
https://github.com/llvm/llvm-project/pull/159593

>From aa9955b4704e7271549771ef2ae396969530dbe6 Mon Sep 17 00:00:00 2001
From: Claudio Saavedra <[email protected]>
Date: Thu, 18 Sep 2025 18:19:21 +0300
Subject: [PATCH] [WebKit checkers] fix a typo in a message in one of the
 checkers

---
 .../StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp | 2 +-
 clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp 
b/clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
index b841caf8c74b1..df13de158a646 100644
--- a/clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
@@ -384,7 +384,7 @@ class RawPtrRefCallArgsChecker
 
     SmallString<100> Buf;
     llvm::raw_svector_ostream Os(Buf);
-    Os << "Reciever is " << ptrKind() << " and unsafe.";
+    Os << "Receiver is " << ptrKind() << " and unsafe.";
 
     PathDiagnosticLocation BSLoc(SrcLocToReport, BR->getSourceManager());
     auto Report = std::make_unique<BasicBugReport>(Bug, Os.str(), BSLoc);
diff --git a/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm 
b/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
index 343e37d30e054..ddaa34d8ace45 100644
--- a/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
+++ b/clang/test/Analysis/Checkers/WebKit/unretained-call-args.mm
@@ -279,7 +279,7 @@ void foo() {
 
   void foo() {
     [provide() doWork];
-    // expected-warning@-1{{Reciever is unretained and unsafe}}
+    // expected-warning@-1{{Receiver is unretained and unsafe}}
     [protectedProvide().get() doWork];
 
     CFArrayAppendValue(provide_cf(), nullptr);

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to