]> granicus.if.org Git - clang/commit
Kill cocoa::deriveNamingConvention and cocoa::followsFundamentalRule. They are now...
authorJordy Rose <jediknil@belkadan.com>
Sat, 17 Mar 2012 20:51:32 +0000 (20:51 +0000)
committerJordy Rose <jediknil@belkadan.com>
Sat, 17 Mar 2012 20:51:32 +0000 (20:51 +0000)
commit44b8e4652d8e20c1e6611b35803e47b4a013b6c2
tree0146cb8b4f64daf083c6bdb38a2822f76b02c742
parente921b1a8b6b6f47abbc9b3de47cc74a34db2852b
Kill cocoa::deriveNamingConvention and cocoa::followsFundamentalRule. They are now just simple wrappers around method families, and method decls can cache method family lookups. Also, no one is using them right now.

The one difference between ObjCMethodDecl::getMethodFamily and Selector::getMethodFamily is that the former will do some additional sanity checking, and since CoreFoundation types don't look like Objective-C objects, an otherwise interesting method will get a method family of OMF_None. Future clients that use method families should consider how they want to handle CF types.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153000 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/DomainSpecific/CocoaConventions.h
lib/ARCMigrate/Transforms.cpp
lib/Analysis/CocoaConventions.cpp