[PATCH] Fix block comment parser
Rui Ueyama
ruiu at google.com
Thu May 9 13:42:50 PDT 2013
Thank you for reviewing. Made it to store the location of the trigraph or
whitespace. New patch is attached. You can also review the same patch at
http://llvm-reviews.chandlerc.com/D777.
On Thu, May 9, 2013 at 10:33 AM, Richard Smith <richard at metafoo.co.uk>wrote:
> This mostly looks fine, but please store the location of the trigraph or
> whitespace-after-backslash so that you can give a more
> accurately-positioned diagnostic. You can use expected-warning at OFFSET to
> expect a warning on a different line.
>
> On Wed, May 8, 2013 at 9:40 PM, Rui Ueyama <ruiu at google.com> wrote:
>
>> Ping?
>>
>>
>> On Tue, Apr 16, 2013 at 5:35 AM, Chandler Carruth <chandlerc at google.com>wrote:
>>
>>> There are lots of other folks who can take a look, including Richard,
>>> Doug, Argiris, etc... Unfortunately some of us are tied up in C++ standard
>>> committee meetings, but there should be replies before too long...
>>>
>>>
>>> On Tue, Apr 16, 2013 at 5:28 AM, Rafael EspĂndola <
>>> rafael.espindola at gmail.com> wrote:
>>>
>>>> On 16 April 2013 04:00, Rui Ueyama <ruiu at google.com> wrote:
>>>> > Yes, I think the new while-loop is not in a very hot path, as it is
>>>> executed
>>>> > only when there's a '/' at the very beginning of a line in a block
>>>> comment.
>>>> > And it loops only when previous lines are continuation lines. That
>>>> should be
>>>> > pretty unusual. I think that's why this minor bug was not found until
>>>> now :)
>>>> >
>>>> > Can anyone else take a look?
>>>>
>>>> Chris I guess. He is not on code owners for it must I think most of
>>>> the lexer is still his.
>>>>
>>>> Cheers,
>>>> Rafael
>>>> _______________________________________________
>>>> cfe-commits mailing list
>>>> cfe-commits at cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>>>
>>>
>>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130509/05034018/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: block-comment-fix2.patch
Type: application/octet-stream
Size: 5407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130509/05034018/attachment.obj>
More information about the cfe-commits
mailing list