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 | bf3380a317ab09ae7f23c1bc17cb562f8175a986 (patch) | |
tree | 51a96da6e2c1611477fbce27f1285966d7972b90 /lib/Sema/SemaExpr.cpp | |
parent | 81c6477bcd39b6b1a0a7d9c38da5ab8cbb6ea565 (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139077 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions