[polly] r248570 - [cmake] terminate isl/stdint.h with a newline

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 04:45:27 PDT 2015


Author: grosser
Date: Fri Sep 25 06:45:26 2015
New Revision: 248570

URL: http://llvm.org/viewvc/llvm-project?rev=248570&view=rev
Log:
[cmake] terminate isl/stdint.h with a newline

This avoids warnings of the form:
  stdint.h:1:20: warning: no newline at end of file [-Wnewline-eof]

Modified:
    polly/trunk/lib/External/CMakeLists.txt

Modified: polly/trunk/lib/External/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/External/CMakeLists.txt?rev=248570&r1=248569&r2=248570&view=diff
==============================================================================
--- polly/trunk/lib/External/CMakeLists.txt (original)
+++ polly/trunk/lib/External/CMakeLists.txt Fri Sep 25 06:45:26 2015
@@ -160,7 +160,7 @@ configure_file("${ISL_BINARY_DIR}/gitver
                "${ISL_BINARY_DIR}/gitversion.h" COPYONLY)
 
 file(WRITE "${ISL_BINARY_DIR}/include/isl/stdint.h.tmp"
-     "${INCLUDE_STDINT_H}")
+     "${INCLUDE_STDINT_H}\n")
 configure_file("${ISL_BINARY_DIR}/include/isl/stdint.h.tmp"
                "${ISL_BINARY_DIR}/include/isl/stdint.h" COPYONLY)
 




More information about the llvm-commits mailing list