aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorOliver Hunt <oliver@apple.com>2025-04-20 14:16:51 -0700
committerGitHub <noreply@github.com>2025-04-20 14:16:51 -0700
commit3ac1aa4c88d4fe40166209cad616f4ae867c20a2 (patch)
tree3475d8e06c196ac877a3a2ddf3b8598279a8b0cb /llvm/lib/CodeGen/MachineInstr.cpp
parent842e5915778a820c63cf38b75bec932a6ea8c18b (diff)
downloadllvm-3ac1aa4c88d4fe40166209cad616f4ae867c20a2.zip
llvm-3ac1aa4c88d4fe40166209cad616f4ae867c20a2.tar.gz
llvm-3ac1aa4c88d4fe40166209cad616f4ae867c20a2.tar.bz2
[Clang] Consider preferred_type in bitfield warnings (#116760) (#116785)
Very simply extends the bitfield sema checks for assignment to fields with a preferred type specified to consider the preferred type if the decl storage type is not explicitly an enum type. This does mean that if the preferred and explicit types have different storage requirements we may not warn in all possible cases, but that's a scenario for which the warnings are much more complex and confusing.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions