constify BeforeThanCompare<SourceRange>::operator()

David Blaikie dblaikie at gmail.com
Wed Sep 24 09:04:40 PDT 2014


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/1c243529/attachment.html>


More information about the cfe-commits mailing list