[cfe-dev] Each StringLiteral in InitListExpr matched twice

chiasa.men via cfe-dev cfe-dev at lists.llvm.org
Wed Sep 22 03:55:28 PDT 2021

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210922/05caa41f/attachment.html>

More information about the cfe-dev mailing list