Skip to content

Commit 070c338

Browse files
committed
Fix "not all control paths return a value" warning; NFC
1 parent 788bbd2 commit 070c338

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/include/clang/Basic/OpenACCKinds.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ inline StreamTy &printOpenACCAtomicKind(StreamTy &Out, OpenACCAtomicKind AK) {
188188
case OpenACCAtomicKind::None:
189189
return Out << "<none>";
190190
}
191+
llvm_unreachable("unknown atomic kind");
191192
}
192193
inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &Out,
193194
OpenACCAtomicKind AK) {

0 commit comments

Comments
 (0)