aboutsummaryrefslogtreecommitdiffstats
path: root/source/Core/Highlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/Highlighter.cpp')
-rw-r--r--source/Core/Highlighter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Core/Highlighter.cpp b/source/Core/Highlighter.cpp
index 0b0aa969bf65..c3c614aac210 100644
--- a/source/Core/Highlighter.cpp
+++ b/source/Core/Highlighter.cpp
@@ -13,6 +13,7 @@
#include "lldb/Utility/StreamString.h"
using namespace lldb_private;
+using namespace lldb_private::ansi;
void HighlightStyle::ColorStyle::Apply(Stream &s, llvm::StringRef value) const {
s << m_prefix << value << m_suffix;
@@ -20,8 +21,8 @@ void HighlightStyle::ColorStyle::Apply(Stream &s, llvm::StringRef value) const {
void HighlightStyle::ColorStyle::Set(llvm::StringRef prefix,
llvm::StringRef suffix) {
- m_prefix = lldb_utility::ansi::FormatAnsiTerminalCodes(prefix);
- m_suffix = lldb_utility::ansi::FormatAnsiTerminalCodes(suffix);
+ m_prefix = FormatAnsiTerminalCodes(prefix);
+ m_suffix = FormatAnsiTerminalCodes(suffix);
}
void DefaultHighlighter::Highlight(const HighlightStyle &options,