aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
-rw-r--r--llvm/lib/Demangle/ItaniumDemangle.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Demangle/ItaniumDemangle.cpp b/llvm/lib/Demangle/ItaniumDemangle.cpp
index 5d2fb2b..42d4d39 100644
--- a/llvm/lib/Demangle/ItaniumDemangle.cpp
+++ b/llvm/lib/Demangle/ItaniumDemangle.cpp
@@ -172,6 +172,10 @@ struct DumpVisitor {
return printStr("TemplateParamKind::Template");
}
}
+ void print(llvm::itanium_demangle::Node::Prec) {
+ // Do nothing, the printing functions handle precedence with parentheses
+ // already.
+ }
void newLine() {
printStr("\n");