Replace usage of llvm::utostr_32 with just llvm::utostr. While this is less efficient...
authorCraig Topper <craig.topper@gmail.com>
Sun, 31 Jan 2016 04:20:03 +0000 (04:20 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 31 Jan 2016 04:20:03 +0000 (04:20 +0000)
llvm-svn: 259316

clang/lib/AST/ItaniumMangle.cpp

index 3f6b682..c9673c6 100644 (file)
@@ -1788,7 +1788,7 @@ void CXXNameMangler::mangleQualifiers(Qualifiers Quals) {
     if (Context.getASTContext().addressSpaceMapManglingFor(AS)) {
       //  <target-addrspace> ::= "AS" <address-space-number>
       unsigned TargetAS = Context.getASTContext().getTargetAddressSpace(AS);
-      ASString = "AS" + llvm::utostr_32(TargetAS);
+      ASString = "AS" + llvm::utostr(TargetAS);
     } else {
       switch (AS) {
       default: llvm_unreachable("Not a language specific address space");