[cfe-commits] [PATCH] fix for PR8089 - clang crashes.

Douglas Gregor dgregor at apple.com
Sat Sep 11 20:41:37 PDT 2010

On Sep 6, 2010, at 1:13 PM, Francois Pichet wrote:

> Hi
> This is a fix for PR8089 I raised yesterday. clang was crashing on:
> enum E;
> int a = (E) a;

Thanks; I went a slightly different way with this fix (in r113711), by pushing the complete-type check into IsIntegralPromotion, since there are other IsIntegralPromotion callers that may end up with incomplete enumeration types.

	- Doug

More information about the cfe-commits mailing list