[all-commits] [llvm/llvm-project] 085d79: [flang] Make the symbol count used for collating s...

Pete Steinfeld via All-commits all-commits at lists.llvm.org
Fri Mar 12 11:06:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 085d794c5f54512bf76e8bc9f83b9fd5f5e97130
      https://github.com/llvm/llvm-project/commit/085d794c5f54512bf76e8bc9f83b9fd5f5e97130
  Author: Peter Steinfeld <psteinfeld at nvidia.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M flang/include/flang/Semantics/symbol.h

  Log Message:
  -----------
  [flang] Make the symbol count used for collating symbols static

I changed the declaration of symbolCount_ in the type Symbols to be
static to avoid possible problems in the future when we might have
multiple objects of type Symbols.  Thanks to Peter for pointing out the
need for this change.

Differential Revision: https://reviews.llvm.org/D98357




More information about the All-commits mailing list