aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-02-07 08:44:50 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-02-14 10:43:49 -0800
commitc4f67ea12e95449c975c8bec43d2330b2a6ad8a8 (patch)
treecd64560e78b8d73b7a9be6d46a70c259f24b9bf9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent34a62f96d1ef092bbdcde0c6734e4edc0a502dba (diff)
downloadllvm-c4f67ea12e95449c975c8bec43d2330b2a6ad8a8.zip
llvm-c4f67ea12e95449c975c8bec43d2330b2a6ad8a8.tar.gz
llvm-c4f67ea12e95449c975c8bec43d2330b2a6ad8a8.tar.bz2
[flang] Allow DATA initialization of derived types w/ allocatable components
While one cannot of course statically initialize an allocatable component of an instance of a derived type, its mere presence should not prevent DATA initialization of the other nonallocatable components. Semantics was treating the existence of an allocatable component as a case of "default initialization", which it is, but not one that should run afoul of C877. Add another Boolean argument to IsInitialized() to allow for a more nuanced test. Differential Revision: https://reviews.llvm.org/D119449
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions