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.
Details
Details
- Reviewers
EricWF compnerd - Commits
- rG8bc9b88a241c: __cxa_demangle: Fix constructor cv qualifier handling
rGe3852fa4052c: Demangler: Fix constructor cv qualifier handling
rCXXA303737: __cxa_demangle: Fix constructor cv qualifier handling
rL303738: Demangler: Fix constructor cv qualifier handling
rL303737: __cxa_demangle: Fix constructor cv qualifier handling
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can you please ensure that you cross-port this into llvm/lib/Demangle/ItaniumDemangle.cpp?