]> granicus.if.org Git - clang/commit
Implement name hiding for macro definitions within modules, such that
authorDouglas Gregor <dgregor@apple.com>
Fri, 2 Dec 2011 15:45:10 +0000 (15:45 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 2 Dec 2011 15:45:10 +0000 (15:45 +0000)
commit1329264ce0922b3cec8c8c599108f082105fa0e1
tree29b1ca49f1e35ccc8aced306a5820a4ea4584fac
parentbff22ac1f8b78e4c19d5c3e00226ecea3b24e60f
Implement name hiding for macro definitions within modules, such that
only the macro definitions from visible (sub)modules will actually be
visible. This provides the same behavior for macros that r145640
provided for declarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145683 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/Inputs/submodules/hash_map.h
test/Modules/Inputs/submodules/type_traits.h
test/Modules/Inputs/submodules/vector.h
test/Modules/submodules-preprocess.cpp