diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-18 19:34:55 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-05-18 19:34:55 +0000 |
commit | f4f62003f452ff49894fc9fa44b93d7a1b1a8b19 (patch) | |
tree | dffe40a25585b81d2ae63318482b62ba632cfb65 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | af3b3256270ca41eb0ab5e8d0af1ba2e0d698689 (diff) | |
download | bcm5719-llvm-f4f62003f452ff49894fc9fa44b93d7a1b1a8b19.tar.gz bcm5719-llvm-f4f62003f452ff49894fc9fa44b93d7a1b1a8b19.zip |
When we enter a module within a linkage specification, switch the linkage
specification and the TU to the new module.
This is necessary to get the module ownership correct for entities that we
temporarily hang off the TranslationUnitDecl, such as template parameters and
function parameters.
llvm-svn: 303373
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions