diff options
author | Sam Estep <sam@samestep.com> | 2022-06-24 14:37:59 +0000 |
---|---|---|
committer | Sam Estep <sam@samestep.com> | 2022-06-24 14:38:00 +0000 |
commit | 8c278a27811ccf9d7a32c0a460b08069c4b3b7b5 (patch) | |
tree | 14ab51a2a02378f2b7603c50de93d7a04161cdff /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | f6c79c6ae49f3a642bebe32a2346186c38bb83d7 (diff) | |
download | llvm-8c278a27811ccf9d7a32c0a460b08069c4b3b7b5.zip llvm-8c278a27811ccf9d7a32c0a460b08069c4b3b7b5.tar.gz llvm-8c278a27811ccf9d7a32c0a460b08069c4b3b7b5.tar.bz2 |
[clang][dataflow] Allow MatchSwitch to return a value
Reland of D128467. This version replaces `return {};` with `return Result();`, since the former failed on GCC with `Result = void`.
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D128533
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions