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/AliasTarget | |
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/AliasTarget')
-rw-r--r-- | Tests/AliasTarget/bat.cpp | 2 | ||||
-rw-r--r-- | Tests/AliasTarget/commandgenerator.cpp | 2 | ||||
-rw-r--r-- | Tests/AliasTarget/empty.cpp | 2 | ||||
-rw-r--r-- | Tests/AliasTarget/object.h | 2 | ||||
-rw-r--r-- | Tests/AliasTarget/subdir/empty.cpp | 2 | ||||
-rw-r--r-- | Tests/AliasTarget/targetgenerator.cpp | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/Tests/AliasTarget/bat.cpp b/Tests/AliasTarget/bat.cpp index 1063c21..cb76bfe 100644 --- a/Tests/AliasTarget/bat.cpp +++ b/Tests/AliasTarget/bat.cpp @@ -22,7 +22,7 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int bar() + int bar() { return 0; } diff --git a/Tests/AliasTarget/commandgenerator.cpp b/Tests/AliasTarget/commandgenerator.cpp index 23560a4..aaab014 100644 --- a/Tests/AliasTarget/commandgenerator.cpp +++ b/Tests/AliasTarget/commandgenerator.cpp @@ -3,7 +3,7 @@ #include "object.h" -int main(int argc, char **argv) +int main(int argc, char** argv) { std::fstream fout; fout.open("commandoutput.h", std::ios::out); diff --git a/Tests/AliasTarget/empty.cpp b/Tests/AliasTarget/empty.cpp index b19427a..15f9ff5 100644 --- a/Tests/AliasTarget/empty.cpp +++ b/Tests/AliasTarget/empty.cpp @@ -1,7 +1,7 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int main(void) + int main(void) { return 0; } diff --git a/Tests/AliasTarget/object.h b/Tests/AliasTarget/object.h index e935f14..d33551c 100644 --- a/Tests/AliasTarget/object.h +++ b/Tests/AliasTarget/object.h @@ -1,4 +1,4 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int object(void); + int object(void); diff --git a/Tests/AliasTarget/subdir/empty.cpp b/Tests/AliasTarget/subdir/empty.cpp index b19427a..15f9ff5 100644 --- a/Tests/AliasTarget/subdir/empty.cpp +++ b/Tests/AliasTarget/subdir/empty.cpp @@ -1,7 +1,7 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int main(void) + int main(void) { return 0; } diff --git a/Tests/AliasTarget/targetgenerator.cpp b/Tests/AliasTarget/targetgenerator.cpp index 3362414..b3e6ee2 100644 --- a/Tests/AliasTarget/targetgenerator.cpp +++ b/Tests/AliasTarget/targetgenerator.cpp @@ -1,7 +1,7 @@ #include <fstream> -int main(int argc, char **argv) +int main(int argc, char** argv) { std::fstream fout; fout.open("targetoutput.h", std::ios::out); |