forked from OSchip/llvm-project
Replace usage of llvm::utostr_32 with just llvm::utostr. While this is less efficient, its unclear that the one place using the _32 version was doing so for efficiency.
llvm-svn: 259316
This commit is contained in:
parent
3b428cb764
commit
f42e031c79
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue