aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-05-08 09:04:14 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-05-10 18:34:29 -0500
commitbcc2021efdab6148fed03899648731e1cda8cfa8 (patch)
treeb8ca34f4d8d69cde726a96a9e085e8f37aaffa22 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent16a74c3595054aad0e72e175b6481b4196545f0a (diff)
downloadllvm-bcc2021efdab6148fed03899648731e1cda8cfa8.zip
llvm-bcc2021efdab6148fed03899648731e1cda8cfa8.tar.gz
llvm-bcc2021efdab6148fed03899648731e1cda8cfa8.tar.bz2
[libc] Prevent changing ownership of the port once opened
The Port type has stipuations that the same exact mask used to open it needs to close it. This can currently be violated by calling its move constructor to put it somewhere else. We still need the move constructor to handle the open and closing functions. So, we simply make these constructors private and only allow a few classes to have move priviledges on it. Reviewed By: JonChesterfield, lntue Differential Revision: https://reviews.llvm.org/D150118
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions