]> granicus.if.org Git - clang/commit
Fix another place where clang check objc selector name instead of checking the select...
authorJean-Daniel Dupas <devlists@shadowlab.org>
Fri, 19 Jul 2013 20:25:56 +0000 (20:25 +0000)
committerJean-Daniel Dupas <devlists@shadowlab.org>
Fri, 19 Jul 2013 20:25:56 +0000 (20:25 +0000)
commit4bdb602d1a70ea432aad909825eb4748a2aca768
tree1b2240ba088c57ab915b9f6bd12d640b2a3d2302
parentfaae53d1cec325140a548c8e9ff647b7edb43702
Fix another place where clang check objc selector name instead of checking the selector family

Summary: In ARC mode, clang emits a warning if the result of an 'init' method is unused but miss cases where the method does not follows the Cocoa naming convention but is properly declared as an init family method.

CC: cfe-commits, eli.friedman
Differential Revision: http://llvm-reviews.chandlerc.com/D1163

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Expr.cpp
test/SemaObjC/arc.m