aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2025-06-30 10:25:00 -0700
committerGitHub <noreply@github.com>2025-06-30 10:25:00 -0700
commit407542b3ecbee9a5cff0a9dd2019d5dfeb783360 (patch)
tree2886f1eac7f5e191eca4c52cf8627d2e88641eb9 /clang/lib/AST/ByteCode/Compiler.cpp
parentf3d57590bfae6a9f456f3f13ef0f78ac535f2529 (diff)
downloadllvm-407542b3ecbee9a5cff0a9dd2019d5dfeb783360.zip
llvm-407542b3ecbee9a5cff0a9dd2019d5dfeb783360.tar.gz
llvm-407542b3ecbee9a5cff0a9dd2019d5dfeb783360.tar.bz2
[flang] Process pointer component default initializers sooner (#145601)
Name resolution defers the analysis of all object pointer initializers to the end of a specification part, including the default initializers of derived type data pointer components. This deferment allows object pointer initializers to contain forward references to objects whose declarations appear later. However, this deferment has the unfortunate effect of causing NULL default initialization of such object pointer components when they do not appear in structure constructors that are used as default initializers, and their default initializers are required. So handle object pointer default initializers of components as they appear, as before.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions