[cfe-commits] [patch] _Bool in yvals.h
Steven Watanabe
watanabesj at gmail.com
Thu May 20 17:00:00 PDT 2010
AMDG
Douglas Gregor wrote:
> On May 20, 2010, at 10:25 AM, Steven Watanabe wrote:
>
>> The attached patch deals with the fact the yvals.h
>> in the standard library that ships with msvc contains
>> typedef bool _Bool;
>> However, i'd really prefer to disable the _Bool keyword
>> in Microsoft compatibility mode. Is there a good
>> way to do this?
>>
>
>
> It should be easy to do directly. Check check out include/clang/TokenKinds.def and its uses; the _Bool keyword could probably be tagged with some new flag (e.g., KEYNOMS) that enables it unless -fms-extensions is provided.
>
Okay. Is this better?
In Christ,
Steven Watanabe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _Bool.patch
Type: text/x-patch
Size: 1439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100520/af8f2cb2/attachment.bin>
More information about the cfe-commits
mailing list