Skip to content

Commit a777a93

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent 81acc84 commit a777a93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/utils/TableGen/IntrinsicEmitter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ static AttributeSet getIntrinsicArgAttributeSet(LLVMContext &C, unsigned ID) {
451451
case CodeGenIntrinsic::Dereferenceable:
452452
return "Dereferenceable";
453453
}
454+
llvm_unreachable("Unknown CodeGenIntrinsic::ArgAttrKind enum");
454455
};
455456

456457
OS << formatv(R"(

0 commit comments

Comments
 (0)