[cfe-dev] Interest in a -Wusing-namespace-in-headers?
Elliot Glaysher (Chromium)
erg at chromium.org
Wed Mar 16 20:12:01 CDT 2011
Attached is a new version, using Douglas's suggestion for a
-Wheader-hygiene flag, as I intend to add the anonymous namespace
On Wed, Mar 16, 2011 at 4:51 PM, Daniel James <dnljms at gmail.com> wrote:
> But it doesn't really matter where it is or isn't used. What matters
> is that a properly scoped import is usually safe, and warning about
> one would be counter productive.
This version only warns in the global context and not warning when a
using declarative is done inside a namespace is covered by the tests.
-- Elliot Glaysher
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3711 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/cfe-dev/attachments/20110316/9a59be50/attachment-0001.bin
More information about the cfe-dev