Skip to content

Commit c2d8112

Browse files
committed
Silence a "not all control paths return a value" diagnostic; NFC
1 parent 8a7a7a4 commit c2d8112

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)