[flang-commits] [flang] [flang][lowering] Implement component-wise initialization for derived types (PR #187465)

via flang-commits flang-commits at lists.llvm.org
Mon Mar 23 04:16:02 PDT 2026


================
@@ -812,6 +819,244 @@ mustBeDefaultInitializedAtRuntime(const Fortran::lower::pft::Variable &var) {
   return Fortran::lower::hasDefaultInitialization(sym);
 }
 
+namespace {
----------------
jeanPerier wrote:

Only local class should be placed inside unamed namespace. There is no need to add one.

https://github.com/llvm/llvm-project/pull/187465


More information about the flang-commits mailing list