Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1 |
|
#
a3e01cf8 |
| 15-Nov-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR8455: Handle an attribute between a goto label and a variable declaration per the GNU documentation: the attribute only appertains to the label if it is followed by a semicolon. Based on a patch by
PR8455: Handle an attribute between a goto label and a variable declaration per the GNU documentation: the attribute only appertains to the label if it is followed by a semicolon. Based on a patch by Aaron Ballman!
llvm-svn: 194869
show more ...
|
Revision tags: llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1 |
|
#
e1368a10 |
| 10-Apr-2013 |
Matt Beaumont-Gay <matthewbg@google.com> |
Suppress -Wunused-variable for variables declared in headers, which may in fact be defined and used in another TU.
Reshuffle some test cases because we suppress -Wunused-variable after we've emitted
Suppress -Wunused-variable for variables declared in headers, which may in fact be defined and used in another TU.
Reshuffle some test cases because we suppress -Wunused-variable after we've emitted an error.
This fixes PR15558.
llvm-svn: 179138
show more ...
|
Revision tags: llvmorg-3.2.0, llvmorg-3.2.0-rc3, llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1 |
|
#
a9d4a936 |
| 24-Oct-2012 |
David Blaikie <dblaikie@gmail.com> |
Fix false positive in -Wunused-variable when a ctor call make involve cleanups.
llvm-svn: 166625
|
#
eae04111 |
| 10-Oct-2012 |
David Blaikie <dblaikie@gmail.com> |
Fix a crash-on-invalid when parsing a reference to an invalid auto declaration
auto x((unknown)); int& y = x;
would crash because we were not flagging 'x' as an invalid declaration here.
llvm-
Fix a crash-on-invalid when parsing a reference to an invalid auto declaration
auto x((unknown)); int& y = x;
would crash because we were not flagging 'x' as an invalid declaration here.
llvm-svn: 165675
show more ...
|
Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1 |
|
#
7c23b089 |
| 06-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Improvements to the uninitialized variable warning: Check if the constructor call is elidable or if the constructor is trivial instead of checking if it is user declared.
llvm-svn: 147652
|
Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1 |
|
#
2602a683 |
| 21-Jun-2011 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix PR10168: don't warn for unused non-dependent variables in both the template definition and each instantiation.
llvm-svn: 133580
|
Revision tags: llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
d05b352b |
| 21-Feb-2011 |
Chandler Carruth <chandlerc@gmail.com> |
Clean up the tests for warning about unused function results given the appropriate attribute. Add a bit more testing that finds a pretty bad regression (since ~forever) in this warning. Fix it with a
Clean up the tests for warning about unused function results given the appropriate attribute. Add a bit more testing that finds a pretty bad regression (since ~forever) in this warning. Fix it with a nice 2 line change. =]
llvm-svn: 126098
show more ...
|
#
ba571546 |
| 09-Nov-2010 |
Douglas Gregor <dgregor@apple.com> |
Make #pragma unused work for static local variables.
llvm-svn: 118500
|
Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2 |
|
#
40cec832 |
| 19-Sep-2010 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Revert r114316, -Wunused-value enabled by default was intended.
llvm-svn: 114318
|
#
3698bf1c |
| 19-Sep-2010 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.
llvm-svn: 114316
|
Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
747eb784 |
| 08-Jul-2010 |
Douglas Gregor <dgregor@apple.com> |
Reinstate the fix for PR7556. A silly use of isTrivial() was suppressing copies of objects with trivial copy constructors.
llvm-svn: 107857
|
#
e182370e |
| 07-Jul-2010 |
Douglas Gregor <dgregor@apple.com> |
Revert r107828 and r107827, the fix for PR7556, which seems to be breaking bootstrap on Linux.
llvm-svn: 107837
|
#
442612c2 |
| 07-Jul-2010 |
Douglas Gregor <dgregor@apple.com> |
Do not use CXXZeroValueInitExpr for class types. Instead, use CXXConstructExpr/CXXTemporaryObjectExpr/CXXNewExpr as appropriate. Fixes PR7556, and provides a slide codegen improvement when copy-initi
Do not use CXXZeroValueInitExpr for class types. Instead, use CXXConstructExpr/CXXTemporaryObjectExpr/CXXNewExpr as appropriate. Fixes PR7556, and provides a slide codegen improvement when copy-initializing a POD class type from a value-initialized temporary. Previously, we weren't eliding the copy.
llvm-svn: 107827
show more ...
|
#
19defcd6 |
| 27-Apr-2010 |
Douglas Gregor <dgregor@apple.com> |
Don't look into incomplete types when trying to warn about unused variables. Fixes PR6948.
llvm-svn: 102436
|
Revision tags: llvmorg-2.7.0 |
|
#
50dc219e |
| 11-Feb-2010 |
Douglas Gregor <dgregor@apple.com> |
When we have a dependent direct initializer but not a dependent variable type, we can (and should) still check for completeness of the variable's type. Do so, to work around an assertion that shows u
When we have a dependent direct initializer but not a dependent variable type, we can (and should) still check for completeness of the variable's type. Do so, to work around an assertion that shows up in Boost's shared_ptr.
llvm-svn: 95934
show more ...
|
#
c095b536 |
| 24-Dec-2009 |
Nuno Lopes <nunoplopes@sapo.pt> |
support the warn_unused_result in C++ class methods
llvm-svn: 92095
|
#
5618e98f |
| 15-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update tests to use %clang instead of 'clang', and forcibly disable use of ' clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage).
llvm-svn: 91460
|
#
6aa50390 |
| 17-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Fix PR5531.
llvm-svn: 89106
|
#
d3569efb |
| 07-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Add bug number.
llvm-svn: 86357
|
#
f5dc6fa2 |
| 07-Nov-2009 |
Anders Carlsson <andersca@mac.com> |
Don't treat variables with non-trivial ctors or dtors as unused. Fixes PR5407.
llvm-svn: 86352
|
Revision tags: llvmorg-2.6.0 |
|
#
3beaf9bb |
| 08-Oct-2009 |
Douglas Gregor <dgregor@apple.com> |
Implement support for -Wunused-variable, from Oscar Bonilla!
llvm-svn: 83577
|