diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-12-04 12:30:48 -0800 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-12-09 13:28:29 -0800 |
commit | a5c89bb02195a97aa71a4033336d9864098c764f (patch) | |
tree | 267774eaef87778fa14304e71582312d5d31e2a3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8b23b3ab3aea28b91e5aa48f29fe9eb1828515a3 (diff) | |
download | llvm-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