aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2019-12-16 18:26:19 -0800
committerRichard Smith <richard@metafoo.co.uk>2019-12-16 18:33:35 -0800
commiteea8ba097c4a86632b88291bea51eb710f8ae4fb (patch)
treee13d3795d4009530dad4bfae7228b6c327097f11 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentce12a523b0e1a64cea63ba099642d7f3492a3791 (diff)
downloadllvm-eea8ba097c4a86632b88291bea51eb710f8ae4fb.zip
llvm-eea8ba097c4a86632b88291bea51eb710f8ae4fb.tar.gz
llvm-eea8ba097c4a86632b88291bea51eb710f8ae4fb.tar.bz2
Check whether the destination is a complete type in a static_cast (or
C-style cast) to an enumeration type. We previously forgot to check this, and happened to get away with it (with bad diagnostics) only because we misclassified incomplete enumeration types as not being unscoped enumeration types. This also fixes the misclassification.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions