[all-commits] [llvm/llvm-project] 8c278a: [clang][dataflow] Allow MatchSwitch to return a value
Sam Estep via All-commits
all-commits at lists.llvm.org
Fri Jun 24 07:38:25 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c278a27811ccf9d7a32c0a460b08069c4b3b7b5
https://github.com/llvm/llvm-project/commit/8c278a27811ccf9d7a32c0a460b08069c4b3b7b5
Author: Sam Estep <sam at samestep.com>
Date: 2022-06-24 (Fri, 24 Jun 2022)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/MatchSwitch.h
M clang/unittests/Analysis/FlowSensitive/MatchSwitchTest.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list