diff options
author | Kitware Robot <kwrobot@kitware.com> | 2016-11-10 19:22:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-10 19:52:15 (GMT) |
commit | 24b03cffb0d3f42110dcaf754708cd1204800d12 (patch) | |
tree | 3182eaa878a3e13e3afe3f28637a2482d2c009f2 /test/input/Class-template.cxx | |
parent | 1ec76bcab6b545763c7b804506edeef1c7fd9700 (diff) | |
download | CastXML-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-template.cxx')
-rw-r--r-- | test/input/Class-template.cxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/test/input/Class-template.cxx b/test/input/Class-template.cxx index 7bfa22f..724c612 100644 --- a/test/input/Class-template.cxx +++ b/test/input/Class-template.cxx @@ -1,5 +1,12 @@ -template <typename T> class start {}; -template <typename T> struct start<T&> {}; // partial specialization -template <> class start<char>; // specialization -template class start<int>; // instantiation +template <typename T> +class start +{ +}; +template <typename T> +struct start<T&> +{ +}; // partial specialization +template <> +class start<char>; // specialization +template class start<int>; // instantiation template class start<int&>; // instantiation of partial specialization |