aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-04 12:30:48 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-09 13:28:29 -0800
commita5c89bb02195a97aa71a4033336d9864098c764f (patch)
tree267774eaef87778fa14304e71582312d5d31e2a3 /clang/lib/Frontend/CompilerInvocation.cpp
parent8b23b3ab3aea28b91e5aa48f29fe9eb1828515a3 (diff)
downloadllvm-a5c89bb02195a97aa71a4033336d9864098c764f.zip
llvm-a5c89bb02195a97aa71a4033336d9864098c764f.tar.gz
llvm-a5c89bb02195a97aa71a4033336d9864098c764f.tar.bz2
Frontend: Migrate to FileEntryRef in CompilerInstance::InitializeSourceManager, NFC
Use `FileManager::getVirtualFileRef` to get the virtual file for stdin, and add an overload of `SourceManager::overrideFileContents` that takes a `FileEntryRef`, migrating `CompilerInstance::InitializeSourceManager`. Differential Revision: https://reviews.llvm.org/D92680
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions