Skip to content

Commit

Permalink
Formula.h - fix MSVC "'clang::dataflow::Formula::numOperands': not al…
Browse files Browse the repository at this point in the history
…l control paths return a value". NFC.
  • Loading branch information
RKSimon committed Jul 10, 2023
1 parent 1ab4424 commit 86943d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/include/clang/Analysis/FlowSensitive/Formula.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class alignas(const Formula *) Formula {
case Equal:
return 2;
}
llvm_unreachable("Unhandled Formula::Kind enum");
}

Kind FormulaKind;
Expand Down

0 comments on commit 86943d8

Please sign in to comment.