[cfe-dev] Matching all the overloaded operators

Shraiysh Vaishay via cfe-dev cfe-dev at lists.llvm.org
Mon Dec 16 02:50:00 PST 2019


Hi all,

I was looking for a matcher all overloaded operators.

`cxxMethodDecl(hasOverloadedOperatorName("+"))` matches overloaded "+". How
do I modify this to match all operator overloads?

Any help would be appreciated.

Thanks and regards
Shraiysh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20191216/454fc35a/attachment.html>


More information about the cfe-dev mailing list