]> granicus.if.org Git - clang/commit
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)
commitf143ffc4a9af79ac1d822fea6995af4bf45d17dc
treee13a13ef1f74e1e7da700f201c544eab49f0cde6
parent9b8b20f7a4e2d2557fc49149ebd0df7a7b2c57dd
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147658 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/DeclBase.h
include/clang/Sema/Lookup.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp