aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-03-03 10:31:48 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-03-03 10:31:48 +0800
commitbf52ead24ca4fe1b73bceec7bba3abfe15541649 (patch)
tree356336638558c02b5ad2f31be9060cd1642c2985 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent87cf39aa349b83ae3b7d16c30ac7a8ffa0ad098c (diff)
downloadllvm-bf52ead24ca4fe1b73bceec7bba3abfe15541649.zip
llvm-bf52ead24ca4fe1b73bceec7bba3abfe15541649.tar.gz
llvm-bf52ead24ca4fe1b73bceec7bba3abfe15541649.tar.bz2
[C++20] [Modules] Support to export declarations in language linkage
Close https://github.com/llvm/llvm-project/issues/60405 See the discussion in the above link for the background. What the patch does: - Rename `Module::ModuleKind::GlobalModuleFragment` to `Module::ModuleKind::ExplicitGlobalModuleFragment`. - Add another module kind `ImplicitGlobalModuleFragment` to `ModuleKind`. - Create an implicit global module fragment for the language linkage declarations inside a module purview. - If the language linkage lives inside the scope of an export decl, the created modules is marked as exported to outer modules. - In fact, Sema will only create at most 2 implicit global module fragments to avoid creating a lot of unnecessary modules in the edging case. Reviewed By: iains Differential Revision: https://reviews.llvm.org/D144367
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions