diff --git a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp index 7707cb0ee0ac..d8f60894b006 100644 --- a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp +++ b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp @@ -473,7 +473,7 @@ static void OCL2Qual(ASTContext &Context, const OpenCLTypeStruct &Ty, << T->getValueAsDef("QTName")->getValueAsString("Name") << ", "; } } - OS << "});\n;"; + OS << "});\n"; // GenTypeNumTypes is the number of types in the GenType // (e.g. float/double/half). OS << " GenTypeNumTypes = "