We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392d03f commit 8a7fa1eCopy full SHA for 8a7fa1e
mlir/lib/IR/Location.cpp
@@ -52,8 +52,8 @@ struct FileLineColRangeAttrStorage final
52
FileLineColRangeAttrStorage::totalSizeToAlloc<unsigned>(locEnc - 1);
53
auto *rawMem =
54
allocator.allocate(byteSize, alignof(FileLineColRangeAttrStorage));
55
- auto *result = ::new (rawMem) FileLineColRangeAttrStorage(
56
- std::move(std::get<0>(tblgenKey)), locEnc - 1);
+ auto *result = ::new (rawMem)
+ FileLineColRangeAttrStorage(std::get<0>(tblgenKey), locEnc - 1);
57
if (numInArray > 0) {
58
ArrayRef<unsigned> elements = std::get<1>(tblgenKey);
59
result->startLine = elements[0];
0 commit comments