[cfe-commits] [libcxx] r124293 - /libcxx/trunk/include/__config

Sean Hunt scshunt at csclub.uwaterloo.ca
Wed Jan 26 08:51:01 PST 2011


On 11-01-26 10:39 AM, Douglas Gregor wrote:
> Author: dgregor
> Date: Wed Jan 26 09:39:56 2011
> New Revision: 124293
>
> URL: http://llvm.org/viewvc/llvm-project?rev=124293&view=rev
> Log:
> Inline namespaces are always available in Clang. Rely on that without
> testing via __has_feature, since __has_feature for C++0x features no
> longer evaluates true in C++98/03 mode.
>
> Also, eliminate the redundant using directive. Inline namespaces make
> their members visible in the enclosing namespace automatically.

I think if we always provide inline namespaces, their __has_feature 
should be true irrespective of C++0x mode.

Sean




More information about the cfe-commits mailing list