This is an archive of the discontinued LLVM Phabricator instance.

Adds a isDefinitionKind to FunctionDecl
AbandonedPublic

Authored by gchatelet on Oct 9 2019, 6:05 AM.

Details

Reviewers
None
Summary

Tentatively fixing the bug described in https://reviews.llvm.org/D68028#inline-614831.
This is not a good solution though since isThisDeclarationADefinition still doesn't work as expected.

Having isThisDeclarationADefinition use isDefinitionKind is breaking a lot of tests.
I believe there is broken code out there relying on the current behavior.

Event Timeline

gchatelet created this revision.Oct 9 2019, 6:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 9 2019, 6:05 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
gchatelet abandoned this revision.Oct 11 2019, 1:34 AM