This is an archive of the discontinued LLVM Phabricator instance.

Fix DIObjCProperty getter and setter swapped during parsing
Needs ReviewPublic

Authored by hasyimibhar on May 16 2021, 8:18 PM.

Details

Summary

DIObjCProperty getter and setter are swapped during parsing, which is caused by the wrong order of arguments, where setter was declared before getter in LLParser.cpp. The patch is based on the one suggested by Daniel Pfister, but without changing MetadataLoader.

Diff Detail

Unit TestsFailed

Event Timeline

hasyimibhar created this revision.May 16 2021, 8:18 PM
hasyimibhar requested review of this revision.May 16 2021, 8:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 16 2021, 8:18 PM
hasyimibhar edited the summary of this revision. (Show Details)May 16 2021, 8:25 PM
hasyimibhar edited the summary of this revision. (Show Details)

Rebase to main

hasyimibhar edited the summary of this revision. (Show Details)Dec 12 2021, 4:18 AM
hasyimibhar added a reviewer: RKSimon.

@hasyimibhar Are you still intending to fix this?