summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2019-03-29 18:47:07 +0000
committerVolodymyr Sapsai <vsapsai@apple.com>2019-03-29 18:47:07 +0000
commit9e911f3a6476e92f633436045528b1ac2e7d4161 (patch)
tree72ed466c4ea9d6148c737f6ca3d0467e2fceb02f /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent4ccb3b96b630b74ac016070b3d0da4b987ad9dc6 (diff)
downloadbcm5719-llvm-9e911f3a6476e92f633436045528b1ac2e7d4161.tar.gz
bcm5719-llvm-9e911f3a6476e92f633436045528b1ac2e7d4161.zip
[Sema] Fix assertion when `auto` parameter in lambda has an attribute.
Fixes the assertion > no Attr* for AttributedType* > UNREACHABLE executed at llvm-project/clang/lib/Sema/SemaType.cpp:298! In `TypeProcessingState::getAttributedType` we put into `AttrsForTypes` types with `auto` but later in `TypeProcessingState::takeAttrForAttributedType` we use transformed types and that's why cannot find `Attr` corresponding to `AttributedType`. Fix by keeping `AttrsForTypes` up to date after replacing `AutoType`. rdar://problem/47689465 Reviewers: rsmith, arphaman, aaron.ballman Reviewed By: aaron.ballman Subscribers: jkorous, dexonsmith, jdoerfert, cfe-commits Differential Revision: https://reviews.llvm.org/D58659 llvm-svn: 357298
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud