diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/config/cpp/arith-vs-ptr.cfg')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/config/cpp/arith-vs-ptr.cfg | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/config/cpp/arith-vs-ptr.cfg b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/config/cpp/arith-vs-ptr.cfg new file mode 100644 index 00000000..60c8d23c --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/config/cpp/arith-vs-ptr.cfg @@ -0,0 +1,14 @@ +sp_arith = force +sp_after_ptr_star = remove + +# issue 1464 +# ------------------------------------------------------------------------------ +# auto p = std::make_pair(r * cos(a), r * sin(a)); +# type of the 'cos' token was incorrectly set to `CT_FUNC_DEF` +# because of this the first '*' became a `CT_PTR_TYPE` instead of a `CT_ARITH` +# type + +# issue 1466 +# ------------------------------------------------------------------------------ +# A a = {this->r * cos(b)}; +# similar to 1464 |