mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 01:18:14 +00:00
Generate AST when importing a cpp file (#4790)
Ignore the AST and support a single Cpp import, for now. Report cpp compilation errors and warnings. Part of #4666
This commit is contained in:
1 parent
f5f6ae214d
commit
5b70a3ea91
16 files changed
+481
-25
No files matched your search
@@ -841,8 +841,8 @@ auto CompileSubcommand::Run(DriverEnv& driver_env) -> DriverResult {
|
||||
|
||||
// Execute the actual checking.
|
||||
CARBON_VLOG_TO(driver_env.vlog_stream, "*** Check::CheckParseTrees ***\n");
|
||||
Check::CheckParseTrees(check_units, options_.prelude_import,
|
||||
driver_env.vlog_stream);
|
||||
Check::CheckParseTrees(check_units, options_.prelude_import, driver_env.fs,
|
||||
driver_env.vlog_stream, driver_env.fuzzing);
|
||||
CARBON_VLOG_TO(driver_env.vlog_stream,
|
||||
"*** Check::CheckParseTrees done ***\n");
|
||||
for (auto& unit : units) {
|
||||
|
||||
Reference in new issue
Block a user