Page MenuHomePhabricator

[clang] Fix crash on broken parameter declarators

Authored by kadircet on Thu, Nov 25, 11:12 AM.

Diff Detail

Event Timeline

kadircet requested review of this revision.Thu, Nov 25, 11:12 AM
kadircet created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptThu, Nov 25, 11:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
hokein accepted this revision.Fri, Nov 26, 1:12 AM


1 ↗(On Diff #389851)

I'd place this test in Parser/cxx-keyword-identifiers.cpp since the crash is in the relevant code path.

5 ↗(On Diff #389851)

this can be simplified further: void bar(*decltype(1) aux);

This revision is now accepted and ready to land.Fri, Nov 26, 1:12 AM
This revision was automatically updated to reflect the committed changes.
kadircet marked 2 inline comments as done.