[clang-tools-extra] r347000 - [clang-tidy] Fix reference to -[NSError init] in AvoidNSErrorInitCheck.h

Stephane Moore via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 15 14:38:40 PST 2018


Author: stephanemoore
Date: Thu Nov 15 14:38:39 2018
New Revision: 347000

URL: http://llvm.org/viewvc/llvm-project?rev=347000&view=rev
Log:
[clang-tidy] Fix reference to -[NSError init] in AvoidNSErrorInitCheck.h

Modified:
    clang-tools-extra/trunk/clang-tidy/objc/AvoidNSErrorInitCheck.h

Modified: clang-tools-extra/trunk/clang-tidy/objc/AvoidNSErrorInitCheck.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/objc/AvoidNSErrorInitCheck.h?rev=347000&r1=346999&r2=347000&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/objc/AvoidNSErrorInitCheck.h (original)
+++ clang-tools-extra/trunk/clang-tidy/objc/AvoidNSErrorInitCheck.h Thu Nov 15 14:38:39 2018
@@ -16,7 +16,7 @@ namespace clang {
 namespace tidy {
 namespace objc {
 
-/// Finds usages of [NSSError init]. It is not the proper way of creating
+/// Finds usages of -[NSError init]. It is not the proper way of creating
 /// NSError. errorWithDomain:code:userInfo: should be used instead.
 ///
 /// For the user-facing documentation see:




More information about the cfe-commits mailing list