This is an archive of the discontinued LLVM Phabricator instance.

Add missing cases to FunctionDecl::isThisDeclarationADefinition
AbandonedPublic

Authored by sepavloff on Oct 31 2016, 7:00 AM.

Details

Reviewers
None
Summary

This change adds to the method isThisDeclarationADefinition additional
conditions under which a function declaration becomes a definition.
These includes the case of a declaration that does not have a function
body because the latter is not instantiated yet.

Event Timeline

sepavloff updated this revision to Diff 76395.Oct 31 2016, 7:00 AM
sepavloff retitled this revision from to Add missing cases to FunctionDecl::isThisDeclarationADefinition.
sepavloff updated this object.
sepavloff added a subscriber: cfe-commits.
sepavloff abandoned this revision.Feb 27 2017, 4:16 AM

These changes are incorporated into D30170.