summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2018-01-04 02:17:40 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2018-01-04 02:17:40 +0000
commitb6ec4a33fb2b6e9ea9bb5ace211504113fbe64a1 (patch)
treeba6f9d5c770113b4aaeca3eba333ea6f763c7e60 /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py
parenta3ce1fdababaa507313477379d45a40b81d92f55 (diff)
downloadbcm5719-llvm-b6ec4a33fb2b6e9ea9bb5ace211504113fbe64a1.tar.gz
bcm5719-llvm-b6ec4a33fb2b6e9ea9bb5ace211504113fbe64a1.zip
[Modules] Allow modules specified by -fmodule-map-file to shadow implicitly found ones
When modules come from module map files explicitly specified by -fmodule-map-file= arguments, allow those to override/shadow modules with the same name that are found implicitly by header search. If such a module is looked up by name (e.g. @import), we will always find the one from -fmodule-map-file. If we try to use a shadowed module by including one of its headers report an error. This enables developers to force use of a specific copy of their module to be used if there are multiple copies that would otherwise be visible, for example if they develop modules that are installed in the default search paths. Patch originally by Ben Langmuir, http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20151116/143425.html Based on cfe-dev discussion: http://lists.llvm.org/pipermail/cfe-dev/2015-November/046164.html Differential Revision: https://reviews.llvm.org/D31269 rdar://problem/23612102 llvm-svn: 321781
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud