mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 16:26:39 +00:00
Pass the flag instead of using a global. (#893)
Arguably missed in #769 Note, this is reminding me we have more class members to rename for `_`, but I felt it's best to use the new naming instead of adding more to clean up.
This commit is contained in:
1 parent
a3eac75a5b
commit
a9eed3dbf1
17 files changed
+43
-79
No files matched your search
@@ -18,8 +18,8 @@ using SyntaxErrorCode = int;
|
||||
|
||||
// Returns the AST representing the contents of the named file, or an error code
|
||||
// if parsing fails. Allocations go into the provided arena.
|
||||
auto Parse(Nonnull<Arena*> arena, const std::string& input_file_name)
|
||||
-> std::variant<Carbon::AST, SyntaxErrorCode>;
|
||||
auto Parse(Nonnull<Arena*> arena, const std::string& input_file_name,
|
||||
bool trace) -> std::variant<Carbon::AST, SyntaxErrorCode>;
|
||||
|
||||
} // namespace Carbon
|
||||
|
||||
|
||||
Reference in new issue
Block a user