forked from OSchip/llvm-project
[flang][f18] Remove "-fdebug-resolve-names"
This option doesn't enable any unique feature/code-patch. Also, it is neither tested nor documented. Differential Revision: https://reviews.llvm.org/D91537
This commit is contained in:
parent
44a4f93925
commit
6c02835d6c
|
@ -99,7 +99,6 @@ struct DriverOptions {
|
||||||
bool dumpParseTree{false};
|
bool dumpParseTree{false};
|
||||||
bool dumpPreFirTree{false};
|
bool dumpPreFirTree{false};
|
||||||
bool dumpSymbols{false};
|
bool dumpSymbols{false};
|
||||||
bool debugResolveNames{false};
|
|
||||||
bool debugNoSemantics{false};
|
bool debugNoSemantics{false};
|
||||||
bool debugModuleWriter{false};
|
bool debugModuleWriter{false};
|
||||||
bool measureTree{false};
|
bool measureTree{false};
|
||||||
|
@ -247,9 +246,9 @@ std::string CompileFortran(std::string path, Fortran::parser::Options options,
|
||||||
if (driver.measureTree) {
|
if (driver.measureTree) {
|
||||||
MeasureParseTree(parseTree);
|
MeasureParseTree(parseTree);
|
||||||
}
|
}
|
||||||
if (!driver.debugNoSemantics || driver.debugResolveNames ||
|
if (!driver.debugNoSemantics || driver.dumpSymbols ||
|
||||||
driver.dumpSymbols || driver.dumpUnparseWithSymbols ||
|
driver.dumpUnparseWithSymbols || driver.getDefinition ||
|
||||||
driver.getDefinition || driver.getSymbolsSources) {
|
driver.getSymbolsSources) {
|
||||||
Fortran::semantics::Semantics semantics{semanticsContext, parseTree,
|
Fortran::semantics::Semantics semantics{semanticsContext, parseTree,
|
||||||
parsing.cooked().AsCharBlock(), driver.debugModuleWriter};
|
parsing.cooked().AsCharBlock(), driver.debugModuleWriter};
|
||||||
semantics.Perform();
|
semantics.Perform();
|
||||||
|
@ -517,8 +516,6 @@ int main(int argc, char *const argv[]) {
|
||||||
driver.dumpPreFirTree = true;
|
driver.dumpPreFirTree = true;
|
||||||
} else if (arg == "-fdebug-dump-symbols") {
|
} else if (arg == "-fdebug-dump-symbols") {
|
||||||
driver.dumpSymbols = true;
|
driver.dumpSymbols = true;
|
||||||
} else if (arg == "-fdebug-resolve-names") {
|
|
||||||
driver.debugResolveNames = true;
|
|
||||||
} else if (arg == "-fdebug-module-writer") {
|
} else if (arg == "-fdebug-module-writer") {
|
||||||
driver.debugModuleWriter = true;
|
driver.debugModuleWriter = true;
|
||||||
} else if (arg == "-fdebug-measure-parse-tree") {
|
} else if (arg == "-fdebug-measure-parse-tree") {
|
||||||
|
@ -646,7 +643,6 @@ int main(int argc, char *const argv[]) {
|
||||||
<< " -fdebug-dump-provenance\n"
|
<< " -fdebug-dump-provenance\n"
|
||||||
<< " -fdebug-dump-parse-tree\n"
|
<< " -fdebug-dump-parse-tree\n"
|
||||||
<< " -fdebug-dump-symbols\n"
|
<< " -fdebug-dump-symbols\n"
|
||||||
<< " -fdebug-resolve-names\n"
|
|
||||||
<< " -fdebug-instrumented-parse\n"
|
<< " -fdebug-instrumented-parse\n"
|
||||||
<< " -fdebug-no-semantics disable semantic checks\n"
|
<< " -fdebug-no-semantics disable semantic checks\n"
|
||||||
<< " -fget-definition\n"
|
<< " -fget-definition\n"
|
||||||
|
|
Loading…
Reference in New Issue