[flang-commits] [flang] [flang] fix one more compilation issue on aarch64. (PR #83258)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Wed Feb 28 04:47:41 PST 2024


https://github.com/ergawy created https://github.com/llvm/llvm-project/pull/83258

I used `class` instead of `struct` for `SymbolMap`.

>From 93b82774e5e6530b76d2fd20a7cf671adc0eb13c Mon Sep 17 00:00:00 2001
From: ergawy <kareem.ergawy at amd.com>
Date: Wed, 28 Feb 2024 06:45:44 -0600
Subject: [PATCH] [flang] fix one more compilation issue on aarch64.

I used `class` instead of `struct` for `SymbolMap`.
---
 flang/include/flang/Lower/AbstractConverter.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flang/include/flang/Lower/AbstractConverter.h b/flang/include/flang/Lower/AbstractConverter.h
index 944430a1548839..32e7a5e2b04061 100644
--- a/flang/include/flang/Lower/AbstractConverter.h
+++ b/flang/include/flang/Lower/AbstractConverter.h
@@ -53,7 +53,7 @@ class DerivedTypeSpec;
 
 namespace lower {
 class SymMap;
-class SymbolBox;
+struct SymbolBox;
 namespace pft {
 struct Variable;
 }



More information about the flang-commits mailing list