Commit 744a968f authored by Timm Bäder's avatar Timm Bäder
Browse files

[clang][Interp] Fix return statements with expresssion in void functions

If the return type of a function is void, ReturnType is not set, but we
used to emit a RVOPtr instruction, which doesn't make sense for a
function returning void.

Differential Revision: https://reviews.llvm.org/D153649
parent e9eb8362
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment