Stash Decl's TopLevelDeclInObjCContainer and ModulePrivate bits
authorDouglas Gregor <dgregor@apple.com>
Fri, 6 Jan 2012 16:59:53 +0000 (16:59 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 6 Jan 2012 16:59:53 +0000 (16:59 +0000)
commit781f713deb542cd35080233ac6d3e86a28969788
tree9952b0a56523bc480f67a874518a2eea6aca5266
parenta8105bc9cecb5936a4674f68ebf0e50669f41e0d
Stash Decl's TopLevelDeclInObjCContainer and ModulePrivate bits
into the two unused lower bits of the NextDeclInContext link, dropping
the number of bits in Decl down to 32, and saving 8 bytes per
declaration on x86-64.

llvm-svn: 147660
clang/include/clang/AST/Decl.h
clang/include/clang/AST/DeclBase.h
clang/lib/AST/DeclBase.cpp
clang/lib/Serialization/ASTReaderDecl.cpp
clang/lib/Serialization/ASTWriterDecl.cpp