aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorAndy Kaylor <akaylor@nvidia.com>2025-08-27 12:54:07 -0700
committerGitHub <noreply@github.com>2025-08-27 12:54:07 -0700
commitab6ff0e432621b9bd8154e3b293908ff3fa93041 (patch)
tree57eb7d1faf45034893c0141a5239e15252eef233 /clang/lib/CodeGen/CodeGenModule.h
parentde6f7504c83d8a61e78372ea4da92414f95efa8f (diff)
downloadllvm-ab6ff0e432621b9bd8154e3b293908ff3fa93041.zip
llvm-ab6ff0e432621b9bd8154e3b293908ff3fa93041.tar.gz
llvm-ab6ff0e432621b9bd8154e3b293908ff3fa93041.tar.bz2
[CIR][NFC] Add errors for unhandled AggExprEmitter visitors (#155469)
There are a lot of required handlers in AggExprEmitter that are currently missing. Because the ASTVisitor has fallbacks, this means we just silently ignore whatever expressions are not explicitly handled. This patch adds handlers where we know they will be needed and just issues a diagnostic. This exposed failures in a few tests. In one case, we should have handled constant initialization earlier, which would have avoided going to the AggExprEmitter at all. I added a stub with a missing feature marker to allow that case to work as it had. Another test required us to ignore cast expressions that should be ignored, so I partially implemented the cast visitor. Finally, there's a case where the test was just accepting a bad result. I changed that case to XFAIL until it can be properly fixed.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions