[cfe-dev] is BoolWidth = 1 allowed?

Eli Friedman eli.friedman at gmail.com
Fri Apr 20 11:50:08 PDT 2012

On Fri, Apr 20, 2012 at 4:32 AM, Jochen Wilhelmy
<jochen.wilhelmy at googlemail.com> wrote:
> Hi!
> Is it allowed to set BoolWidth = 1 in the TargetInfo of clang?
> I'd like to have the output using i1 for bool all the time.

sizeof(bool) must be at least 1, so assuming a usual target, BoolWidth
must be at least 8.


More information about the cfe-dev mailing list