Files
clang-p2996/clang/docs
Chuanqi Xu 08f957808e [C++20] [Modules] Don't generate global ctors/dtors for variables which are available externally
Closes https://github.com/llvm/llvm-project/issues/59765.

Currently we will generate the global ctor/dtor for variables in
importing modules. It will cause multiple initialization/destructions.
It makes no sense. This patch tries to not generate global ctor/dtor for
variables which are available externally. Note that the variables in
header units and clang modules won't be available externally by default.

Reviewed By: iains

Differential Revision: https://reviews.llvm.org/D140867
2023-01-09 10:48:43 +08:00
..
2022-12-23 11:34:50 +00:00
2022-11-30 07:52:59 -05:00
2021-02-01 16:43:21 +05:30
2022-09-06 09:52:22 -04:00
2022-11-30 09:37:49 -05:00
2022-08-24 22:41:38 +00:00
2022-06-26 19:22:52 +05:30
2021-02-01 16:43:21 +05:30
2012-12-12 23:02:30 +00:00
2015-06-27 19:04:55 +00:00
2010-05-07 00:42:33 +00:00
2010-05-07 00:42:33 +00:00
2022-09-16 07:19:30 -04:00