Skip to content
Commit eea8ba09 authored by Richard Smith's avatar Richard Smith
Browse files

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.
parent ce12a523
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment