Debian Codegraph @

cpptests/match_bracket_expressions_assignment_broken.cocci

raw
1 # spatch --c++=11
2 // FIXME: TODO: this rule seemingly does not change the code because of the k = {1} presence
3 // It shall already match j = 1.
4 // And once {1} is recognized as an expression too, also k = {1}.
5 @@
6 identifier i;
7 expression e;
8 @@
9 + // assign to value:
10 i = e;