Skip to content

Commit 6680772

Browse files
committed
OffloadBundle.h - fix "not all control paths return a value" MSVC warning
1 parent f755e66 commit 6680772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/Object/OffloadBundle.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ struct OffloadBundleURI {
136136
return createMemoryURI(Str);
137137
break;
138138
}
139+
llvm_unreachable("Unknown UriTypeT enum");
139140
}
140141

141142
static Expected<std::unique_ptr<OffloadBundleURI>>

0 commit comments

Comments
 (0)