Skip to content

Commit 0e5bde0

Browse files
committed
[mlir] Remove noexcept again from move constructors.
LLVM does not have the corresponding ClangTidy check enabled, so we should not be fixing such findings.
1 parent d70254a commit 0e5bde0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/include/mlir/IR/BuiltinAttributeInterfaces.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct ElementsAttrIndexer {
3535
public:
3636
ElementsAttrIndexer()
3737
: ElementsAttrIndexer(/*isContiguous=*/true, /*isSplat=*/true) {}
38-
ElementsAttrIndexer(ElementsAttrIndexer &&rhs) noexcept
38+
ElementsAttrIndexer(ElementsAttrIndexer &&rhs)
3939
: isContiguous(rhs.isContiguous), isSplat(rhs.isSplat) {
4040
if (isContiguous)
4141
conState = rhs.conState;

mlir/lib/Bindings/Python/TransformInterpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace py = pybind11;
2323
namespace {
2424
struct PyMlirTransformOptions {
2525
PyMlirTransformOptions() { options = mlirTransformOptionsCreate(); };
26-
PyMlirTransformOptions(PyMlirTransformOptions &&other) noexcept {
26+
PyMlirTransformOptions(PyMlirTransformOptions &&other) {
2727
options = other.options;
2828
other.options.ptr = nullptr;
2929
}

0 commit comments

Comments
 (0)