mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 14:36:07 +00:00

It turns out that several implementations go through the trouble of setting up a SourceManager and Lexer and abstracting this into a function makes usage easier. Also abstracts SourceManager-independent ranges out of tooling::Refactoring and provides a convenience function to create them from line ranges. llvm-svn: 181997