@@ -310,9 +310,9 @@ bool CodeGenAction::beginSourceFileAction() {
310310 lower::LoweringBridge lb = Fortran::lower::LoweringBridge::create (
311311 *mlirCtx, ci.getSemanticsContext (), defKinds,
312312 ci.getSemanticsContext ().intrinsics (),
313- ci.getSemanticsContext ().targetCharacteristics (),
314- Fortran::frontend::getAllCooked (ci), ci .getInvocation ().getTargetOpts ().triple ,
315- kindMap, ci.getInvocation ().getLoweringOpts (),
313+ ci.getSemanticsContext ().targetCharacteristics (), getAllCooked (ci),
314+ ci .getInvocation ().getTargetOpts ().triple , kindMap ,
315+ ci.getInvocation ().getLoweringOpts (),
316316 ci.getInvocation ().getFrontendOpts ().envDefaults ,
317317 ci.getInvocation ().getFrontendOpts ().features , targetMachine,
318318 ci.getInvocation ().getTargetOpts (), ci.getInvocation ().getCodeGenOpts ());
@@ -326,7 +326,7 @@ bool CodeGenAction::beginSourceFileAction() {
326326 }
327327
328328 // Create a parse tree and lower it to FIR
329- Fortran::frontend:: parseAndLowerTree (ci, lb);
329+ parseAndLowerTree (ci, lb);
330330
331331 // Fetch module from lb, so we can set
332332 mlirModule = lb.getModuleAndRelease ();
@@ -424,7 +424,7 @@ void PrintPreprocessedAction::executeAction() {
424424 llvm::raw_string_ostream outForPP{buf};
425425
426426 CompilerInstance &ci = this ->getInstance ();
427- Fortran::frontend:: formatOrDumpPrescanner (buf, outForPP, ci);
427+ formatOrDumpPrescanner (buf, outForPP, ci);
428428
429429 // If a pre-defined output stream exists, dump the preprocessed content there
430430 if (!ci.isOutputStreamNull ()) {
@@ -444,31 +444,31 @@ void PrintPreprocessedAction::executeAction() {
444444}
445445
446446void DebugDumpProvenanceAction::executeAction () {
447- Fortran::frontend:: dumpProvenance (this ->getInstance ());
447+ dumpProvenance (this ->getInstance ());
448448}
449449
450450void ParseSyntaxOnlyAction::executeAction () {}
451451
452452void DebugUnparseNoSemaAction::executeAction () {
453- Fortran::frontend:: debugUnparseNoSema (this ->getInstance (), llvm::outs ());
453+ debugUnparseNoSema (this ->getInstance (), llvm::outs ());
454454}
455455
456456void DebugUnparseAction::executeAction () {
457457 CompilerInstance &ci = this ->getInstance ();
458458 auto os{ci.createDefaultOutputFile (
459459 /* Binary=*/ false , /* InFile=*/ getCurrentFileOrBufferName ())};
460460
461- Fortran::frontend:: debugUnparseNoSema (ci, *os);
461+ debugUnparseNoSema (ci, *os);
462462 reportFatalSemanticErrors ();
463463}
464464
465465void DebugUnparseWithSymbolsAction::executeAction () {
466- Fortran::frontend:: debugUnparseWithSymbols (this ->getInstance ());
466+ debugUnparseWithSymbols (this ->getInstance ());
467467 reportFatalSemanticErrors ();
468468}
469469
470470void DebugUnparseWithModulesAction::executeAction () {
471- Fortran::frontend:: debugUnparseWithModules (this ->getInstance ());
471+ debugUnparseWithModules (this ->getInstance ());
472472 reportFatalSemanticErrors ();
473473}
474474
@@ -492,7 +492,7 @@ void DebugDumpAllAction::executeAction() {
492492 CompilerInstance &ci = this ->getInstance ();
493493
494494 // Dump parse tree
495- Fortran::frontend:: dumpTree (ci);
495+ dumpTree (ci);
496496
497497 if (!ci.getRtTyTables ().schemata ) {
498498 unsigned diagID = ci.getDiagnostics ().getCustomDiagID (
@@ -511,19 +511,19 @@ void DebugDumpAllAction::executeAction() {
511511}
512512
513513void DebugDumpParseTreeNoSemaAction::executeAction () {
514- Fortran::frontend:: dumpTree (this ->getInstance ());
514+ dumpTree (this ->getInstance ());
515515}
516516
517517void DebugDumpParseTreeAction::executeAction () {
518- Fortran::frontend:: dumpTree (this ->getInstance ());
518+ dumpTree (this ->getInstance ());
519519
520520 // Report fatal semantic errors
521521 reportFatalSemanticErrors ();
522522}
523523
524524void DebugMeasureParseTreeAction::executeAction () {
525525 CompilerInstance &ci = this ->getInstance ();
526- Fortran::frontend:: debugMeasureParseTree (ci, getCurrentFileOrBufferName ());
526+ debugMeasureParseTree (ci, getCurrentFileOrBufferName ());
527527}
528528
529529void DebugPreFIRTreeAction::executeAction () {
@@ -532,11 +532,11 @@ void DebugPreFIRTreeAction::executeAction() {
532532 return ;
533533 }
534534
535- Fortran::frontend:: dumpPreFIRTree (this ->getInstance ());
535+ dumpPreFIRTree (this ->getInstance ());
536536}
537537
538538void DebugDumpParsingLogAction::executeAction () {
539- Fortran::frontend:: debugDumpParsingLog (this ->getInstance ());
539+ debugDumpParsingLog (this ->getInstance ());
540540}
541541
542542void GetDefinitionAction::executeAction () {
@@ -1368,7 +1368,7 @@ void InitOnlyAction::executeAction() {
13681368void PluginParseTreeAction::executeAction () {}
13691369
13701370void DebugDumpPFTAction::executeAction () {
1371- Fortran::frontend:: dumpPreFIRTree (this ->getInstance ());
1371+ dumpPreFIRTree (this ->getInstance ());
13721372}
13731373
13741374Fortran::parser::Parsing &PluginParseTreeAction::getParsing () {
0 commit comments