[flang-commits] [flang] [flang][openacc] Allow open acc routines from other modules. (PR #136012)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Tue May 6 10:50:52 PDT 2025
================
@@ -137,22 +140,28 @@ class OpenACCRoutineDeviceTypeInfo {
void set_isGang(bool value = true) { isGang_ = value; }
unsigned gangDim() const { return gangDim_; }
void set_gangDim(unsigned value) { gangDim_ = value; }
- const std::string *bindName() const {
- return bindName_ ? &*bindName_ : nullptr;
+ const std::variant<std::string, SymbolRef> *bindName() const {
----------------
klausler wrote:
Oh, now I see, you redeclared the `bindName_` component to be a variant. Never mind.
https://github.com/llvm/llvm-project/pull/136012
More information about the flang-commits
mailing list