constify BeforeThanCompare<SourceRange>::operator()
Graham Lee
graham at iamleeg.com
Wed Sep 24 08:47:51 PDT 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140924/964f4790/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SourceManager.h.patch
Type: application/octet-stream
Size: 531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140924/964f4790/attachment.obj>
More information about the cfe-commits
mailing list