[flang-commits] [flang] [flang] add includes to AbstractConverter.h after #171501 (PR #171987)
via flang-commits
flang-commits at lists.llvm.org
Fri Dec 12 02:53:18 PST 2025
https://github.com/jeanPerier created https://github.com/llvm/llvm-project/pull/171987
Utils.h included StatementContext.h and FIRBuilder.h indirectly in AbstractConverter.h.
Makes these includes direct.
>From 721fde240f6af5998c76ff07faccde8fd35a513f Mon Sep 17 00:00:00 2001
From: Jean Perier <jperier at nvidia.com>
Date: Fri, 12 Dec 2025 02:51:23 -0800
Subject: [PATCH] [flang] add includes to AbstractConverter.h after #171501
---
flang/include/flang/Lower/AbstractConverter.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/flang/include/flang/Lower/AbstractConverter.h b/flang/include/flang/Lower/AbstractConverter.h
index 8109ebdc75688..1b19807bff0cf 100644
--- a/flang/include/flang/Lower/AbstractConverter.h
+++ b/flang/include/flang/Lower/AbstractConverter.h
@@ -15,9 +15,11 @@
#include "flang/Lower/LoweringOptions.h"
#include "flang/Lower/PFTDefs.h"
+#include "flang/Lower/StatementContext.h"
#include "flang/Lower/Support/Utils.h"
#include "flang/Lower/SymbolMap.h"
#include "flang/Optimizer/Builder/BoxValue.h"
+#include "flang/Optimizer/Builder/FIRBuilder.h"
#include "flang/Optimizer/Dialect/FIRAttr.h"
#include "flang/Semantics/symbol.h"
#include "flang/Support/Fortran.h"
@@ -34,7 +36,6 @@ class StateStack;
namespace fir {
class KindMapping;
-class FirOpBuilder;
} // namespace fir
namespace Fortran {
More information about the flang-commits
mailing list