[flang-commits] [flang] [mlir] [flang][AIX] BIND(C) derived type alignment for AIX (PR #121505)
via flang-commits
flang-commits at lists.llvm.org
Tue Jan 7 00:33:32 PST 2025
================
@@ -391,6 +391,21 @@ class TypeConverter {
return callback(derivedType, results);
};
}
+ /// With callback of form: `std::optional<LogicalResult>(
+ /// T, SmallVectorImpl<Type> &, bool)`.
+ template <typename T, typename FnT>
+ std::enable_if_t<std::is_invocable_v<FnT, T, SmallVectorImpl<Type> &, bool>,
----------------
jeanPerier wrote:
I do not get why this new version is needed given `convertRecordType` is not passed directly to `addConversion` (a lambda is passed instead in TypeConverter.cpp).
https://github.com/llvm/llvm-project/pull/121505
More information about the flang-commits
mailing list