[clang] 0d54079 - Fix MSVC unhandled enum warning. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 9 03:11:34 PST 2020
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;
}
}
More information about the cfe-commits
mailing list