Skip to content

Commit f860928

Browse files
AaronBallmanDanielCChen
authored andcommitted
Silence a "not all control paths return a value" diagnostic; NFC
1 parent d006f32 commit f860928

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
@@ -570,6 +570,7 @@ inline StreamTy &printOpenACCGangKind(StreamTy &Out, OpenACCGangKind GK) {
570570
case OpenACCGangKind::Static:
571571
return Out << "static";
572572
}
573+
llvm_unreachable("unknown gang kind");
573574
}
574575
inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &Out,
575576
OpenACCGangKind Op) {

0 commit comments

Comments
 (0)