]> granicus.if.org Git - clang/commit
Re-enabled support for the Subjects for the weak attribute. This changes the diagnost...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 2 Dec 2013 17:07:07 +0000 (17:07 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 2 Dec 2013 17:07:07 +0000 (17:07 +0000)
commit8443a448fcfe0e03e237274e222a9fc479b1c1e3
tree4d3d6aedf852184d5e6dbaa529eb6c5495fc66fb
parentbf32c5e4f89f1cccb45c1af6edbc27eb352f54c9
Re-enabled support for the Subjects for the weak attribute. This changes the diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196120 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/AttributeList.h
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/attr-weak.cpp
utils/TableGen/ClangAttrEmitter.cpp