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/InterfaceLinkLibraries | |
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/InterfaceLinkLibraries')
-rw-r--r-- | Tests/InterfaceLinkLibraries/bang.h | 2 | ||||
-rw-r--r-- | Tests/InterfaceLinkLibraries/bar.cpp | 14 | ||||
-rw-r--r-- | Tests/InterfaceLinkLibraries/bar.h | 2 | ||||
-rw-r--r-- | Tests/InterfaceLinkLibraries/foo.h | 2 | ||||
-rw-r--r-- | Tests/InterfaceLinkLibraries/zot.h | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/Tests/InterfaceLinkLibraries/bang.h b/Tests/InterfaceLinkLibraries/bang.h index acffb39..908f20c 100644 --- a/Tests/InterfaceLinkLibraries/bang.h +++ b/Tests/InterfaceLinkLibraries/bang.h @@ -1,4 +1,4 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int bang(); + int bang(); diff --git a/Tests/InterfaceLinkLibraries/bar.cpp b/Tests/InterfaceLinkLibraries/bar.cpp index f39bfa5..228ed80 100644 --- a/Tests/InterfaceLinkLibraries/bar.cpp +++ b/Tests/InterfaceLinkLibraries/bar.cpp @@ -4,14 +4,14 @@ #endif #ifdef BAR_USE_BANG -# ifndef BANG_LIBRARY -# error Expected BANG_LIBRARY -# endif -# include "bang.h" +#ifndef BANG_LIBRARY +#error Expected BANG_LIBRARY +#endif +#include "bang.h" #else -# ifdef BANG_LIBRARY -# error Unexpected BANG_LIBRARY -# endif +#ifdef BANG_LIBRARY +#error Unexpected BANG_LIBRARY +#endif #endif #include "bar.h" diff --git a/Tests/InterfaceLinkLibraries/bar.h b/Tests/InterfaceLinkLibraries/bar.h index f83b37e..f31a25f 100644 --- a/Tests/InterfaceLinkLibraries/bar.h +++ b/Tests/InterfaceLinkLibraries/bar.h @@ -4,4 +4,4 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int bar(); + int bar(); diff --git a/Tests/InterfaceLinkLibraries/foo.h b/Tests/InterfaceLinkLibraries/foo.h index e12e23c..9b73885 100644 --- a/Tests/InterfaceLinkLibraries/foo.h +++ b/Tests/InterfaceLinkLibraries/foo.h @@ -1,4 +1,4 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int foo(); + int foo(); diff --git a/Tests/InterfaceLinkLibraries/zot.h b/Tests/InterfaceLinkLibraries/zot.h index 5e4fb1e..e80328b 100644 --- a/Tests/InterfaceLinkLibraries/zot.h +++ b/Tests/InterfaceLinkLibraries/zot.h @@ -4,4 +4,4 @@ #ifdef _WIN32 __declspec(dllexport) #endif -int zot(); + int zot(); |