mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
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.
This commit is contained in:
@@ -16,11 +16,13 @@ int Libstatic::libstatic_deprecated() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Libstatic::libstatic_not_exported() const {
|
||||
int Libstatic::libstatic_not_exported() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Libstatic::libstatic_excluded() const {
|
||||
int Libstatic::libstatic_excluded() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -39,11 +41,13 @@ int LibstaticNotExported::libstatic_deprecated() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibstaticNotExported::libstatic_not_exported() const {
|
||||
int LibstaticNotExported::libstatic_not_exported() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibstaticNotExported::libstatic_excluded() const {
|
||||
int LibstaticNotExported::libstatic_excluded() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -62,26 +66,32 @@ int LibstaticExcluded::libstatic_deprecated() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibstaticExcluded::libstatic_not_exported() const {
|
||||
int LibstaticExcluded::libstatic_not_exported() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibstaticExcluded::libstatic_excluded() const {
|
||||
int LibstaticExcluded::libstatic_excluded() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libstatic_exported() {
|
||||
int libstatic_exported()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libstatic_deprecated() {
|
||||
int libstatic_deprecated()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libstatic_not_exported() {
|
||||
int libstatic_not_exported()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libstatic_excluded() {
|
||||
int libstatic_excluded()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
|
||||
#include "libstatic_export.h"
|
||||
|
||||
class LIBSTATIC_EXPORT Libstatic {
|
||||
class LIBSTATIC_EXPORT Libstatic
|
||||
{
|
||||
public:
|
||||
int libstatic() const;
|
||||
|
||||
@@ -17,7 +18,8 @@ public:
|
||||
int LIBSTATIC_NO_EXPORT libstatic_excluded() const;
|
||||
};
|
||||
|
||||
class LibstaticNotExported {
|
||||
class LibstaticNotExported
|
||||
{
|
||||
public:
|
||||
int libstatic() const;
|
||||
|
||||
@@ -30,7 +32,8 @@ public:
|
||||
int LIBSTATIC_NO_EXPORT libstatic_excluded() const;
|
||||
};
|
||||
|
||||
class LIBSTATIC_NO_EXPORT LibstaticExcluded {
|
||||
class LIBSTATIC_NO_EXPORT LibstaticExcluded
|
||||
{
|
||||
public:
|
||||
int libstatic() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user