Skip to content

Commit 5d8da5a

Browse files
committed
Add missing cases to clang switch after D141863
Turns out there's a switch on APFloat semantics in clang I wasn't aware of, fix the build error here. Differential Revision: https://reviews.llvm.org/D143684
1 parent 11dcd88 commit 5d8da5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/AST/MicrosoftMangle.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,8 @@ void MicrosoftCXXNameMangler::mangleFloat(llvm::APFloat Number) {
843843
case APFloat::S_PPCDoubleDouble: Out << 'Z'; break;
844844
case APFloat::S_Float8E5M2:
845845
case APFloat::S_Float8E4M3FN:
846+
case APFloat::S_Float8E5M2FNUZ:
847+
case APFloat::S_Float8E4M3FNUZ:
846848
llvm_unreachable("Tried to mangle unexpected APFloat semantics");
847849
}
848850

0 commit comments

Comments
 (0)