summaryrefslogtreecommitdiff
path: root/include/Support/StringExtras.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Support/StringExtras.h')
-rw-r--r--include/Support/StringExtras.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Support/StringExtras.h b/include/Support/StringExtras.h
index 2c50c1cd5b..2ebac81935 100644
--- a/include/Support/StringExtras.h
+++ b/include/Support/StringExtras.h
@@ -18,6 +18,8 @@
#include <string>
#include <stdio.h>
+namespace llvm {
+
static inline std::string utohexstr(uint64_t X) {
char Buffer[40];
char *BufPtr = Buffer+39;
@@ -95,4 +97,6 @@ static inline std::string ftostr(double V) {
return Buffer;
}
+} // End llvm namespace
+
#endif