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 c9bfb44 commit c51acefCopy full SHA for c51acef
clang-tools-extra/clang-tidy/bugprone/NarrowingConversionsCheck.cpp
@@ -260,7 +260,7 @@ static IntegerRange createFromType(const ASTContext &Context,
260
llvm::APSInt LowerValue(PrecisionBits + 2, /*isUnsigned*/ false);
261
LowerValue.setBit(PrecisionBits);
262
LowerValue.setSignBit();
263
- return {std::move(LowerValue), UpperValue};
+ return {LowerValue, UpperValue};
264
}
265
assert(T.isInteger() && "Unexpected builtin type");
266
uint64_t TypeSize = Context.getTypeSize(&T);
0 commit comments