summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-03-01 00:08:04 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-03-01 00:08:04 +0000
commit03f900e747de348aff3becfa6155ed703331f735 (patch)
tree25976266155d2f7338aa5057c9ec7c0a4cd90f77 /lib/Serialization/ModuleManager.cpp
parentfc0df2a8797905b5843da5cdd3911ee0abc64530 (diff)
downloadclang-03f900e747de348aff3becfa6155ed703331f735.tar.gz
clang-03f900e747de348aff3becfa6155ed703331f735.tar.bz2
clang-03f900e747de348aff3becfa6155ed703331f735.tar.xz
If a module A exports a macro M, and a module B imports that macro and #undef's
it, importers of B should not see the macro. This is complicated by the fact that A's macro could also be visible through a different path. The rules (as hashed out on cfe-commits) are included as a documentation update in this change. With this, the number of regressions in libc++'s testsuite when modules are enabled drops from 47 to 7. Those remaining 7 are also macro-related, and are due to remaining bugs in this change (in particular, the handling of submodules is imperfect). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions