mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01: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:
@@ -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