mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 02:10:34 +00:00
Propagate llvm::vfs::FileSystem from driver_env to Clang (#4537)
As discussed in #4530 . This required switching to using `llvm::IntrusiveRefCntPtr` in a number of places. --------- Co-authored-by: Josh L <josh11b@users.noreply.github.com>
This commit is contained in:
1 parent
825714f06b
commit
47bfa375af
23 files changed
+80
-56
No files matched your search
@@ -364,7 +364,7 @@ class CompilationUnit {
|
||||
// Loads source and lexes it. Returns true on success.
|
||||
auto RunLex() -> void {
|
||||
LogCall("SourceBuffer::MakeFromFileOrStdin", "source", [&] {
|
||||
source_ = SourceBuffer::MakeFromFileOrStdin(driver_env_->fs,
|
||||
source_ = SourceBuffer::MakeFromFileOrStdin(*driver_env_->fs,
|
||||
input_filename_, *consumer_);
|
||||
});
|
||||
if (mem_usage_) {
|
||||
|
||||
Reference in new issue
Block a user