diff options
author | Jordy Rose <jediknil@belkadan.com> | 2012-03-17 20:51:32 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2012-03-17 20:51:32 +0000 |
commit | 44b8e4652d8e20c1e6611b35803e47b4a013b6c2 (patch) | |
tree | 0146cb8b4f64daf083c6bdb38a2822f76b02c742 /lib/ARCMigrate/Transforms.cpp | |
parent | e921b1a8b6b6f47abbc9b3de47cc74a34db2852b (diff) |
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
Diffstat (limited to 'lib/ARCMigrate/Transforms.cpp')
-rw-r--r-- | lib/ARCMigrate/Transforms.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ARCMigrate/Transforms.cpp b/lib/ARCMigrate/Transforms.cpp index 70ef6216d6..d342d1aa04 100644 --- a/lib/ARCMigrate/Transforms.cpp +++ b/lib/ARCMigrate/Transforms.cpp @@ -12,7 +12,6 @@ #include "clang/Sema/SemaDiagnostic.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/AST/StmtVisitor.h" -#include "clang/Analysis/DomainSpecific/CocoaConventions.h" #include "clang/Lex/Lexer.h" #include "clang/Basic/SourceManager.h" #include "llvm/ADT/StringSwitch.h" |