summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/same_name
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2016-05-16 14:34:04 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-16 20:05:19 (GMT)
commitd9fd2f5402eeaa345691313658e02b51038f570b (patch)
treedca71b9a7e267f4c6300da3eb770415381726785 /Tests/QtAutogen/same_name
parent82df6deaafb36cbbfd450202bb20b320f637751a (diff)
downloadCMake-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/QtAutogen/same_name')
-rw-r--r--Tests/QtAutogen/same_name/aaa/bbb/item.cpp4
-rw-r--r--Tests/QtAutogen/same_name/aaa/bbb/item.hpp3
-rw-r--r--Tests/QtAutogen/same_name/aaa/item.cpp4
-rw-r--r--Tests/QtAutogen/same_name/aaa/item.hpp3
-rw-r--r--Tests/QtAutogen/same_name/bbb/aaa/item.cpp4
-rw-r--r--Tests/QtAutogen/same_name/bbb/aaa/item.hpp3
-rw-r--r--Tests/QtAutogen/same_name/bbb/item.cpp4
-rw-r--r--Tests/QtAutogen/same_name/bbb/item.hpp3
-rw-r--r--Tests/QtAutogen/same_name/ccc/item.cpp9
-rw-r--r--Tests/QtAutogen/same_name/ccc/item.hpp3
-rw-r--r--Tests/QtAutogen/same_name/main.cpp2
11 files changed, 13 insertions, 29 deletions
diff --git a/Tests/QtAutogen/same_name/aaa/bbb/item.cpp b/Tests/QtAutogen/same_name/aaa/bbb/item.cpp
index d715116..20d0044 100644
--- a/Tests/QtAutogen/same_name/aaa/bbb/item.cpp
+++ b/Tests/QtAutogen/same_name/aaa/bbb/item.cpp
@@ -3,10 +3,8 @@
namespace aaa {
namespace bbb {
-void
-Item::go ( )
+void Item::go()
{
}
-
}
}
diff --git a/Tests/QtAutogen/same_name/aaa/bbb/item.hpp b/Tests/QtAutogen/same_name/aaa/bbb/item.hpp
index c82309d..87ac6ea 100644
--- a/Tests/QtAutogen/same_name/aaa/bbb/item.hpp
+++ b/Tests/QtAutogen/same_name/aaa/bbb/item.hpp
@@ -10,9 +10,8 @@ class Item : public QObject
{
Q_OBJECT
Q_SLOT
- void go ( );
+ void go();
};
-
}
}
diff --git a/Tests/QtAutogen/same_name/aaa/item.cpp b/Tests/QtAutogen/same_name/aaa/item.cpp
index 7887d76..95dd3b6 100644
--- a/Tests/QtAutogen/same_name/aaa/item.cpp
+++ b/Tests/QtAutogen/same_name/aaa/item.cpp
@@ -2,9 +2,7 @@
namespace aaa {
-void
-Item::go ( )
+void Item::go()
{
}
-
}
diff --git a/Tests/QtAutogen/same_name/aaa/item.hpp b/Tests/QtAutogen/same_name/aaa/item.hpp
index 3c24275..68476ce 100644
--- a/Tests/QtAutogen/same_name/aaa/item.hpp
+++ b/Tests/QtAutogen/same_name/aaa/item.hpp
@@ -9,9 +9,8 @@ class Item : public QObject
{
Q_OBJECT
Q_SLOT
- void go ( );
+ void go();
};
-
}
#endif
diff --git a/Tests/QtAutogen/same_name/bbb/aaa/item.cpp b/Tests/QtAutogen/same_name/bbb/aaa/item.cpp
index 36d5b6d..ac4b2c2 100644
--- a/Tests/QtAutogen/same_name/bbb/aaa/item.cpp
+++ b/Tests/QtAutogen/same_name/bbb/aaa/item.cpp
@@ -3,10 +3,8 @@
namespace bbb {
namespace aaa {
-void
-Item::go ( )
+void Item::go()
{
}
-
}
}
diff --git a/Tests/QtAutogen/same_name/bbb/aaa/item.hpp b/Tests/QtAutogen/same_name/bbb/aaa/item.hpp
index 35a3686..0a8e024 100644
--- a/Tests/QtAutogen/same_name/bbb/aaa/item.hpp
+++ b/Tests/QtAutogen/same_name/bbb/aaa/item.hpp
@@ -10,9 +10,8 @@ class Item : public QObject
{
Q_OBJECT
Q_SLOT
- void go ( );
+ void go();
};
-
}
}
diff --git a/Tests/QtAutogen/same_name/bbb/item.cpp b/Tests/QtAutogen/same_name/bbb/item.cpp
index 064295b..f97a143 100644
--- a/Tests/QtAutogen/same_name/bbb/item.cpp
+++ b/Tests/QtAutogen/same_name/bbb/item.cpp
@@ -2,9 +2,7 @@
namespace bbb {
-void
-Item::go ( )
+void Item::go()
{
}
-
}
diff --git a/Tests/QtAutogen/same_name/bbb/item.hpp b/Tests/QtAutogen/same_name/bbb/item.hpp
index eda84a2..3da5837 100644
--- a/Tests/QtAutogen/same_name/bbb/item.hpp
+++ b/Tests/QtAutogen/same_name/bbb/item.hpp
@@ -9,9 +9,8 @@ class Item : public QObject
{
Q_OBJECT
Q_SLOT
- void go ( );
+ void go();
};
-
}
#endif
diff --git a/Tests/QtAutogen/same_name/ccc/item.cpp b/Tests/QtAutogen/same_name/ccc/item.cpp
index 12c71d0..d90b2b8 100644
--- a/Tests/QtAutogen/same_name/ccc/item.cpp
+++ b/Tests/QtAutogen/same_name/ccc/item.cpp
@@ -2,8 +2,7 @@
namespace ccc {
-void
-Item::go ( )
+void Item::go()
{
}
@@ -11,14 +10,12 @@ class MocTest : public QObject
{
Q_OBJECT;
Q_SLOT
- void go ( );
+ void go();
};
-void
-MocTest::go()
+void MocTest::go()
{
}
-
}
// Include own moc files
diff --git a/Tests/QtAutogen/same_name/ccc/item.hpp b/Tests/QtAutogen/same_name/ccc/item.hpp
index 6386dc6..c855936 100644
--- a/Tests/QtAutogen/same_name/ccc/item.hpp
+++ b/Tests/QtAutogen/same_name/ccc/item.hpp
@@ -9,9 +9,8 @@ class Item : public QObject
{
Q_OBJECT
Q_SLOT
- void go ( );
+ void go();
};
-
}
#endif
diff --git a/Tests/QtAutogen/same_name/main.cpp b/Tests/QtAutogen/same_name/main.cpp
index fc77a99..a4ffcb3 100644
--- a/Tests/QtAutogen/same_name/main.cpp
+++ b/Tests/QtAutogen/same_name/main.cpp
@@ -4,7 +4,7 @@
#include "bbb/item.hpp"
#include "ccc/item.hpp"
-int main(int argv, char **args)
+int main(int argv, char** args)
{
// Object instances
::aaa::Item aaa_item;