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 Apr 10, 2024
1 parent f388a3a commit 798e04f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clang/include/clang/Basic/OpenACCKinds.h
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ inline StreamTy &printOpenACCDefaultClauseKind(StreamTy &Out,
case OpenACCDefaultClauseKind::Invalid:
return Out << "<invalid>";
}
llvm_unreachable("Unknown OpenACCDefaultClauseKind enum");
}

inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &Out,
Expand Down

0 comments on commit 798e04f

Please sign in to comment.