mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +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:
@@ -12,8 +12,9 @@
|
||||
namespace Carbon::Check {
|
||||
|
||||
// Parses the C++ code and report errors and warnings.
|
||||
auto ImportCppFile(Context& context, SemIRLoc loc, llvm::StringRef file_path,
|
||||
llvm::StringRef code) -> void;
|
||||
auto ImportCppFile(Context& context, SemIRLoc loc,
|
||||
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs,
|
||||
llvm::StringRef file_path, llvm::StringRef code) -> void;
|
||||
|
||||
} // namespace Carbon::Check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user