llvm-project
27d09e68 - [SandboxIR] Make some instruction constructors private (#119901)

Commit
329 days ago
[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
Author
vporpo
Parents
Loading