aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2022-03-28 21:21:37 +0000
committerDavid Blaikie <dblaikie@gmail.com>2022-03-28 21:51:27 +0000
commit1d1cf9b6c42c820f38eb776cb7504564441a23ee (patch)
tree66de1734fb1d7b4455a188cb5eb73a7adddba3b1 /llvm/lib/Demangle/ItaniumDemangle.cpp
parentff60af91ac0bbab12dd5ff5dc9b78bc1636f2d86 (diff)
downloadllvm-1d1cf9b6c42c820f38eb776cb7504564441a23ee.zip
llvm-1d1cf9b6c42c820f38eb776cb7504564441a23ee.tar.gz
llvm-1d1cf9b6c42c820f38eb776cb7504564441a23ee.tar.bz2
ItaniumDemangler: Update BinaryExpr::match to match the ctor
Not sure if this could use more testing, but hopefully this is adequate.
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");