Author: Sven van Haastregt Date: 2023-03-24T11:03:10Z New Revision: f454a7c6853def66c4f3a68bd2a0520489f6833c
URL: https://github.com/llvm/llvm-project/commit/f454a7c6853def66c4f3a68bd2a0520489f6833c DIFF: https://github.com/llvm/llvm-project/commit/f454a7c6853def66c4f3a68bd2a0520489f6833c.diff LOG: [OpenCL] Emit EOL at end of generated header Added: Modified: clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp Removed: ################################################################################ diff --git a/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp b/clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp index 79022ce67232a..1c3b7e4398a8c 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) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits