diff options
| author | Mehdi Amini <joker.eph@gmail.com> | 2020-06-15 00:51:48 +0000 |
|---|---|---|
| committer | Mehdi Amini <joker.eph@gmail.com> | 2020-06-15 20:28:07 +0000 |
| commit | 13331477c0d1aeb8f3c9f24b3d0487bc6fcaa225 (patch) | |
| tree | 5458ceffd0a6467ca50b9a7d00be1655b7d7a848 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7c93a19790c499b882871b4cf432c28c43ccb1ae (diff) | |
Make OpOperand constructor private (NFC)
This is intended to avoid programming mistake where a temporary OpOperand is
created, for example:
for (OpOperand user : result.getUsers()) {
It can be confusing for the user, in particular since in MLIR most classes are intended to
be copied around by value while they have reference semantics.
Differential Revision: https://reviews.llvm.org/D81815
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
