Skip to content
Commit ff11a44f authored by Angel Garcia Gomez's avatar Angel Garcia Gomez
Browse files

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

Summary: 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.

Reviewers: alexfh

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D14238

llvm-svn: 251807
parent 493edbbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment