summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TailDuplicator.cpp
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2019-02-13 20:32:37 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2019-02-13 20:32:37 +0000
commit81d3f45137e115667d20e00eabff4dae7eba98c6 (patch)
tree5f570aeb4402ed631a68232d50195d4ec980f001 /llvm/lib/CodeGen/TailDuplicator.cpp
parent45195c873bc9fb97e7860167d030f58a93c21f39 (diff)
downloadbcm5719-llvm-81d3f45137e115667d20e00eabff4dae7eba98c6.tar.gz
bcm5719-llvm-81d3f45137e115667d20e00eabff4dae7eba98c6.zip
[Sema] Delay checking whether objc_designated_initializer is being applied to an init method
This fixes a regression that was caused by r335084, which reversed the order that attributes are applied. objc_method_family can change whether a method is an init method, so the order that these attributes are applied matters. The commit fixes this by delaying the init check until after all attributes have been applied. rdar://47829358 Differential revision: https://reviews.llvm.org/D58152 llvm-svn: 353976
Diffstat (limited to 'llvm/lib/CodeGen/TailDuplicator.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud