[PATCH] D93944: Fixes warning 'enumeration value not handled in switch'.

Jacques Pienaar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 06:56:56 PST 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2016f2c8a76d: Fixes warning 'enumeration value not handled in switch'. (authored by bgraur, committed by jpienaar).

Changed prior to commit:
  https://reviews.llvm.org/D93944?vs=314114&id=314116#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93944/new/

https://reviews.llvm.org/D93944

Files:
  llvm/tools/llvm-c-test/echo.cpp


Index: llvm/tools/llvm-c-test/echo.cpp
===================================================================
--- llvm/tools/llvm-c-test/echo.cpp
+++ llvm/tools/llvm-c-test/echo.cpp
@@ -149,6 +149,8 @@
                                       LLVMGetVectorSize(Src));
       case LLVMMetadataTypeKind:
         return LLVMMetadataTypeInContext(Ctx);
+      case LLVMX86_AMXTypeKind:
+        return LLVMX86AMXTypeInContext(Ctx);
       case LLVMX86_MMXTypeKind:
         return LLVMX86MMXTypeInContext(Ctx);
       case LLVMTokenTypeKind:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93944.314116.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201230/9b8330ef/attachment.bin>


More information about the llvm-commits mailing list