[all-commits] [llvm/llvm-project] 1cc3b1: [fir] Get rid of the global option in FIRBuilder

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Nov 29 08:08:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cc3b135aa61a31a7f7e488dd720e29bd8907bfc
      https://github.com/llvm/llvm-project/commit/1cc3b135aa61a31a7f7e488dd720e29bd8907bfc
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2021-11-29 (Mon, 29 Nov 2021)

  Changed paths:
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp

  Log Message:
  -----------
  [fir] Get rid of the global option in FIRBuilder

Replace the global option `nameLengthHashSize` with a constexpr
with the same name. The option was not used in fir-dev so switching
to a constexpr is fine.

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list