[all-commits] [llvm/llvm-project] a5c89b: Frontend: Migrate to FileEntryRef in CompilerInsta...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Wed Dec 9 13:33:09 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a5c89bb02195a97aa71a4033336d9864098c764f
https://github.com/llvm/llvm-project/commit/a5c89bb02195a97aa71a4033336d9864098c764f
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-12-09 (Wed, 09 Dec 2020)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Frontend/CompilerInstance.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list