diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-09-03 02:21:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-09-03 02:21:57 +0000 |
commit | d551d4e1dae50b4d8a613d62afdafba3ecbd8cc8 (patch) | |
tree | 2ee1b12bf9af3d4531ea76b898ee5776f9cd0cd2 /clang/lib/Parse/Parser.cpp | |
parent | 7c1d6358a2f2eac2a5e73580fe63cf3c879d9273 (diff) | |
download | bcm5719-llvm-d551d4e1dae50b4d8a613d62afdafba3ecbd8cc8.tar.gz bcm5719-llvm-d551d4e1dae50b4d8a613d62afdafba3ecbd8cc8.zip |
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
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
0 files changed, 0 insertions, 0 deletions