diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2018-06-01 16:53:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-01 16:54:12 (GMT) |
commit | 3af8c7715b359affce99c575bdcb84ca87585bb2 (patch) | |
tree | bb551a6063ccc08c1fdae71d0a6cd592e369c906 /testSystemInformation.cxx | |
parent | 1f52cb087aeb1eef7082884df6423b749e7f50c1 (diff) | |
download | CMake-3af8c7715b359affce99c575bdcb84ca87585bb2.zip CMake-3af8c7715b359affce99c575bdcb84ca87585bb2.tar.gz CMake-3af8c7715b359affce99c575bdcb84ca87585bb2.tar.bz2 |
KWSys 2018-06-01 (8ef62b28)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 8ef62b289e0a99856893ef49106c2b2d94e9dd0c (master).
Upstream Shortlog
-----------------
Brad King (2):
6b9c233c clang-format.bash: update to clang-format-6.0
b7a341cf Empty commit at end of history preceding clang-format-6.0 style transition
Kitware Robot (1):
828b6837 Revise C++ coding style using clang-format-6.0
Diffstat (limited to 'testSystemInformation.cxx')
-rw-r--r-- | testSystemInformation.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/testSystemInformation.cxx b/testSystemInformation.cxx index 3a9217f..154517e 100644 --- a/testSystemInformation.cxx +++ b/testSystemInformation.cxx @@ -6,25 +6,25 @@ // Work-around CMake dependency scanning limitation. This must // duplicate the above list of headers. #if 0 -#include "SystemInformation.hxx.in" +# include "SystemInformation.hxx.in" #endif #include <iostream> #if defined(KWSYS_USE_LONG_LONG) -#if defined(KWSYS_IOS_HAS_OSTREAM_LONG_LONG) -#define iostreamLongLong(x) (x) -#else -#define iostreamLongLong(x) ((long)x) -#endif +# if defined(KWSYS_IOS_HAS_OSTREAM_LONG_LONG) +# define iostreamLongLong(x) (x) +# else +# define iostreamLongLong(x) ((long)x) +# endif #elif defined(KWSYS_USE___INT64) -#if defined(KWSYS_IOS_HAS_OSTREAM___INT64) -#define iostreamLongLong(x) (x) +# if defined(KWSYS_IOS_HAS_OSTREAM___INT64) +# define iostreamLongLong(x) (x) +# else +# define iostreamLongLong(x) ((long)x) +# endif #else -#define iostreamLongLong(x) ((long)x) -#endif -#else -#error "No Long Long" +# error "No Long Long" #endif #define printMethod(info, m) std::cout << #m << ": " << info.m() << "\n" @@ -86,7 +86,7 @@ int testSystemInformation(int, char* []) } /* test stack trace - */ + */ std::cout << "Program Stack:" << std::endl << kwsys::SystemInformation::GetProgramStack(0, 0) << std::endl << std::endl; |