Author: Simon Pilgrim
Date: 2020-01-09T11:11:01Z
New Revision: 0d5407987a36445f21f122656edccbb0d9234f62

URL: 
https://github.com/llvm/llvm-project/commit/0d5407987a36445f21f122656edccbb0d9234f62
DIFF: 
https://github.com/llvm/llvm-project/commit/0d5407987a36445f21f122656edccbb0d9234f62.diff

LOG: Fix MSVC unhandled enum warning. NFCI.

Added: 
    

Modified: 
    clang/lib/CodeGen/CGOpenMPRuntime.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp 
b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
index 05d29fbadfe8..ee7a2e9204ac 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -11190,6 +11190,7 @@ bool checkContext<OMP_CTX_SET_device, OMP_CTX_kind, 
CodeGenModule &>(
     case llvm::Triple::wasm64:
     case llvm::Triple::renderscript32:
     case llvm::Triple::renderscript64:
+    case llvm::Triple::ve:
       return false;
     }
   }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to