summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorMalcolm Parsons <malcolm.parsons@gmail.com>2017-12-11 18:00:36 +0000
committerMalcolm Parsons <malcolm.parsons@gmail.com>2017-12-11 18:00:36 +0000
commitd900a0c4e2ac0db549985b959d06b24cf81ca438 (patch)
treef0e19d451a3f34e47f893ed4b57e330298bf8dd2 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentdbe6c45fcd692e8511a4c72f8d93ca875f446f40 (diff)
downloadbcm5719-llvm-d900a0c4e2ac0db549985b959d06b24cf81ca438.tar.gz
bcm5719-llvm-d900a0c4e2ac0db549985b959d06b24cf81ca438.zip
[Sema] Fix crash in unused-lambda-capture warning for VLAs
Summary: Clang was crashing when diagnosing an unused-lambda-capture for a VLA because From.getVariable() is null for the capture of a VLA bound. Warning about the VLA bound capture is not helpful, so only warn for the VLA itself. Fixes: PR35555 Reviewers: aaron.ballman, dim, rsmith Reviewed By: aaron.ballman, dim Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D41016 llvm-svn: 320396
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud