[flang-commits] [flang] [flang][openmp]Add UserReductionDetails and use in DECLARE REDUCTION (PR #140066)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Fri May 30 05:27:36 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);
----------------
kiranchandramohan wrote:
I was hoping we could get this to work without the requirement for a string storage like this.
https://github.com/llvm/llvm-project/pull/140066
More information about the flang-commits
mailing list