summaryrefslogtreecommitdiff
path: root/polly/CMakeLists.txt
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-03-08 07:34:58 +0000
committerTobias Grosser <tobias@grosser.es>2016-03-08 07:34:58 +0000
commit114180db5bf5c2b25f96f81f5302cc7b11586af5 (patch)
tree003cfaa1185e14a4154c238b708d7e367d88b038 /polly/CMakeLists.txt
parent974eb0a96d8b9a8477bac1692fb1f1f6858f629c (diff)
downloadllvm-114180db5bf5c2b25f96f81f5302cc7b11586af5.tar.gz
Also clang-format *.c run-time library files
llvm-svn: 262917
Diffstat (limited to 'polly/CMakeLists.txt')
-rw-r--r--polly/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt
index a6d121aef602..11e842011bfd 100644
--- a/polly/CMakeLists.txt
+++ b/polly/CMakeLists.txt
@@ -165,12 +165,13 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/include/polly/Config/config.h.cmake
${POLLY_BINARY_DIR}/include/polly/Config/config.h )
# Add target to check formatting of polly files
-file( GLOB_RECURSE files *.h *.cpp)
+file( GLOB_RECURSE files *.h *.cpp *.c)
+file( GLOB_RECURSE wwwfiles www/*)
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
lib/External/isl/imath/*.c)
-list( REMOVE_ITEM files ${jsonfiles} ${islfiles})
+list( REMOVE_ITEM files ${jsonfiles} ${islfiles} ${wwwfiles})
set(check_format_depends)
set(update_format_depends)