[cfe-dev] Matching clang::CompoundAssignOperator

Billy Araujo via cfe-dev cfe-dev at lists.llvm.org
Mon Feb 10 02:01:26 PST 2020


Issue solved. By matching the binaryOperator it seems to work fine.

On Sun, Feb 9, 2020 at 7:51 PM Csaba Raduly <rcsaba at gmail.com> wrote:
>
>
> On Sat, Feb 8, 2020 at 11:29 PM Billy Araujo via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>>
>> Why can't I match CompoundAssignOperator?
>
>
> Maybe you're doing it wrong.
>
> https://www.chiark.greenend.org.uk/~sgtatham/bugs.html
>
> Csaba
> --
> You can get very substantial performance improvements
> by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
> So if you're looking for a completely portable, 100% standards-conformant way
> to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)


More information about the cfe-dev mailing list