]> granicus.if.org Git - clang/commit
Allow a using directive to refer to the implicitly-defined namespace
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 17:53:46 +0000 (17:53 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Jun 2010 17:53:46 +0000 (17:53 +0000)
commit6699220f73f11e471b5e5aa42eaf064afeaa079e
tree6663c5dc426db19b2be9abbc586ad8799806c94a
parent6623584c0ec508110d75572eef092bf98fedf3f4
Allow a using directive to refer to the implicitly-defined namespace
"std", with a warning, to improve GCC compatibility. Fixes PR7517.

As a drive-by, add typo correction for using directives.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107172 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/Sema.h
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExprCXX.cpp
test/FixIt/typo.cpp
test/SemaCXX/using-directive.cpp