r195251 - Support for JavaScript === and !== operators.

Alexander Kornienko alexfh at google.com
Thu Nov 21 03:39:24 PST 2013


On Wed, Nov 20, 2013 at 5:35 PM, Daniel Jasper <djasper at google.com> wrote:

> I think we actually might need to merge the tokens.
>>>
>>
>> I was thinking about this. What if we just "hide" the "=", so that
>> clang-format thinks there's just == or !=? I don't think we need to have
>> any logic specific to javascript identity operators.
>>
>
> Yes. We'll also need to increase the length of the token, but other than
> that this is what I mean by "merging".
>

Please take a look at the alternative implementation here:
http://llvm-reviews.chandlerc.com/D2240
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131121/ea48905c/attachment.html>


More information about the cfe-commits mailing list