Skip to content

Commit 86cdb29

Browse files
committed
Silence a "not all control paths return a value" warning; NFC
1 parent 9cae511 commit 86cdb29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3346,6 +3346,7 @@ struct AANoAliasCallSiteArgument final : AANoAliasImpl {
33463346
Follow = true;
33473347
return true;
33483348
}
3349+
llvm_unreachable("unknown UseCaptureKind");
33493350
};
33503351

33513352
if (!NoCaptureAA.isAssumedNoCaptureMaybeReturned()) {

0 commit comments

Comments
 (0)