HomePhabricator

Demangler: Fix constructor cv qualifier handling

Description

Demangler: Fix constructor cv qualifier handling

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.

Differential Revision: https://reviews.llvm.org/D33385
libcxxabi change: https://reviews.llvm.org/rL303737

Details

Committed
tberghammerMay 24 2017, 4:29 AM
Differential Revision
D33385: __cxa_demangle: Fix constructor cv qualifier handling
Parents
rL303737: __cxa_demangle: Fix constructor cv qualifier handling
Branches
Unknown
Tags
Unknown