aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SmallPtrSet.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
commit49f906a36fdad83a9935d6f1815d620a7d0bf57a (patch)
tree8cd2c4e93b4c73e04c2af692c044eadb55c809ca /llvm/lib/Support/SmallPtrSet.cpp
parent49133948a96617a67631c59d3158a8aa3463136c (diff)
downloadllvm-49f906a36fdad83a9935d6f1815d620a7d0bf57a.zip
llvm-49f906a36fdad83a9935d6f1815d620a7d0bf57a.tar.gz
llvm-49f906a36fdad83a9935d6f1815d620a7d0bf57a.tar.bz2
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). llvm-svn: 202560
Diffstat (limited to 'llvm/lib/Support/SmallPtrSet.cpp')
0 files changed, 0 insertions, 0 deletions