[libcxx] r249475 - Remove unnecessary inline functions capturing the contents of C library macros.

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 15:31:33 PDT 2015



On 10/6/15 4:03 PM, Richard Smith via cfe-commits wrote:
> Author: rsmith
> Date: Tue Oct  6 17:03:22 2015
> New Revision: 249475
>
> URL: http://llvm.org/viewvc/llvm-project?rev=249475&view=rev
> Log:
> Remove unnecessary inline functions capturing the contents of C library macros.
>
> The C standard requires that these be provided as functions even if they're
> also provided as macros, and a strict reading of the C++ standard library rules
> suggests that (for instance) &::isdigit == &::std::isdigit, so these wrappers
> are technically non-conforming.

Mind adding testcases to reinforce those identities, quoting the 
relevant bit(s) of the standard?


Jon

>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded


More information about the cfe-commits mailing list