summaryrefslogtreecommitdiffstats
path: root/test/input/Class-friends.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2016-11-10 19:22:30 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-10 19:52:15 (GMT)
commit24b03cffb0d3f42110dcaf754708cd1204800d12 (patch)
tree3182eaa878a3e13e3afe3f28637a2482d2c009f2 /test/input/Class-friends.cxx
parent1ec76bcab6b545763c7b804506edeef1c7fd9700 (diff)
downloadCastXML-24b03cffb0d3f42110dcaf754708cd1204800d12.zip
CastXML-24b03cffb0d3f42110dcaf754708cd1204800d12.tar.gz
CastXML-24b03cffb0d3f42110dcaf754708cd1204800d12.tar.bz2
Revise C++ coding style using clang-format
Run the `src/clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. Fix expected test output for new line numbers. * 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 'test/input/Class-friends.cxx')
-rw-r--r--test/input/Class-friends.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/input/Class-friends.cxx b/test/input/Class-friends.cxx
index 6659db2..fe3aa56 100644
--- a/test/input/Class-friends.cxx
+++ b/test/input/Class-friends.cxx
@@ -1,6 +1,9 @@
-class A {};
+class A
+{
+};
void f(void);
-class start {
+class start
+{
friend class A;
friend void f(void);
};