[flang-commits] [flang] 93c9413 - [flang][f18] Remove unimplemented options (NFC)
Andrzej Warzynski via flang-commits
flang-commits at lists.llvm.org
Thu Nov 5 10:38:14 PST 2020
Author: Andrzej Warzynski
Date: 2020-11-05T18:35:35Z
New Revision: 93c94139e61467a01697dd3b53ac5bd8e989a49d
URL: https://github.com/llvm/llvm-project/commit/93c94139e61467a01697dd3b53ac5bd8e989a49d
DIFF: https://github.com/llvm/llvm-project/commit/93c94139e61467a01697dd3b53ac5bd8e989a49d.diff
LOG: [flang][f18] Remove unimplemented options (NFC)
These options are in practice passes to the external tool (defined with
F18_FC), i.e. fall into "unrecognised" category. No need to keep them
among other options that are actually parsed.
Added:
Modified:
flang/tools/f18/f18.cpp
Removed:
################################################################################
diff --git a/flang/tools/f18/f18.cpp b/flang/tools/f18/f18.cpp
index dfdb93c187d5..02ebf069d428 100644
--- a/flang/tools/f18/f18.cpp
+++ b/flang/tools/f18/f18.cpp
@@ -525,7 +525,6 @@ int main(int argc, char *const argv[]) {
driver.measureTree = true;
} else if (arg == "-fdebug-instrumented-parse") {
options.instrumentedParse = true;
- } else if (arg == "-fdebug-semantics") {
} else if (arg == "-fdebug-no-semantics") {
driver.debugNoSemantics = true;
} else if (arg == "-funparse") {
@@ -565,8 +564,6 @@ int main(int argc, char *const argv[]) {
} else {
driver.F18_FCArgs.push_back("-fdefault-integer-8");
}
- } else if (arg == "-Mlargearray") {
- } else if (arg == "-Mnolargearray") {
} else if (arg == "-flarge-sizes") {
defaultKinds.set_sizeIntegerKind(8);
} else if (arg == "-fno-large-sizes") {
More information about the flang-commits
mailing list