Skip to content
Commit d551d4e1 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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
parent 7c1d6358
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment