HomePhabricator

__cxa_demangle: Fix constructor cv qualifier handling

Description

__cxa_demangle: Fix constructor cv qualifier handling

Summary:
Previously if we parsed a constructor then we set parsed_ctor_dtor_cv
to true and never reseted it. This causes issue when a template argument
references a constructor (e.g. type of lambda defined inside a
constructor) as we will have the parsed_ctor_dtor_cv flag set what will
cause issues when parsing later arguments.

Reviewers: EricWF, compnerd

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D33385

Details

Committed
tberghammerMay 24 2017, 4:21 AM
Differential Revision
D33385: __cxa_demangle: Fix constructor cv qualifier handling
Parents
rL303736: Strip trailing whitespace. NFCI.
Branches
Unknown
Tags
Unknown