[polly] r264397 - cmake: Ensure tools/* is still formatted

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 05:16:17 PDT 2016

Author: grosser
Date: Fri Mar 25 07:16:17 2016
New Revision: 264397

URL: http://llvm.org/viewvc/llvm-project?rev=264397&view=rev
cmake: Ensure tools/* is still formatted

This got accidentally dropped in r264283.

Also, drop the wwwfiles from the removal list. This is not needed any more as
we now explicitly list the directories that should be formatted.


Modified: polly/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/CMakeLists.txt?rev=264397&r1=264396&r2=264397&view=diff
--- polly/trunk/CMakeLists.txt (original)
+++ polly/trunk/CMakeLists.txt Fri Mar 25 07:16:17 2016
@@ -165,13 +165,12 @@ configure_file( ${CMAKE_CURRENT_SOURCE_D
                 ${POLLY_BINARY_DIR}/include/polly/Config/config.h )
 # Add target to check formatting of polly files
-file( GLOB_RECURSE files *.h lib/*.cpp lib/*.c)
-file( GLOB_RECURSE wwwfiles www/*)
+file( GLOB_RECURSE files *.h lib/*.cpp lib/*.c tools/*.cpp tools/*.c tools/*.h)
 file( GLOB_RECURSE jsonfiles lib/JSON/*.h lib/JSON/*.cpp)
 file( GLOB_RECURSE islfiles lib/External/isl/*.h lib/External/isl/*.c
                    lib/External/isl/include/isl/*.h lib/External/isl/imath/*.h
-list( REMOVE_ITEM files ${jsonfiles} ${islfiles} ${wwwfiles})
+list( REMOVE_ITEM files ${jsonfiles} ${islfiles})

More information about the llvm-commits mailing list