[cfe-dev] ASTMatchers and empty string literals

Andrew McGregor andrewmcgr at gmail.com
Sun Sep 9 17:59:35 PDT 2012


I want to do a matcher that would naively be spelt stringLiteral(equals("")), but that won't compile, complaining that (I think) "" is not a valid array initialiser.

So, is there a more correct way to spell that?  Or have I found another bug?

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120910/e0b00ee7/attachment.bin>


More information about the cfe-dev mailing list