[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)
commit43f40103f045161e7de51d9fb20c3a7f623c7ff1
tree0c8282003c05d470a363c9da4c94420a40e30b70
parent00616f1039835c91a50d53df9ce4abc3ed17b3aa
[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.

llvm-svn: 222054
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaCXXScopeSpec.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/p1.cpp
clang/test/SemaCXX/cxx-deprecated.cpp [new file with mode: 0644]