constify BeforeThanCompare<SourceRange>::operator()

David Blaikie dblaikie at gmail.com
Wed Sep 24 09:45:43 PDT 2014


Committed in r218385.

Thanks!

On Wed, Sep 24, 2014 at 9:39 AM, Graham Lee <graham at iamleeg.com> wrote:

> Yes please, I don't have the commit bit.
>
> Thanks for your help! :)
> Graham.
>
>
> David Blaikie <dblaikie at gmail.com> , 24/9/2014 5:04 PM:
>
> Sounds good to me. Please commit (or let me know if you need me/someone
> else to commit for you)
>
> On Wed, Sep 24, 2014 at 8:47 AM, Graham Lee <graham at iamleeg.com> wrote:
>
> Hi,
>
> this patch simply adds the const qualifier to the operator() function in
> SourceManager.h. The qualifier is present for the SourceLocation version of
> the comparator but not the SourceRange version. No build problems were
> introduced by doing this, and it solved a problem I had in building my own
> tool :).
>
> Thanks,
> Graham.
>
> _______________________________________________
> 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/20140924/62b22901/attachment.html>


More information about the cfe-commits mailing list