diff options
author | Eric Liu <ioeric@google.com> | 2018-05-09 21:35:52 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2018-05-09 21:35:52 +0000 |
commit | 2e538089fa3761a44cab65c640e93fb8b399f9a0 (patch) | |
tree | c451824c176061b166b2e92e814d95b201a3d1ef /llvm/tools/llvm-objcopy/Object.cpp | |
parent | 1608ca6d644783f24e852448422d0f3a14ff4011 (diff) | |
download | bcm5719-llvm-2e538089fa3761a44cab65c640e93fb8b399f9a0.tar.gz bcm5719-llvm-2e538089fa3761a44cab65c640e93fb8b399f9a0.zip |
Add SourceManagerForFile helper which sets up SourceManager and dependencies for a single file with code snippet
Summary: This can be used to create a virtual environment (incl. VFS, source manager) for code snippets.
Reviewers: sammccall, klimek
Reviewed By: sammccall
Subscribers: klimek, mgorny, cfe-commits
Differential Revision: https://reviews.llvm.org/D46176
llvm-svn: 331923
Diffstat (limited to 'llvm/tools/llvm-objcopy/Object.cpp')
0 files changed, 0 insertions, 0 deletions