mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -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 Libshared::libshared_deprecated() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Libshared::libshared_not_exported() const {
|
||||
int Libshared::libshared_not_exported() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Libshared::libshared_excluded() const {
|
||||
int Libshared::libshared_excluded() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -39,11 +41,13 @@ int LibsharedNotExported::libshared_deprecated() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibsharedNotExported::libshared_not_exported() const {
|
||||
int LibsharedNotExported::libshared_not_exported() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibsharedNotExported::libshared_excluded() const {
|
||||
int LibsharedNotExported::libshared_excluded() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -62,30 +66,37 @@ int LibsharedExcluded::libshared_deprecated() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibsharedExcluded::libshared_not_exported() const {
|
||||
int LibsharedExcluded::libshared_not_exported() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LibsharedExcluded::libshared_excluded() const {
|
||||
int LibsharedExcluded::libshared_excluded() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libshared() {
|
||||
int libshared()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libshared_exported() {
|
||||
int libshared_exported()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libshared_deprecated() {
|
||||
int libshared_deprecated()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libshared_not_exported() {
|
||||
int libshared_not_exported()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int libshared_excluded() {
|
||||
int libshared_excluded()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
|
||||
#include "libshared_export.h"
|
||||
|
||||
class LIBSHARED_EXPORT Libshared {
|
||||
class LIBSHARED_EXPORT Libshared
|
||||
{
|
||||
public:
|
||||
int libshared() const;
|
||||
|
||||
@@ -17,7 +18,8 @@ public:
|
||||
int LIBSHARED_NO_EXPORT libshared_excluded() const;
|
||||
};
|
||||
|
||||
class LibsharedNotExported {
|
||||
class LibsharedNotExported
|
||||
{
|
||||
public:
|
||||
int libshared() const;
|
||||
|
||||
@@ -30,7 +32,8 @@ public:
|
||||
int LIBSHARED_NO_EXPORT libshared_excluded() const;
|
||||
};
|
||||
|
||||
class LIBSHARED_NO_EXPORT LibsharedExcluded {
|
||||
class LIBSHARED_NO_EXPORT LibsharedExcluded
|
||||
{
|
||||
public:
|
||||
int libshared() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user