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/Case1 | |
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/Case1')
-rw-r--r-- | Tests/Dependency/Case1/a.c | 3 | ||||
-rw-r--r-- | Tests/Dependency/Case1/b.c | 2 | ||||
-rw-r--r-- | Tests/Dependency/Case1/b2.c | 2 | ||||
-rw-r--r-- | Tests/Dependency/Case1/c.c | 2 | ||||
-rw-r--r-- | Tests/Dependency/Case1/c2.c | 2 | ||||
-rw-r--r-- | Tests/Dependency/Case1/d.c | 3 | ||||
-rw-r--r-- | Tests/Dependency/Case1/main.c | 6 |
7 files changed, 9 insertions, 11 deletions
diff --git a/Tests/Dependency/Case1/a.c b/Tests/Dependency/Case1/a.c index d702db1..262f523 100644 --- a/Tests/Dependency/Case1/a.c +++ b/Tests/Dependency/Case1/a.c @@ -1,5 +1,4 @@ int a() { - return 5; + return 5; } - diff --git a/Tests/Dependency/Case1/b.c b/Tests/Dependency/Case1/b.c index 6bdfafa..deda685 100644 --- a/Tests/Dependency/Case1/b.c +++ b/Tests/Dependency/Case1/b.c @@ -2,5 +2,5 @@ extern int a(); int b() { - return a()+17; + return a() + 17; } diff --git a/Tests/Dependency/Case1/b2.c b/Tests/Dependency/Case1/b2.c index f37e1bb..f341da7 100644 --- a/Tests/Dependency/Case1/b2.c +++ b/Tests/Dependency/Case1/b2.c @@ -1,4 +1,4 @@ int b2() { - return 3; + return 3; } diff --git a/Tests/Dependency/Case1/c.c b/Tests/Dependency/Case1/c.c index c180a59..a3ec162 100644 --- a/Tests/Dependency/Case1/c.c +++ b/Tests/Dependency/Case1/c.c @@ -2,5 +2,5 @@ extern int b(); int c() { - return b()+42; + return b() + 42; } diff --git a/Tests/Dependency/Case1/c2.c b/Tests/Dependency/Case1/c2.c index 4cf4426..317bb0f 100644 --- a/Tests/Dependency/Case1/c2.c +++ b/Tests/Dependency/Case1/c2.c @@ -2,5 +2,5 @@ extern int b2(); int c2() { - return b2()+1; + return b2() + 1; } diff --git a/Tests/Dependency/Case1/d.c b/Tests/Dependency/Case1/d.c index ea5457d..f67aef7 100644 --- a/Tests/Dependency/Case1/d.c +++ b/Tests/Dependency/Case1/d.c @@ -2,6 +2,5 @@ extern int c2(); int d() { - return c2()+2; + return c2() + 2; } - diff --git a/Tests/Dependency/Case1/main.c b/Tests/Dependency/Case1/main.c index 1e5f6d4..07191cc 100644 --- a/Tests/Dependency/Case1/main.c +++ b/Tests/Dependency/Case1/main.c @@ -4,7 +4,7 @@ extern int d(); int main() { - c(); - b(); - d(); + c(); + b(); + d(); } |