[all-commits] [llvm/llvm-project] 27d09e: [SandboxIR] Make some instruction constructors pri...

vporpo via All-commits all-commits at lists.llvm.org
Fri Dec 13 10:19:38 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27d09e683f59707e82be0500930fbab1c82a29b4
      https://github.com/llvm/llvm-project/commit/27d09e683f59707e82be0500930fbab1c82a29b4
  Author: vporpo <vporpodas at google.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/Instruction.h

  Log Message:
  -----------
  [SandboxIR] Make some instruction constructors private (#119901)

This patch changes the visibility of the constructors of CatchSwitchInst
ResumeInst and SwitchInst to private instead of public. This is similar
to all other Sandbox IR instructions. The constructor is private to
force the user go through the Context create* API.

The issue was exposed by:
https://github.com/llvm/llvm-project/pull/119824



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