[flang-commits] [flang] [flang][CLI] Have the CLI hint the flag to disable a warning (PR #144767)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Wed Jun 25 12:23:51 PDT 2025


================
@@ -223,14 +226,17 @@ bool FrontendAction::generateRtTypeTables() {
 
 template <unsigned N>
 bool FrontendAction::reportFatalErrors(const char (&message)[N]) {
+  bool echoSourceLine{true};
+  const auto &features{instance->getInvocation().getFortranOpts().features};
----------------
tarunprabhu wrote:

Could we use a more concrete type here instead of `auto`? The type of features is not obvious from the initializer.

https://github.com/llvm/llvm-project/pull/144767


More information about the flang-commits mailing list