mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:24:46 +01:00
Add Support for #include in cpp files imported from Carbon (#4809)
Propagate `FileSystem` to `buildASTFromCodeWithArgs`(). Part of #4666
This commit is contained in:
@@ -358,7 +358,7 @@ auto CheckUnit::ImportCppPackages() -> void {
|
||||
return;
|
||||
}
|
||||
|
||||
ImportCppFile(context_, import.node_id, source_buffer->filename(),
|
||||
ImportCppFile(context_, import.node_id, fs_, source_buffer->filename(),
|
||||
source_buffer->text());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user