Update all the APInt toStrings

Just went through and updated the rest of the APInt toString calls.
This should take care of them, I hope.
This commit is contained in:
Evan Wilde
2021-06-25 10:21:02 -07:00
parent 99237f6a65
commit 9bd93db2be
7 changed files with 38 additions and 36 deletions

View File

@@ -33,6 +33,7 @@
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/Hashing.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Errc.h"
@@ -1554,7 +1555,7 @@ InterfaceSubContextDelegateImpl::getCacheHash(StringRef useInterfacePath) {
// ensure that we compile all swift interface files with the option set.
unsigned(genericSubInvocation.getSILOptions().EnableOSSAModules));
return llvm::APInt(64, H).toString(36, /*Signed=*/false);
return llvm::toString(llvm::APInt(64, H), 36, /*Signed=*/false);
}
std::error_code