Allow C style casts of enums to be printed correctly when the incoming PrintingPolicy suppresses tags. This can happen, when casts to enums occur during the initialization of an anonymous struct. Given the code:
enum Foo { FOO = 0 }; struct { enum Foo foo; } anon = {(enum Foo)0};
The type of the enum is suppressed when printing the initializer, so the cast is printed as:
} anon = {()0};
With the patch, the initialization is printed as:
} anon = {(enum Foo)0};