[cfe-dev] How to create a SourceLocation from line number?

Welson Sun welson.sun at gmail.com
Wed Jan 7 13:16:07 PST 2015


For a rewriting project, I need to replace one line text with another text.
How do I create a SourceLocation or SourceRange for a given line number?

Thanks,
- Welson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150107/34068f14/attachment.html>


More information about the cfe-dev mailing list