aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-05-06 17:32:39 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2023-05-10 17:41:58 +0800
commitb6c7177145bc439c712208bfbe041db212c5262d (patch)
tree27a7403f1ba2e30e6afa385fed048ed0ac22ee33 /lldb/source/Plugins/ScriptInterpreter/Python
parent7591a7b6ea5a36653c22fcec9aaf5c81ebab5bd1 (diff)
downloadllvm-b6c7177145bc439c712208bfbe041db212c5262d.zip
llvm-b6c7177145bc439c712208bfbe041db212c5262d.tar.gz
llvm-b6c7177145bc439c712208bfbe041db212c5262d.tar.bz2
[C++20] [Modules] Don't generate unused variables in other module units
even if its initializer has side effects Close https://github.com/llvm/llvm-project/issues/61892 The variables whose initializer has side effects will be emitted even if it is not used. But it shouldn't be true after we introduced modules. The variables in other modules shouldn't be emitted if it is not used even if its initializer has size effects. Also this patch rename `Decl::isInCurrentModuleUnit` to `Decl::isInAnotherModuleUnit` to make it closer to the semantics.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions