diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-30 22:05:38 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-01-30 22:05:38 +0000 |
| commit | e3732a5c428d5fb757a3ae6282d1cb4573f47c82 (patch) | |
| tree | 8ce2ebaf94d22cd249e0f1d19d36e63f65fc0462 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | faa90eaedd9b4fdf2ad5351efcd553d6b820693a (diff) | |
| download | clang-e3732a5c428d5fb757a3ae6282d1cb4573f47c82.tar.gz clang-e3732a5c428d5fb757a3ae6282d1cb4573f47c82.tar.bz2 clang-e3732a5c428d5fb757a3ae6282d1cb4573f47c82.tar.xz | |
Don't produce a 'returning reference to local' warning if a lambda returns a
reference (or pointer) to a variable from the closure object or from the
surrounding function scope.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
