Skip to content

Commit 8b7401f

Browse files
authored
Fix MSVC "not all control paths return a value" warning. NFC. (llvm#169222)
1 parent a54edaf commit 8b7401f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ bool AArch64FunctionInfo::shouldSignReturnAddress(SignReturnAddress Condition,
183183
case SignReturnAddress::All:
184184
return true;
185185
}
186+
llvm_unreachable("Unknown SignReturnAddress enum");
186187
}
187188

188189
bool AArch64FunctionInfo::shouldSignReturnAddress(

0 commit comments

Comments
 (0)