aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2020-03-21 13:48:35 +0100
committerHaojian Wu <hokein.wu@gmail.com>2020-03-24 15:17:04 +0100
commit386f95e168b09603595864a5956624792ccb59c4 (patch)
treebff91277d244295390dd44b313ac9121aba2e75a /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parentce36c5ab643a5ced7da2034288bbfbdd7193058b (diff)
downloadllvm-386f95e168b09603595864a5956624792ccb59c4.zip
llvm-386f95e168b09603595864a5956624792ccb59c4.tar.gz
llvm-386f95e168b09603595864a5956624792ccb59c4.tar.bz2
[Parser] Fix the assertion crash in ActOnStartOfSwitch stmt.
Summary: After we parse the switch condition, we don't do the type check for type-dependent expr (e.g. TypoExpr) (in Sema::CheckSwitchCondition), then the TypoExpr is corrected to an invalid-type expr (in Sema::MakeFullExpr) and passed to the ActOnStartOfSwitchStmt, which triggers the assertion. Fix https://github.com/clangd/clangd/issues/311 Reviewers: sammccall Subscribers: ilya-biryukov, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D76592
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions