Wizard added inline comments.
================ Comment at: docs/clang-tidy/checks/objc-avoid-nserror-init.rst:10 +``errorWithDomain:code:userInfo:`` to create new NSError objects instead +of ``[NSError alloc] init]``. Otherwise it will lead to a warning message +during compilation in Xcode. ---------------- hokein wrote: > What's the warning message in Xcode? I suspect whether there is a diagnostic > flag in clang already. It was discussed originally here https://buganizer.corp.google.com/issues/62445078 I think Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D40528 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits