]> granicus.if.org Git - clang/commitdiff
Fix typo reported in <rdar://problem/7121409>.
authorTed Kremenek <kremenek@apple.com>
Thu, 6 Aug 2009 05:01:36 +0000 (05:01 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 6 Aug 2009 05:01:36 +0000 (05:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78285 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/CheckNSError.cpp

index 4e8ba01e3e24e1bf56d127977219f8b9c7befc2d..0d67e016090014db6f7d90cb9aa20433124fcace 100644 (file)
@@ -111,7 +111,7 @@ void NSErrorCheck::EmitRetTyWarning(BugReporter& BR, Decl& CodeDecl) {
   os << " accepting ";
   os << (isNSErrorWarning ? "NSError**" : "CFErrorRef*");
   os << " should have a non-void return value to indicate whether or not an "
-        "error occured.";
+        "error occurred";
   
   BR.EmitBasicReport(isNSErrorWarning
                      ? "Bad return type when passing NSError**"