summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-unused-attribute.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Enabling the subject list for the warn_unused attribute, and adding a test ↵Aaron Ballman2013-11-271-14/+14
| | | | | | case. Previously, would issue a "warning ignored" diagnostic instead of the more specific "only applies to." llvm-svn: 195851
* add type attribute warn_unused, for -Wunused-variable warnings (pr#14253)Lubos Lunak2013-07-201-0/+20
The functionality is equivalent to the GCC attribute. Variables of tagged types will be warned about as unused if they are not used in any way except for possible (even non-trivial) ctors/dtors called. Useful for tagging classes like std::string (which is not part of this commit). llvm-svn: 186765
OpenPOWER on IntegriCloud