r214119 - Change __INTx_TYPE__ to be always signed. This changes the value for

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jul 29 03:14:53 PDT 2014


On Mon, Jul 28, 2014 at 09:06:22PM -0000, Joerg Sonnenberger wrote:
> Author: joerg
> Date: Mon Jul 28 16:06:22 2014
> New Revision: 214119
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=214119&view=rev
> Log:
> Change __INTx_TYPE__ to be always signed. This changes the value for
> char-based types from "char" to "signed char". Adjust stdint.h to use
> __INTx_TYPE__ directly without prefixing it with signed and to use
> __UINTx_TYPE__ for unsigned ones.
> 
> The value of __INTx_TYPE__ now matches GCC.
> 
> Modified:
>     cfe/trunk/lib/Basic/TargetInfo.cpp
>     cfe/trunk/lib/Headers/stdint.h
>     cfe/trunk/test/Preprocessor/init.c
>     cfe/trunk/test/Preprocessor/stdint.c

Bill, please merge this into 3.5.

Joerg



More information about the cfe-commits mailing list