Page MenuHomePhabricator

Fix another crash in the redundant-void-arg check.

Authored by angelgarcia on Nov 2 2015, 8:14 AM.



The check was assuming that a definition of a function always has a body, but a declaration that explicitly defaults or deletes a function is a definition too.

Diff Detail

Event Timeline

angelgarcia updated this revision to Diff 38925.Nov 2 2015, 8:14 AM
angelgarcia retitled this revision from to Fix another crash in the redundant-void-arg check..
angelgarcia updated this object.
angelgarcia added a reviewer: alexfh.
angelgarcia added subscribers: cfe-commits, klimek.
alexfh accepted this revision.Nov 2 2015, 8:19 AM
alexfh edited edge metadata.

Thanks for the fix! LG

This revision is now accepted and ready to land.Nov 2 2015, 8:19 AM
angelgarcia closed this revision.Nov 2 2015, 8:20 AM