summaryrefslogtreecommitdiffstats
path: root/lldb/www/python-reference.html
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-08-05 23:24:47 +0000
committerRichard Trieu <rtrieu@google.com>2016-08-05 23:24:47 +0000
commit81b6c561eaeb2a48318523a037e6903d34f5fec3 (patch)
tree2573ed1a4e12c1561d4a9135555a2065ccbceddf /lldb/www/python-reference.html
parent9e91c28b7121f726b3ee62bd5d17abb9bfe6841a (diff)
downloadbcm5719-llvm-81b6c561eaeb2a48318523a037e6903d34f5fec3.tar.gz
bcm5719-llvm-81b6c561eaeb2a48318523a037e6903d34f5fec3.zip
Fix two false positives in -Wreturn-stack-address
If the return type is a pointer and the function returns the reference to a pointer, don't warn since only the value is returned, not the reference. If a reference function parameter appears in the reference chain, don't warn since binding happens at the caller scope, so addresses returned are not to local stack. This includes default arguments as well. llvm-svn: 277889
Diffstat (limited to 'lldb/www/python-reference.html')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud