[flang-commits] [flang] [flang] Move parser invocations into ParserActions (PR #130309)

Kajetan Puchalski via flang-commits flang-commits at lists.llvm.org
Fri Mar 7 10:20:32 PST 2025


================
@@ -0,0 +1,65 @@
+//===- ParserActions.h -------------------------------------------*- C++-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// Coding style: https://mlir.llvm.org/getting_started/DeveloperGuide/
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef FORTRAN_PARSER_ACTIONS_H_
+#define FORTRAN_PARSER_ACTIONS_H_
+
+#include <string>
+
+namespace llvm {
+    class raw_string_ostream;
+    class raw_ostream;
+    class StringRef;
+} // namespace llvm
+
+namespace Fortran::lower {
+    class LoweringBridge;
+} // namespace Fortran::lower
+
+namespace Fortran::parser {
+    class Parsing;
+    class AllCookedSources;
+} // namespace Fortran::parser
+
+namespace lower::pft {
+    class Program;
+} // namespace lower::pft
----------------
mrkajetanp wrote:

Ah sorry about that!

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


More information about the flang-commits mailing list