Introduce a "Hidden" bit into Decl, to track whether that declaration
authorDouglas Gregor <dgregor@apple.com>
Fri, 6 Jan 2012 16:22:39 +0000 (16:22 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 6 Jan 2012 16:22:39 +0000 (16:22 +0000)
commit768e5b1e9a6726af2728b55f177acdd124bce0a8
tree28c2d99517de1e1cbd16bc9c28417f40abff4e2c
parentde95ead949726396f6e4ff17d3b88373124c23bc
Introduce a "Hidden" bit into Decl, to track whether that declaration
is hidden from name lookup. The previous hack of tweaking the
ModulePrivate bit when loading a declaration from a hidden submodule
was brittle.

Note that we now have 34 bits in Decl. I'll fix that next.

llvm-svn: 147658
clang/include/clang/AST/Decl.h
clang/include/clang/AST/DeclBase.h
clang/include/clang/Sema/Lookup.h
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTReaderDecl.cpp