HomePhabricator

[IRGen] Fix an assert when __attribute__((used)) is used on an ObjC method

Authored by erik.pilkington on Sep 1 2020, 8:52 AM.

Description

[IRGen] Fix an assert when attribute((used)) is used on an ObjC method

This assert doesn't really make sense for functions in general, since they
start life as declarations, and there isn't really any reason to require them
to be defined before attributes are applied to them.

rdar://67895846

Details

Committed
erik.pilkingtonSep 2 2020, 9:19 AM
Parents
rGddd48cdba690: [ms] [llvm-ml] Add support for line continuations in MASM
Branches
Unknown
Tags
Unknown