Address review feedback on r221933.
authorNico Weber <nicolasweber@gmx.de>
Sat, 27 Dec 2014 03:58:08 +0000 (03:58 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 27 Dec 2014 03:58:08 +0000 (03:58 +0000)
commit2e0c8f79d97b974a680087d12a7dc5e1dc705c20
tree39a5eec66a84c82be84d24b102a61991a5b226a5
parentc33b2fd0add3d1a77b19874c6a1dd91f5a59f8a3
Address review feedback on r221933.

Remove ObjCMethodList::Count, instead store a "has more than one decl" bit in
the low bit of the ObjCMethodDecl pointer, using a PointerIntPair.

Most of this patch is replacing ".Method" with ".getMethod()".

No intended behavior change.

llvm-svn: 224876
clang/include/clang/Sema/ObjCMethodList.h
clang/lib/Sema/SemaCodeComplete.cpp
clang/lib/Sema/SemaDeclObjC.cpp
clang/lib/Sema/SemaExprObjC.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp