From: Sven van Haastregt Date: Fri, 24 Mar 2023 11:03:10 +0000 (+0000) Subject: [OpenCL] Emit EOL at end of generated header X-Git-Tag: upstream/17.0.6~13774 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f454a7c6853def66c4f3a68bd2a0520489f6833c;p=platform%2Fupstream%2Fllvm.git [OpenCL] Emit EOL at end of generated header --- diff --git a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp index 79022ce..1c3b7e4 100644 --- a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp +++ b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp @@ -1328,7 +1328,7 @@ void OpenCLBuiltinHeaderEmitter::emit() { } OS << "\n// Disable any extensions we may have enabled previously.\n" - "#pragma OPENCL EXTENSION all : disable"; + "#pragma OPENCL EXTENSION all : disable\n"; } void clang::EmitClangOpenCLBuiltins(RecordKeeper &Records, raw_ostream &OS) {