diff options
author | keinflue <keinflue@posteo.de> | 2025-08-15 18:43:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-15 09:43:29 -0700 |
commit | af96ed6bf6e6a1ba0cbb36cb3925dd44f41c301e (patch) | |
tree | 251d7fcec66f92b357b47056bd33bdfafea28e42 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | |
parent | 2c20a9bfb3ce7a22b040b4a2694f19beeb616cd0 (diff) | |
download | llvm-af96ed6bf6e6a1ba0cbb36cb3925dd44f41c301e.zip llvm-af96ed6bf6e6a1ba0cbb36cb3925dd44f41c301e.tar.gz llvm-af96ed6bf6e6a1ba0cbb36cb3925dd44f41c301e.tar.bz2 |
[clang] Inject IndirectFieldDecl even if name conflicts. (#153140)
This modifies InjectAnonymousStructOrUnionMembers to inject an
IndirectFieldDecl and mark it invalid even if its name conflicts with
another name in the scope.
This resolves a crash on a further diagnostic
diag::err_multiple_mem_union_initialization which via
findDefaultInitializer relies on these declarations being present.
Fixes #149985
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions