Skip to content

Commit 32b821c

Browse files
[AST] Fix a warning
This patch fixes: clang/lib/AST/MicrosoftMangle.cpp:1006:11: error: enumeration value 'S_PPCDoubleDoubleLegacy' not handled in switch [-Werror,-Wswitch]
1 parent 17f99ac commit 32b821c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/AST/MicrosoftMangle.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,7 @@ void MicrosoftCXXNameMangler::mangleFloat(llvm::APFloat Number) {
10141014
case APFloat::S_x87DoubleExtended: Out << 'X'; break;
10151015
case APFloat::S_IEEEquad: Out << 'Y'; break;
10161016
case APFloat::S_PPCDoubleDouble: Out << 'Z'; break;
1017+
case APFloat::S_PPCDoubleDoubleLegacy:
10171018
case APFloat::S_Float8E5M2:
10181019
case APFloat::S_Float8E4M3:
10191020
case APFloat::S_Float8E4M3FN:

0 commit comments

Comments
 (0)