[all-commits] [llvm/llvm-project] ba7cf9: [ModuleInliner] Initialize variables (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Dec 2 13:31:27 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba7cf9d18a0d8726885ab87df3cf3fa5c68c34c7
      https://github.com/llvm/llvm-project/commit/ba7cf9d18a0d8726885ab87df3cf3fa5c68c34c7
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M llvm/lib/Analysis/InlineOrder.cpp

  Log Message:
  -----------
  [ModuleInliner] Initialize variables (NFC)

This patch initializes all class variables in InlineOrder.cpp for
safety just in case we miss them in constructors.  Currently, all
these variables are properly initialized in their respective
constructors.

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




More information about the All-commits mailing list