]> granicus.if.org Git - clang/commit
[c++1z] Support [[deprecated]] attributes on namespaces. Note that it only applies...
authorAaron Ballman <aaron@aaronballman.com>
Fri, 14 Nov 2014 22:34:56 +0000 (22:34 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Fri, 14 Nov 2014 22:34:56 +0000 (22:34 +0000)
commit00dccd63cd9db239052a06b113eb28c9b66144fc
treee84fa7df43d40c96bb885c8c2d6b89c7d2fc3f94
parent769c06275fe928e97a21c32cf2edc60bb7a0d16d
[c++1z] Support [[deprecated]] attributes on namespaces. Note that it only applies to situations where the namespace is mentioned. Thus, use on anonymous namespaces is diagnosed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222054 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaCXXScopeSpec.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/p1.cpp
test/SemaCXX/cxx-deprecated.cpp [new file with mode: 0644]