[all-commits] [llvm/llvm-project] bc8143: [flang][OpenMP] Break up ResolveOmpObject for read...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Aug 7 13:30:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc814348ec0412362b062cb2928e5fc76d31bccb
      https://github.com/llvm/llvm-project/commit/bc814348ec0412362b062cb2928e5fc76d31bccb
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-08-07 (Thu, 07 Aug 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-directives.cpp

  Log Message:
  -----------
  [flang][OpenMP] Break up ResolveOmpObject for readability, NFC (#151957)

The function ResolveOmpObject had a lot of highly-indented code in two
variant visitors. Extract the visitors into their own functions, and
reformat the code. Replace !(||) with !&&! in a couple of places to make
the formatting a bit nicer. Use llvm::enumerate instead of manually
maintaining iteration index.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list