Example: https://godbolt.org/z/1hjzrv1d7
There are 2 StringLiterals in an array.
m stringLiteral()
matches either twice (so produces 4 matches)
Is that intended behaviour, if so, how to determine the second match?
Example: https://godbolt.org/z/1hjzrv1d7
There are 2 StringLiterals in an array.
m stringLiteral()
matches either twice (so produces 4 matches)
Is that intended behaviour, if so, how to determine the second match?
Example: https://godbolt.org/z/1hjzrv1d7
There are 2 StringLiterals in an array.
m stringLiteral()
matches either twice (so produces 4 matches)
Is that intended behaviour, if so, how to determine the second match?
That looks like a bug with AST traversal of the InitListExpr to me.
It's not specific to string literals, I can reproduce the behavior
with an initializer list using integers as well.
~Aaron