llvm-project/mlir/include
Mehdi Amini 13331477c0 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
2020-06-15 20:28:07 +00:00
..
mlir Make OpOperand constructor private (NFC) 2020-06-15 20:28:07 +00:00
mlir-c Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00