Commit Graph

2 Commits

Author SHA1 Message Date
Chuanqi Xu b76da14b3b [C++] [Modules] Generate the initializer for modules if we compile a
module unit directly

Previously we lack a test which ensures that the module unit will
generate initializer if it is compiled directly (instead of from a pcm
file). Now we add the test back.
2022-09-19 11:30:34 +08:00
Chuanqi Xu 298d08dfa5 [NFC] Move the position of CodeGen/module-initializer*.cpp
Previsouly the module-initializer*.cpp lives in the CodeGen dir instead
of CodeGenCXX dir, which is not consistency with other tests since
modules are features for C++.
2022-09-19 10:36:28 +08:00