aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorDaniel Grumberg <dgrumberg@apple.com>2024-04-24 13:53:29 +0100
committerGitHub <noreply@github.com>2024-04-24 13:53:29 +0100
commit2bcbe40f8a1c6cc9a256711261d8aa8fde50f7b3 (patch)
tree20b6d18e90f5514502d98c84879182e8143d3973 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parentd3f6c2c5a76ed4eafd1ef76bd64cb01c8934c914 (diff)
downloadllvm-2bcbe40f8a1c6cc9a256711261d8aa8fde50f7b3.zip
llvm-2bcbe40f8a1c6cc9a256711261d8aa8fde50f7b3.tar.gz
llvm-2bcbe40f8a1c6cc9a256711261d8aa8fde50f7b3.tar.bz2
[clang][ExtractAPI] Fix handling of anonymous TagDecls (#87772)
This changes the handling of anonymous TagDecls to the following rules: - If the TagDecl is embedded in the declaration for some VarDecl (this is the only possibility for RecordDecls), then pretend the child decls belong to the VarDecl - If it's an EnumDecl proceed as we did previously, i.e., embed it in the enclosing DeclContext. Additionally this fixes a few issues with declaration fragments not consistently including "{ ... }" for anonymous TagDecls. To make testing these additions easier this patch fixes some text declaration fragments merging issues and updates tests accordingly. rdar://121436298
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
0 files changed, 0 insertions, 0 deletions