<div dir="auto">If that works do it :)<div dir="auto"><br></div><div dir="auto">Maybe a ignoreImplicitCasts is worth a try. </div><div dir="auto">I usually brute force matchers until they work. If someone knows better ways please teach me :)</div></div><div class="gmail_extra"><br><div class="gmail_quote">Am 22.11.2017 5:52 nachm. schrieb "Richard via cfe-dev" <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[Please reply *only* to the list and do not include my email directly<br>
in the To: or Cc: of your reply; otherwise I will not see your reply.<br>
Thanks.]<br>
<br>
In article <<wbr>CAAeLbQLgNGRUwaxE4rwRSE74dm6X-<wbr>KmM6GtZB2q2V+iacep1=<a href="mailto:w@mail.gmail.com">w@mail.<wbr>gmail.com</a>>,<br>
Maurizio Vitale via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>> writes:<br>
<br>
> [...] Dumping the AST shows an<br>
> implicitCastExpr there, but even adding it around stringLiteral doesn't<br>
> work.<br>
<br>
I don't see anything wrong with your approach; it's the one I've used<br>
successfully in the past. However, I haven't attempted any clang-tidy<br>
hacking in quite some time so something in the infrastructure might<br>
have changed in the meantime.<br>
<br>
I've generally gone through cycles of using clang-query, dumping the<br>
parsed AST and trying things in clang-tidy.<br>
--<br>
"The Direct3D Graphics Pipeline" free book <<a href="http://tinyurl.com/d3d-pipeline" rel="noreferrer" target="_blank">http://tinyurl.com/d3d-<wbr>pipeline</a>><br>
The Terminals Wiki <<a href="http://terminals-wiki.org" rel="noreferrer" target="_blank">http://terminals-wiki.org</a>><br>
The Computer Graphics Museum <<a href="http://ComputerGraphicsMuseum.org" rel="noreferrer" target="_blank">http://<wbr>ComputerGraphicsMuseum.org</a>><br>
Legalize Adulthood! (my blog) <<a href="http://LegalizeAdulthood.wordpress.com" rel="noreferrer" target="_blank">http://LegalizeAdulthood.<wbr>wordpress.com</a>><br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
</blockquote></div></div>