[all-commits] [llvm/llvm-project] 433ca3: [Flang][Lower] Introduce SymMapScope helper class ...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Sep 10 03:09:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 433ca3ebbef50002bec716ef2c6d6a82db71048d
      https://github.com/llvm/llvm-project/commit/433ca3ebbef50002bec716ef2c6d6a82db71048d
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M flang/include/flang/Lower/SymbolMap.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp

  Log Message:
  -----------
  [Flang][Lower] Introduce SymMapScope helper class (NFC) (#107866)

This patch creates a simple RAII wrapper class for `SymMap` to make it
easier to use and prevent a missing matching `popScope()` for a
`pushScope()` call on simple use cases.

Some push-pop pairs are replaced with instances of the new class by this
patch.



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