Skip to content

Commit

Permalink
Fix MSVC "not all control paths return a value" warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Nov 8, 2023
1 parent f416f6c commit 8d72079
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Analysis/FlowSensitive/Value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ raw_ostream &operator<<(raw_ostream &OS, const Value &Val) {
case Value::Kind::FormulaBool:
return OS << "FormulaBool(" << cast<FormulaBoolValue>(Val).formula() << ")";
}
llvm_unreachable("Unknown clang::dataflow::Value::Kind enum");
}

} // namespace dataflow
Expand Down

0 comments on commit 8d72079

Please sign in to comment.