[all-commits] [llvm/llvm-project] 727168: [CFIFixup] Add a default constructor to BlockFlags...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Fri Jan 31 23:31:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7271681286ec0eb8e1b0dc9982b3914701715d7f
      https://github.com/llvm/llvm-project/commit/7271681286ec0eb8e1b0dc9982b3914701715d7f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/CFIFixup.cpp

  Log Message:
  -----------
  [CFIFixup] Add a default constructor to BlockFlags (NFC) (#125296)

This patch adds a default constructor to BlockFlags to initialize its
members to false, placing initializers close to the member
declarations.

Note that once C++20 is available in our codebase, we can replace
the explicit default constructor with:

  bool Reachable : 1 = true;
  :



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