[Mlir-commits] [mlir] 0709eeb - [mlir] Followup fix, added noexcept in wrong place
Adrian Kuegel
llvmlistbot at llvm.org
Tue Mar 5 01:52:54 PST 2024
Author: Adrian Kuegel
Date: 2024-03-05T09:52:41Z
New Revision: 0709eeb583bd6cc029019c6ec2b3e210ff6d402d
URL: https://github.com/llvm/llvm-project/commit/0709eeb583bd6cc029019c6ec2b3e210ff6d402d
DIFF: https://github.com/llvm/llvm-project/commit/0709eeb583bd6cc029019c6ec2b3e210ff6d402d.diff
LOG: [mlir] Followup fix, added noexcept in wrong place
Added:
Modified:
mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h b/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
index 2104ffc9fd3263..1507c62e3fe07e 100644
--- a/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
+++ b/mlir/include/mlir/IR/BuiltinAttributeInterfaces.h
@@ -35,8 +35,8 @@ struct ElementsAttrIndexer {
public:
ElementsAttrIndexer()
: ElementsAttrIndexer(/*isContiguous=*/true, /*isSplat=*/true) {}
- ElementsAttrIndexer(ElementsAttrIndexer &&rhs)
- : isContiguous(rhs.isContiguous), isSplat(rhs.isSplat) noexcept {
+ ElementsAttrIndexer(ElementsAttrIndexer &&rhs) noexcept
+ : isContiguous(rhs.isContiguous), isSplat(rhs.isSplat) {
if (isContiguous)
conState = rhs.conState;
else
More information about the Mlir-commits
mailing list