]> granicus.if.org Git - clang/commit
Eliminate Sema::ObjCProtocols. Instead, we place ObjCProtocolDecls in
authorDouglas Gregor <dgregor@apple.com>
Thu, 23 Apr 2009 23:18:26 +0000 (23:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 23 Apr 2009 23:18:26 +0000 (23:18 +0000)
commit6e378de1aebdfeb44f2a7677ed207b32b3a41fbf
treeebe6d9f2667badf85db5bc196865c133be715138
parent99612939d02d99a6ef3ff037aa14c4277e9c43ce
Eliminate Sema::ObjCProtocols. Instead, we place ObjCProtocolDecls in
their own namespace (IDNS_Protocol) and use the normal name-lookup
routines to find them. Aside from the simplification this provides
(one less DenseMap!), it means that protocols will be lazily
deserialized from PCH files.

Make the code size of the selector table block match the code size of
the type and decl blocks.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69939 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/PCHWriter.cpp
lib/Sema/Sema.h
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaLookup.cpp