diff options
Diffstat (limited to 'Tests/CMakeCommands/target_compile_features')
7 files changed, 7 insertions, 7 deletions
diff --git a/Tests/CMakeCommands/target_compile_features/dummy.cpp b/Tests/CMakeCommands/target_compile_features/dummy.cpp index 341aaafa0a..e9ad2573b6 100644 --- a/Tests/CMakeCommands/target_compile_features/dummy.cpp +++ b/Tests/CMakeCommands/target_compile_features/dummy.cpp @@ -1,5 +1,5 @@ -int main(int, char **) +int main(int, char**) { return 0; } diff --git a/Tests/CMakeCommands/target_compile_features/lib_restrict.c b/Tests/CMakeCommands/target_compile_features/lib_restrict.c index 049c1b0084..2ceec971c5 100644 --- a/Tests/CMakeCommands/target_compile_features/lib_restrict.c +++ b/Tests/CMakeCommands/target_compile_features/lib_restrict.c @@ -1,7 +1,7 @@ #include "lib_restrict.h" -int foo(int * restrict a, int * restrict b) +int foo(int* restrict a, int* restrict b) { (void)a; (void)b; diff --git a/Tests/CMakeCommands/target_compile_features/lib_restrict.h b/Tests/CMakeCommands/target_compile_features/lib_restrict.h index eca22be10c..2e528b6d30 100644 --- a/Tests/CMakeCommands/target_compile_features/lib_restrict.h +++ b/Tests/CMakeCommands/target_compile_features/lib_restrict.h @@ -2,6 +2,6 @@ #ifndef LIB_RESTRICT_H #define LIB_RESTRICT_H -int foo(int * restrict a, int * restrict b); +int foo(int* restrict a, int* restrict b); #endif diff --git a/Tests/CMakeCommands/target_compile_features/lib_user.cpp b/Tests/CMakeCommands/target_compile_features/lib_user.cpp index 976068a0b7..541e528293 100644 --- a/Tests/CMakeCommands/target_compile_features/lib_user.cpp +++ b/Tests/CMakeCommands/target_compile_features/lib_user.cpp @@ -1,7 +1,7 @@ #include "lib_auto_type.h" -int main(int argc, char **argv) +int main(int argc, char** argv) { return getAutoType(); } diff --git a/Tests/CMakeCommands/target_compile_features/main.c b/Tests/CMakeCommands/target_compile_features/main.c index 831c5eb275..76e98c4a11 100644 --- a/Tests/CMakeCommands/target_compile_features/main.c +++ b/Tests/CMakeCommands/target_compile_features/main.c @@ -1,5 +1,5 @@ -int foo(int * restrict a, int * restrict b) +int foo(int* restrict a, int* restrict b) { (void)a; (void)b; diff --git a/Tests/CMakeCommands/target_compile_features/main.cpp b/Tests/CMakeCommands/target_compile_features/main.cpp index fe29b04adc..6f5daee0bb 100644 --- a/Tests/CMakeCommands/target_compile_features/main.cpp +++ b/Tests/CMakeCommands/target_compile_features/main.cpp @@ -1,5 +1,5 @@ -int main(int, char **) +int main(int, char**) { auto i = 0; return i; diff --git a/Tests/CMakeCommands/target_compile_features/restrict_user.c b/Tests/CMakeCommands/target_compile_features/restrict_user.c index d47b847b43..76c956fbb8 100644 --- a/Tests/CMakeCommands/target_compile_features/restrict_user.c +++ b/Tests/CMakeCommands/target_compile_features/restrict_user.c @@ -1,7 +1,7 @@ #include "lib_restrict.h" -int bar(int * restrict a, int * restrict b) +int bar(int* restrict a, int* restrict b) { (void)a; (void)b; |