diff options
author | Kitware Robot <kwrobot@kitware.com> | 2016-05-16 14:34:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-16 20:05:19 (GMT) |
commit | d9fd2f5402eeaa345691313658e02b51038f570b (patch) | |
tree | dca71b9a7e267f4c6300da3eb770415381726785 /Tests/Dependency/Case2 | |
parent | 82df6deaafb36cbbfd450202bb20b320f637751a (diff) | |
download | CMake-d9fd2f5402eeaa345691313658e02b51038f570b.zip CMake-d9fd2f5402eeaa345691313658e02b51038f570b.tar.gz CMake-d9fd2f5402eeaa345691313658e02b51038f570b.tar.bz2 |
Revise C++ coding style using clang-format
Run the `Utilities/Scripts/clang-format.bash` script to update
all our C++ code to a new style defined by `.clang-format`.
Use `clang-format` version 3.8.
* If you reached this commit for a line in `git blame`, re-run the blame
operation starting at the parent of this commit to see older history
for the content.
* See the parent commit for instructions to rebase a change across this
style transition commit.
Diffstat (limited to 'Tests/Dependency/Case2')
-rw-r--r-- | Tests/Dependency/Case2/bar1.c | 10 | ||||
-rw-r--r-- | Tests/Dependency/Case2/bar2.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/bar3.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo1.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo1b.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo1c.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo2.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo2b.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo2c.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo3.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo3b.c | 5 | ||||
-rw-r--r-- | Tests/Dependency/Case2/foo3c.c | 5 |
12 files changed, 52 insertions, 13 deletions
diff --git a/Tests/Dependency/Case2/bar1.c b/Tests/Dependency/Case2/bar1.c index 6108fba..6da9077 100644 --- a/Tests/Dependency/Case2/bar1.c +++ b/Tests/Dependency/Case2/bar1.c @@ -1,4 +1,10 @@ extern int foo1(); extern int bar2(void); -int bar1(void) { return bar2(); } -int bar1_from_bar3(void) { return foo1(); } +int bar1(void) +{ + return bar2(); +} +int bar1_from_bar3(void) +{ + return foo1(); +} diff --git a/Tests/Dependency/Case2/bar2.c b/Tests/Dependency/Case2/bar2.c index b9a2360..00ed483 100644 --- a/Tests/Dependency/Case2/bar2.c +++ b/Tests/Dependency/Case2/bar2.c @@ -1,2 +1,5 @@ extern int bar3(void); -int bar2(void) { return bar3(); } +int bar2(void) +{ + return bar3(); +} diff --git a/Tests/Dependency/Case2/bar3.c b/Tests/Dependency/Case2/bar3.c index 73e8556..a950899 100644 --- a/Tests/Dependency/Case2/bar3.c +++ b/Tests/Dependency/Case2/bar3.c @@ -1,2 +1,5 @@ extern int bar1_from_bar3(void); -int bar3(void) { return bar1_from_bar3(); } +int bar3(void) +{ + return bar1_from_bar3(); +} diff --git a/Tests/Dependency/Case2/foo1.c b/Tests/Dependency/Case2/foo1.c index 5f1f8ac..d476f2c 100644 --- a/Tests/Dependency/Case2/foo1.c +++ b/Tests/Dependency/Case2/foo1.c @@ -1,2 +1,5 @@ extern int foo2(void); -int foo1(void) { return foo2(); } +int foo1(void) +{ + return foo2(); +} diff --git a/Tests/Dependency/Case2/foo1b.c b/Tests/Dependency/Case2/foo1b.c index e2b6dc3..e437014 100644 --- a/Tests/Dependency/Case2/foo1b.c +++ b/Tests/Dependency/Case2/foo1b.c @@ -1,2 +1,5 @@ extern int foo2b(void); -int foo1b(void) { return foo2b(); } +int foo1b(void) +{ + return foo2b(); +} diff --git a/Tests/Dependency/Case2/foo1c.c b/Tests/Dependency/Case2/foo1c.c index 1dcca58..af03dec 100644 --- a/Tests/Dependency/Case2/foo1c.c +++ b/Tests/Dependency/Case2/foo1c.c @@ -1,2 +1,5 @@ extern int foo2c(void); -int foo1c(void) { return foo2c(); } +int foo1c(void) +{ + return foo2c(); +} diff --git a/Tests/Dependency/Case2/foo2.c b/Tests/Dependency/Case2/foo2.c index 6019236..587c77a 100644 --- a/Tests/Dependency/Case2/foo2.c +++ b/Tests/Dependency/Case2/foo2.c @@ -1,2 +1,5 @@ extern int foo3(void); -int foo2(void) { return foo3(); } +int foo2(void) +{ + return foo3(); +} diff --git a/Tests/Dependency/Case2/foo2b.c b/Tests/Dependency/Case2/foo2b.c index 34d6944..6959e63 100644 --- a/Tests/Dependency/Case2/foo2b.c +++ b/Tests/Dependency/Case2/foo2b.c @@ -1,2 +1,5 @@ extern int foo3b(void); -int foo2b(void) { return foo3b(); } +int foo2b(void) +{ + return foo3b(); +} diff --git a/Tests/Dependency/Case2/foo2c.c b/Tests/Dependency/Case2/foo2c.c index dbc54de..aedb61c 100644 --- a/Tests/Dependency/Case2/foo2c.c +++ b/Tests/Dependency/Case2/foo2c.c @@ -1,2 +1,5 @@ extern int foo3c(void); -int foo2c(void) { return foo3c(); } +int foo2c(void) +{ + return foo3c(); +} diff --git a/Tests/Dependency/Case2/foo3.c b/Tests/Dependency/Case2/foo3.c index dacef6a..cab9535 100644 --- a/Tests/Dependency/Case2/foo3.c +++ b/Tests/Dependency/Case2/foo3.c @@ -1,2 +1,5 @@ extern int foo1b(void); -int foo3(void) { return foo1b(); } +int foo3(void) +{ + return foo1b(); +} diff --git a/Tests/Dependency/Case2/foo3b.c b/Tests/Dependency/Case2/foo3b.c index ca25fd8..69d2c8c 100644 --- a/Tests/Dependency/Case2/foo3b.c +++ b/Tests/Dependency/Case2/foo3b.c @@ -1,2 +1,5 @@ extern int foo1c(void); -int foo3b(void) { return foo1c(); } +int foo3b(void) +{ + return foo1c(); +} diff --git a/Tests/Dependency/Case2/foo3c.c b/Tests/Dependency/Case2/foo3c.c index 0ad65fe..e774495 100644 --- a/Tests/Dependency/Case2/foo3c.c +++ b/Tests/Dependency/Case2/foo3c.c @@ -1 +1,4 @@ -int foo3c(void) { return 0; } +int foo3c(void) +{ + return 0; +} |