[RFA 1/3] Initial support for variant parts

Tom Tromey tom@tromey.com
Thu Feb 22 16:07:00 GMT 2018


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> For people like me, a small comment explaining that signed discriminant
Joel> values are also handled despite the use of an unsigned type thanks to
Joel> proper sign extension might avoid some confusion. Would it be OK to
Joel> add something like this?

Sure, I put a comment in value_union_variant where the discriminant is
computed.

Tom



More information about the Gdb-patches mailing list