]> granicus.if.org Git - clang/commit
Add an opt-in -Wheader-hygiene, which current diagnoses the use of
authorDouglas Gregor <dgregor@apple.com>
Fri, 18 Mar 2011 16:10:52 +0000 (16:10 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 18 Mar 2011 16:10:52 +0000 (16:10 +0000)
commitd6a49bb69fadcb04119433278c808797a87d2d31
tree100ca1919bac1d488b62bb25f1cd9d5ffd43960e
parent7693b1021862ea04f522cca9ca1df67bd1d2d54e
Add an opt-in -Wheader-hygiene, which current diagnoses the use of
global using directives in C++ headers, from Elliot Glaysher!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127881 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDeclCXX.cpp
test/SemaCXX/warn-using-namespace-in-header.cpp [new file with mode: 0644]
test/SemaCXX/warn-using-namespace-in-header.h [new file with mode: 0644]