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 1a4d983 commit 75b989eCopy full SHA for 75b989e
llvm/lib/Support/JSON.cpp
@@ -516,7 +516,7 @@ bool Parser::parseNumber(char First, Value &Out) {
516
errno = 0;
517
int64_t I = std::strtoll(S.c_str(), &End, 10);
518
if (End == S.end() && errno != ERANGE) {
519
- Out = int64_t(I);
+ Out = I;
520
return true;
521
}
522
// strtroull has a special handling for negative numbers, but in this
0 commit comments