Skip to content

Commit 167a0dc

Browse files
WIP: Enable demangling of cp expression production
1 parent 0812cde commit 167a0dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libcxxabi/src/demangle/ItaniumDemangle.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,6 +3357,7 @@ const typename AbstractManglingParser<
33573357
{"cl", OperatorInfo::Call, false, Node::Prec::Postfix, "operator()"},
33583358
{"cm", OperatorInfo::Binary, false, Node::Prec::Comma, "operator,"},
33593359
{"co", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator~"},
3360+
{"cp", OperatorInfo::Call, false, Node::Prec::Postfix, "operator()"},
33603361
{"cv", OperatorInfo::CCast, false, Node::Prec::Cast, "operator"}, // C Cast
33613362
{"dV", OperatorInfo::Binary, false, Node::Prec::Assign, "operator/="},
33623363
{"da", OperatorInfo::Del, /*Ary*/ true, Node::Prec::Unary,

llvm/include/llvm/Demangle/ItaniumDemangle.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,6 +3357,7 @@ const typename AbstractManglingParser<
33573357
{"cl", OperatorInfo::Call, false, Node::Prec::Postfix, "operator()"},
33583358
{"cm", OperatorInfo::Binary, false, Node::Prec::Comma, "operator,"},
33593359
{"co", OperatorInfo::Prefix, false, Node::Prec::Unary, "operator~"},
3360+
{"cp", OperatorInfo::Call, false, Node::Prec::Postfix, "operator()"},
33603361
{"cv", OperatorInfo::CCast, false, Node::Prec::Cast, "operator"}, // C Cast
33613362
{"dV", OperatorInfo::Binary, false, Node::Prec::Assign, "operator/="},
33623363
{"da", OperatorInfo::Del, /*Ary*/ true, Node::Prec::Unary,

0 commit comments

Comments
 (0)