| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Enabling the subject list for the warn_unused attribute, and adding a test ↵ | Aaron Ballman | 2013-11-27 | 1 | -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 Lunak | 2013-07-20 | 1 | -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 | |||||

