[cfe-commits] [PATCH] Fix getcontext builtin

Dimitry Andric dimitry at andric.com
Sat Nov 12 06:36:07 PST 2011


On 2011-11-11 19:21, Rafael EspĂ­ndola wrote:
...
> I am getting the following failures with you patch in "make check-all":
> 
>     Clang :: Misc/warning-flags.c
>     Clang :: PCH/selector-warning.m

The first one had to be fixed by adding a new -Wbuiltin-requires-header
option, and that fix also removes two warnings from warning-flags.c.  If
you think there should be separate -W flags for each of the possible
headers, let me know.

The second one was because I moved SPECIAL_TYPE_UCONTEXT_T to the bottom
of the SpecialTypeIDs enumerator, but did not move it accordingly in
ASTWriter::WriteASTCore().

I've also uppercased the SPECIAL_TYPE_UCONTEXT_T enumeration value now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-getcontext-builtin-3.diff
Type: text/x-diff
Size: 10566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111112/cbb33320/attachment.diff>


More information about the cfe-commits mailing list