summaryrefslogtreecommitdiff
path: root/lib/Support/Mangler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Mangler.cpp')
-rw-r--r--lib/Support/Mangler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Mangler.cpp b/lib/Support/Mangler.cpp
index 44c697d3d8..567fe05e32 100644
--- a/lib/Support/Mangler.cpp
+++ b/lib/Support/Mangler.cpp
@@ -16,6 +16,8 @@
#include "llvm/Type.h"
#include "Support/StringExtras.h"
+namespace llvm {
+
static char HexDigit(int V) {
return V < 10 ? V+'0' : V+'A'-10;
}
@@ -99,3 +101,4 @@ Mangler::Mangler(Module &m, bool addUnderscorePrefix)
FoundNames.insert(I->getName()); // Otherwise, keep track of name
}
+} // End llvm namespace