[flang-commits] [flang] [flang][openmp]Add UserReductionDetails and use in DECLARE REDUCTION (PR #140066)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Wed Jun 4 07:56:02 PDT 2025


================
@@ -290,6 +290,10 @@ class SemanticsContext {
   // Top-level ProgramTrees are owned by the SemanticsContext for persistence.
   ProgramTree &SaveProgramTree(ProgramTree &&);
 
+  // Store (and get a reference to the stored string) for mangled names
+  // used for OpenMP DECLARE REDUCTION.
+  std::string &StoreUserReductionName(const std::string &name);
----------------
tblah wrote:

https://github.com/llvm/llvm-project/pull/140066/commits/9a7d1ab21ddf3d08e6dce851b1f2fab1ceef502a

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


More information about the flang-commits mailing list