Skip to content

Commit 8be8a77

Browse files
RKSimongithub-actions[bot]
authored andcommitted
Automerge: OffloadBundle.h - fix "not all control paths return a value" MSVC warning
2 parents c95ec81 + 6680772 commit 8be8a77

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)