[cfe-commits] [PATCH] Refactor some utility functions from DiagnosticRenderer.cpp into SourceManager

Matt Beaumont-Gay matthewbg at google.com
Fri Jun 15 18:24:55 PDT 2012


Simple refactoring, no functionality change. My use case is getting
better PresumedLocs in my (out-of-tree) specialized diagnostic client;
I suspect there may be others who will find one or more of these
useful. I renamed getDiagnosticPresumedLoc to
getPresumedLocForDisplay; better suggestions there or wordsmithing on
the doxyment would be appreciated.

-Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: source-loc-utility-refactor.patch
Type: application/octet-stream
Size: 8483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120615/62727dd1/attachment.obj>


More information about the cfe-commits mailing list