Skip to content

[flang] fix one more compilation issue on aarch64. #83258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

ergawy
Copy link
Member

@ergawy ergawy commented Feb 28, 2024

I used class instead of struct for SymbolMap.

I used `class` instead of `struct` for `SymbolMap`.
@llvmbot llvmbot added flang Flang issues not falling into any other category flang:fir-hlfir labels Feb 28, 2024
@ergawy
Copy link
Member Author

ergawy commented Feb 28, 2024

Sorry for the mistake. Hopefully, this does it.

@llvmbot
Copy link
Member

llvmbot commented Feb 28, 2024

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

Author: Kareem Ergawy (ergawy)

Changes

I used class instead of struct for SymbolMap.


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

1 Files Affected:

  • (modified) flang/include/flang/Lower/AbstractConverter.h (+1-1)
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;
 }

Copy link
Contributor

@kiranchandramohan kiranchandramohan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@ergawy ergawy merged commit bb0ff15 into llvm:main Feb 28, 2024
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.

3 participants