aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2015-11-15 03:07:17 +0000
committerDevin Coughlin <dcoughlin@apple.com>2015-11-15 03:07:17 +0000
commite69b043088388837a744a2463902b39b320a4d2f (patch)
treebeaea6c18b8df3bd367c3c2a94b7362e2d494657 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent7f77eb90a54c96168d6cce8ad3a85d1454cdb80c (diff)
downloadllvm-e69b043088388837a744a2463902b39b320a4d2f.zip
llvm-e69b043088388837a744a2463902b39b320a4d2f.tar.gz
llvm-e69b043088388837a744a2463902b39b320a4d2f.tar.bz2
[analyzer] Refer to capture field to determine if capture is reference.
The analyzer incorrectly treats captures as references if either the original captured variable is a reference or the variable is captured by reference. This causes the analyzer to crash when capturing a reference type by copy (PR24914). Fix this by refering solely to the capture field to determine when a DeclRefExpr for a lambda capture should be treated as a reference type. https://llvm.org/bugs/show_bug.cgi?id=24914 rdar://problem/23524412 llvm-svn: 253157
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions