summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
index dcdc4bf12e9..41d33b55068 100644
--- a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
+++ b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
@@ -751,9 +751,7 @@ static void OCL2Qual(ASTContext &Context, const OpenCLTypeStruct &Ty,
}
// End of switch statement.
- OS << " default:\n"
- << " llvm_unreachable(\"OpenCL builtin type not handled yet\");\n"
- << " } // end of switch (Ty.ID)\n\n";
+ OS << " } // end of switch (Ty.ID)\n\n";
// Step 2.
// Add ExtVector types if this was a generic type, as the switch statement
OpenPOWER on IntegriCloud