Skip to content

Conversation

@jeanPerier
Copy link
Contributor

Missing headers were caught by windows build bots:

In #171501, I removed IterationSpace.h include from Utils.h, and IterationSpace.h was itself including SymbolMap.h and FIRBuilder.h that are required here.

@llvmbot llvmbot added flang Flang issues not falling into any other category flang:fir-hlfir labels Dec 12, 2025
@llvmbot
Copy link
Member

llvmbot commented Dec 12, 2025

@llvm/pr-subscribers-flang-fir-hlfir

Author: None (jeanPerier)

Changes

Missing headers were caught by windows build bots:

In #171501, I removed IterationSpace.h include from Utils.h, and IterationSpace.h was itself including SymbolMap.h and FIRBuilder.h that are required here.


Full diff: https://github.com/llvm/llvm-project/pull/171983.diff

1 Files Affected:

  • (modified) flang/include/flang/Lower/ConvertVariable.h (+2-7)
diff --git a/flang/include/flang/Lower/ConvertVariable.h b/flang/include/flang/Lower/ConvertVariable.h
index 31f3c72c5c86c..e939d8c88c9f9 100644
--- a/flang/include/flang/Lower/ConvertVariable.h
+++ b/flang/include/flang/Lower/ConvertVariable.h
@@ -18,6 +18,8 @@
 #define FORTRAN_LOWER_CONVERT_VARIABLE_H
 
 #include "flang/Lower/Support/Utils.h"
+#include "flang/Lower/SymbolMap.h"
+#include "flang/Optimizer/Builder/FIRBuilder.h"
 #include "flang/Optimizer/Dialect/FIRAttr.h"
 #include "flang/Semantics/symbol.h"
 #include "mlir/IR/Value.h"
@@ -27,13 +29,6 @@ namespace cuf {
 class DataAttributeAttr;
 }
 
-namespace fir {
-class ExtendedValue;
-class FirOpBuilder;
-class GlobalOp;
-class FortranVariableFlagsAttr;
-} // namespace fir
-
 namespace Fortran {
 namespace semantics {
 class Scope;

@jeanPerier jeanPerier enabled auto-merge (squash) December 12, 2025 10:14
@jeanPerier jeanPerier disabled auto-merge December 12, 2025 10:29
@jeanPerier jeanPerier enabled auto-merge (squash) December 12, 2025 10:29
@jeanPerier jeanPerier merged commit 9c5744c into llvm:main Dec 12, 2025
10 checks passed
@jeanPerier jeanPerier deleted the fix_missing_include branch December 12, 2025 10:30
anonymouspc pushed a commit to anonymouspc/llvm that referenced this pull request Dec 15, 2025
…lvm#171983)

Missing headers were caught by windows build bots:
-
https://lab.llvm.org/buildbot/#/builders/222/builds/817/steps/6/logs/stdio
-
https://lab.llvm.org/buildbot/#/builders/207/builds/10970/steps/5/logs/stdio

In llvm#171501, I removed IterationSpace.h include from Utils.h, and
IterationSpace.h was itself including SymbolMap.h and FIRBuilder.h that
are required here.
Priyanshu3820 pushed a commit to Priyanshu3820/llvm-project that referenced this pull request Dec 20, 2025
…lvm#171983)

Missing headers were caught by windows build bots:
-
https://lab.llvm.org/buildbot/#/builders/222/builds/817/steps/6/logs/stdio
-
https://lab.llvm.org/buildbot/#/builders/207/builds/10970/steps/5/logs/stdio

In llvm#171501, I removed IterationSpace.h include from Utils.h, and
IterationSpace.h was itself including SymbolMap.h and FIRBuilder.h that
are required here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flang:fir-hlfir flang Flang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants