From 06eb10dadfaeaadc5d0d95d38bea4bfb5253e077 Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Thu, 10 Oct 2024 03:26:04 -0500 Subject: [flang][driver] rename flang-new to flang (#110023) This does a global rename from `flang-new` to `flang`. I also removed/changed any TODOs that I found related to making this change. --------- Co-authored-by: H. Vetinari Co-authored-by: Andrzej Warzynski --- flang/lib/Frontend/CompilerInvocation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'flang/lib/Frontend/CompilerInvocation.cpp') diff --git a/flang/lib/Frontend/CompilerInvocation.cpp b/flang/lib/Frontend/CompilerInvocation.cpp index 2154b9a..849c6f5 100644 --- a/flang/lib/Frontend/CompilerInvocation.cpp +++ b/flang/lib/Frontend/CompilerInvocation.cpp @@ -66,8 +66,8 @@ CompilerInvocationBase::~CompilerInvocationBase() = default; static bool parseShowColorsArgs(const llvm::opt::ArgList &args, bool defaultColor = true) { // Color diagnostics default to auto ("on" if terminal supports) in the - // compiler driver `flang-new` but default to off in the frontend driver - // `flang-new -fc1`, needing an explicit OPT_fdiagnostics_color. + // compiler driver `flang` but default to off in the frontend driver + // `flang -fc1`, needing an explicit OPT_fdiagnostics_color. // Support both clang's -f[no-]color-diagnostics and gcc's // -f[no-]diagnostics-colors[=never|always|auto]. enum { @@ -900,7 +900,7 @@ static bool parseDiagArgs(CompilerInvocation &res, llvm::opt::ArgList &args, } } - // Default to off for `flang-new -fc1`. + // Default to off for `flang -fc1`. res.getFrontendOpts().showColors = parseShowColorsArgs(args, /*defaultDiagColor=*/false); -- cgit v1.1