aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-03-14 04:47:43 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-03-14 04:47:43 +0000
commit0d745bcf660e205d427fdfb88a8f60bc9685dbe8 (patch)
tree8236334f60261cfda79bb1cfc601d2796a2ac1f6 /lldb/scripts/Python/python-wrapper.swig
parent2c04f79b018c20b149c93d58a9926dc1a9ead692 (diff)
downloadllvm-0d745bcf660e205d427fdfb88a8f60bc9685dbe8.zip
llvm-0d745bcf660e205d427fdfb88a8f60bc9685dbe8.tar.gz
llvm-0d745bcf660e205d427fdfb88a8f60bc9685dbe8.tar.bz2
[modules] Teach the AST reader to handle the case of importing a module
with a subset of the existing target CPU features or mismatched CPU names. While we can't check that the CPU name used to build the module will end up being able to codegen correctly for the translation unit, we actually check that the imported features are a subset of the existing features. While here, rewrite the code to use std::set_difference and have it diagnose all of the differences found. Test case added which walks the set relationships and ensures we diagnose all the right cases and accept the others. No functional change for implicit modules here, just better diagnostics. llvm-svn: 232248
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions