]> granicus.if.org Git - clang/commit
Enabling the subject list for the warn_unused attribute, and adding a test case....
authorAaron Ballman <aaron@aaronballman.com>
Wed, 27 Nov 2013 16:59:17 +0000 (16:59 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 27 Nov 2013 16:59:17 +0000 (16:59 +0000)
commit74e3700e2abd57226c74b27b194810c515538674
treea5c20263f9ba825a63f367bafe97e6b4280693bf
parentcab9f092e29749369852634f50a06adbf1c68398
Enabling the subject list for the warn_unused attribute, and adding a test case. Previously, would issue a "warning ignored" diagnostic instead of the more specific "only applies to."

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195851 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/Sema/SemaDeclAttr.cpp
test/SemaCXX/warn-unused-attribute.cpp