[flang-commits] [flang] [flang] Add parsing of DO CONCURRENT REDUCE clause (PR #92518)

Peter Klausler via flang-commits flang-commits at lists.llvm.org
Fri May 17 10:15:33 PDT 2024


================
@@ -683,6 +683,89 @@ class DoContext {
     }
   }
 
+  void CheckReduce(
+      const parser::LocalitySpec::Reduce &reduce) const {
+    const parser::ReduceOperation &reduceOperation =
----------------
klausler wrote:

See https://github.com/klausler/llvm-project/blob/main/flang/docs/C%2B%2Bstyle.md.  We use a more modern and safer style in f18 outside of lowering.  Specifically, always use braced initialization.

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


More information about the flang-commits mailing list