summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ItaniumMangle.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-01-31 04:20:03 +0000
committerCraig Topper <craig.topper@gmail.com>2016-01-31 04:20:03 +0000
commitf42e031c79678ab79e1e7c4c86c9edad764b046c (patch)
treeb90e13dc1237d6e999cbece7ad8acfb0344c8936 /clang/lib/AST/ItaniumMangle.cpp
parent3b428cb76472b0c4706e9075f5977233a79a3786 (diff)
downloadbcm5719-llvm-f42e031c79678ab79e1e7c4c86c9edad764b046c.tar.gz
bcm5719-llvm-f42e031c79678ab79e1e7c4c86c9edad764b046c.zip
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
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
-rw-r--r--clang/lib/AST/ItaniumMangle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp
index 3f6b682f238..c9673c6f26b 100644
--- a/clang/lib/AST/ItaniumMangle.cpp
+++ b/clang/lib/AST/ItaniumMangle.cpp
@@ -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");
OpenPOWER on IntegriCloud