aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2024-06-04 09:24:44 -0700
committerGitHub <noreply@github.com>2024-06-04 09:24:44 -0700
commit5ae5774fb0b5cac11af479b0905dfdd5255b4047 (patch)
tree8f7720d0a85d89ecf8aac72720875478fe827cff /clang/lib/Frontend/CompilerInvocation.cpp
parent8e94f0a0ad8817ba84474620426e28076e1c0024 (diff)
downloadllvm-5ae5774fb0b5cac11af479b0905dfdd5255b4047.zip
llvm-5ae5774fb0b5cac11af479b0905dfdd5255b4047.tar.gz
llvm-5ae5774fb0b5cac11af479b0905dfdd5255b4047.tar.bz2
[Sema] Fix handling of fields with initializers in nested anonymous unions. (#91692)
Make sure we count the anonymous union as an initialized field, so we properly construct the AST. Included bonus testcase Test3, which shows a remaining gap: an anonymous union can contain a partially initialized anonymous struct, and we handle that inconsistently. Fixes #91257
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions