Skip to content

Commit 14c87ab

Browse files
committed
Fix MSVC "'llvm::AArch64PACKeyIDToString': not all control paths return a value" warning. NFC.
1 parent d254014 commit 14c87ab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,7 @@ inline static StringRef AArch64PACKeyIDToString(AArch64PACKey::ID KeyID) {
830830
case AArch64PACKey::DB:
831831
return StringRef("db");
832832
}
833+
llvm_unreachable("Unhandled AArch64PACKey::ID enum");
833834
}
834835

835836
/// Return numeric key ID for 2-letter identifier string.

0 commit comments

Comments
 (0)