]> granicus.if.org Git - clang/commitdiff
[OpenCL] Drop spurious semicolon in generated file; NFC
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Tue, 3 Sep 2019 11:23:24 +0000 (11:23 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Tue, 3 Sep 2019 11:23:24 +0000 (11:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370744 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/ClangOpenCLBuiltinEmitter.cpp

index 7707cb0ee0acac9fc541e86713aba66b867905f5..d8f60894b006fb8c9c7b6f6af4514aa0b20ebcad 100644 (file)
@@ -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 = "