[flang-commits] [flang] [mlir] [Flang][MLIR][OpenMP] Allow setting OMP_MAP_PTR_AND_OBJ by frontends (PR #84328)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Thu Mar 7 07:40:15 PST 2024


================
@@ -943,7 +947,7 @@ bool ClauseProcessor::processMap(
               asFortran.str(), bounds, {},
               static_cast<
                   std::underlying_type_t<llvm::omp::OpenMPOffloadMappingFlags>>(
----------------
kparzysz wrote:

Could you perhaps add a "using" alias for the underlying type and use it here? This would improve the readability a bit.

https://github.com/llvm/llvm-project/pull/84328


More information about the flang-commits mailing list