aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorShafik Yaghmour <shafik.yaghmour@intel.com>2024-01-29 10:08:09 -0800
committerGitHub <noreply@github.com>2024-01-29 10:08:09 -0800
commit7b0396faabce0cec470779ae5e3a851bedb2ac12 (patch)
tree7a101a0cfd5cd7f8c004565da8a68b718c89e9ee /lldb/source/Plugins/ScriptInterpreter/Python
parent20737825c9122b6e0a8912731cfa7e0558fe025d (diff)
downloadllvm-7b0396faabce0cec470779ae5e3a851bedb2ac12.zip
llvm-7b0396faabce0cec470779ae5e3a851bedb2ac12.tar.gz
llvm-7b0396faabce0cec470779ae5e3a851bedb2ac12.tar.bz2
[Clang][Sema] Fix crash when type used in return statement contains errors (#79788)
In Sema in `BuildReturnStmt(...)` when we try to determine is the type is move eligible or copy elidable we don't currently check of the init of the `VarDecl` contain errors or not. This can lead to a crash since we may send a type that is not complete into `getTypeInfo(...)` which does not allow this. This fixes: https://github.com/llvm/llvm-project/issues/63244 https://github.com/llvm/llvm-project/issues/79745
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions