summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/config/cpp/arith-vs-ptr.cfg
blob: 60c8d23cd79c8d123ec7b7df388bb7715470a1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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