]> granicus.if.org Git - clang/commit
Enhance the ObjC global method pool to record whether there were 0, 1, or >= 2 method...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 17 Apr 2013 00:08:58 +0000 (00:08 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 17 Apr 2013 00:08:58 +0000 (00:08 +0000)
commit2e3d8c0815acaf1bc5995ebe56cea07471e5c9c7
tree84b3f817d53e4af02d3e6177dd57bd0a809cc5de
parentc327f8705ecb8753555822d479f899bd2234386d
Enhance the ObjC global method pool to record whether there were 0, 1, or >= 2 methods (with a particular selector) inside categories.

This is done by extending ObjCMethodList (which is only used by the global method pool) to have 2 extra bits of information.
We will later take advantage of this info in global method pool for the overridden methods calculation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179652 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ObjCMethodList.h
include/clang/Sema/Sema.h
lib/Sema/SemaCodeComplete.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderInternals.h
lib/Serialization/ASTWriter.cpp