turn off tracing by default, change golden (#381)

* turn off tracing by default, change golden

* Update executable_semantics/main.cpp

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>

* Update executable_semantics/main.cpp

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>

* merge with trunk, update goldens

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
Jeremy G. Siek
2021-03-16 09:03:10 -04:00
committed by GitHub
co-authored by Jon Meow
parent ced98ef021
commit 7c4fcd3fa5
49 changed files with 7 additions and 9873 deletions
+3 -3
View File
@@ -16,13 +16,13 @@ int main(int argc, char* argv[]) {
using llvm::cl::desc;
using llvm::cl::opt;
opt<bool> quietOption("quiet", desc("Disable tracing"));
opt<bool> trace_option("trace", desc("Enable tracing"));
opt<std::string> inputFileName(llvm::cl::Positional, desc("<input file>"),
llvm::cl::Required);
llvm::cl::ParseCommandLineOptions(argc, argv);
if (quietOption) {
Carbon::tracing_output = false;
if (trace_option) {
Carbon::tracing_output = true;
}
std::variant<Carbon::AST, Carbon::SyntaxErrorCode> astOrError =