[flang-commits] [flang] [flang][OpenMP] Make OmpDirectiveNameModifier a distrinct type (PR #150768)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Wed Jul 30 06:21:34 PDT 2025
================
@@ -3469,13 +3469,20 @@ WRAPPER_CLASS(PauseStmt, std::optional<StopCode>);
// --- Common definitions
+#define INHERITED_WRAPPER_CLASS_BOILERPLATE(classname, basename) \
+ BOILERPLATE(classname); \
+ classname(decltype(basename::v) &&x) : basename(std::move(x)) {} \
----------------
tblah wrote:
nit: Could we instead just inherit all of the base class's constructor(s)? e.g.
```
using basename::basename;
```
https://github.com/llvm/llvm-project/pull/150768
More information about the flang-commits
mailing list