| commit | d551d4e1dae50b4d8a613d62afdafba3ecbd8cc8 | [log] [tgz] |
|---|---|---|
| author | Chandler Carruth <chandlerc@gmail.com> | Sat Sep 03 02:21:57 2011 +0000 |
| committer | Chandler Carruth <chandlerc@gmail.com> | Sat Sep 03 02:21:57 2011 +0000 |
| tree | 2ee1b12bf9af3d4531ea76b898ee5776f9cd0cd2 | |
| parent | 7c1d6358a2f2eac2a5e73580fe63cf3c879d9273 [diff] |
Teach -Wdangling-field to warn about temporaries bound to references as well. Also, clean up the flow of the code a bit, and factor things more nicely. Finally, add the test case that was missing from my previous commit (sorry), with new tests added to cover temporaries and other fun cases. llvm-svn: 139077