[flang-commits] [flang] [flang] [cuda] Move SetImplicityCUDADevice after symbols in block construct are converted to objects (PR #143791)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Jun 12 14:20:24 PDT 2025
================
@@ -2867,8 +2878,31 @@ void ScopeHandler::PopScope() {
// Entities that are not yet classified as objects or procedures are now
// assumed to be objects.
// TODO: Statement functions
+ bool inDeviceSubprogram{false};
+ Symbol *scopeSym{currScope().symbol()};
----------------
klausler wrote:
Does `scopeSym` need to be a pointer to mutable data?
https://github.com/llvm/llvm-project/pull/143791
More information about the flang-commits
mailing list