[all-commits] [llvm/llvm-project] 3e20f9: [flang] Perform default value initialization on ab...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Fri Feb 24 00:22:46 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e20f9aa1409170fac07ba160a2d7802a468476d
https://github.com/llvm/llvm-project/commit/3e20f9aa1409170fac07ba160a2d7802a468476d
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-02-24 (Fri, 24 Feb 2023)
Changed paths:
M flang/lib/Semantics/runtime-type-info.cpp
Log Message:
-----------
[flang] Perform default value initialization on abstract type if needed
Abstract derived-type components can have default value so perform
the default value initialization if necessary.
```
type, abstract :: a
integer :: b = 10
end type
type, extends(a) :: b
integer :: d
end type
```
Reviewed By: klausler
Differential Revision: https://reviews.llvm.org/D144668
More information about the All-commits
mailing list