We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18945d6 commit bada60aCopy full SHA for bada60a
llvm/tools/llvm-undname/llvm-undname.cpp
@@ -18,6 +18,7 @@
18
#include "llvm/Support/CommandLine.h"
19
#include "llvm/Support/InitLLVM.h"
20
#include "llvm/Support/Process.h"
21
+#include "llvm/Support/WithColor.h"
22
#include "llvm/Support/raw_ostream.h"
23
#include <cstdio>
24
#include <cstring>
@@ -44,7 +45,7 @@ static void demangle(const std::string &S) {
44
45
outs() << ResultBuf << "\n";
46
outs().flush();
47
} else {
- errs() << "Error: Invalid mangled name\n";
48
+ WithColor::error() << "Invalid mangled name\n";
49
}
50
std::free(ResultBuf);
51
0 commit comments