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

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Wed May 7 10:21:57 PDT 2025


================
@@ -3485,8 +3496,20 @@ void OmpStructureChecker::CheckReductionObjects(
   }
 }
 
+static bool CheckSymbolSupportsType(const Scope &scope,
+    const parser::CharBlock &name, const DeclTypeSpec &type) {
+  if (const auto &symbol{scope.FindSymbol(name)}) {
----------------
kparzysz wrote:

`const auto &` -> `const auto *`

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


More information about the flang-commits mailing list