mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
[demangler] Support for <data-member-prefix>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2631,6 +2631,8 @@ Node *Db::parseCtorDtorName(Node *&SoFar, NameState *State) {
|
||||
// ::= <prefix> <data-member-prefix>
|
||||
// extension ::= L
|
||||
//
|
||||
// <data-member-prefix> := <member source-name> [<template-args>] M
|
||||
//
|
||||
// <template-prefix> ::= <prefix> <template unqualified-name>
|
||||
// ::= <template-param>
|
||||
// ::= <substitution>
|
||||
@@ -2661,6 +2663,13 @@ Node *Db::parseNestedName(NameState *State) {
|
||||
while (!consumeIf('E')) {
|
||||
consumeIf('L'); // extension
|
||||
|
||||
// <data-member-prefix> := <member source-name> [<template-args>] M
|
||||
if (consumeIf('M')) {
|
||||
if (SoFar == nullptr)
|
||||
return nullptr;
|
||||
continue;
|
||||
}
|
||||
|
||||
// ::= <template-param>
|
||||
if (look() == 'T') {
|
||||
Node *TP = parseTemplateParam();
|
||||
|
||||
Reference in New Issue
Block a user