diff options
author | Brad Richardson <everythingfunctional@protonmail.com> | 2024-10-10 03:26:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 09:26:04 +0100 |
commit | 06eb10dadfaeaadc5d0d95d38bea4bfb5253e077 (patch) | |
tree | 42b5711a645b0bde645aa374445afe83c8b84aac /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | f1eac7761704fa4e16c2619a84890baad380fdce (diff) | |
download | llvm-06eb10dadfaeaadc5d0d95d38bea4bfb5253e077.zip llvm-06eb10dadfaeaadc5d0d95d38bea4bfb5253e077.tar.gz llvm-06eb10dadfaeaadc5d0d95d38bea4bfb5253e077.tar.bz2 |
[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 <h.vetinari@gmx.com>
Co-authored-by: Andrzej Warzynski <andrzej.warzynski@arm.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | flang/lib/Frontend/CompilerInvocation.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |