[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:55:41 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/83e8fb1852fff31072b586d6667978d84b4a5c4f

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


More information about the flang-commits mailing list