]> granicus.if.org Git - clang/commit
CodeGen: fix a case of incorrect checks for ivars
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 25 Oct 2017 03:58:15 +0000 (03:58 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 25 Oct 2017 03:58:15 +0000 (03:58 +0000)
commitfcbf0e691cc9ae899dc900f9634e18a20b2b141c
tree8441d4373facf373a29f83fca71d7a5d3bc52e7e
parentda2ddee084120e1d31c63ee8a1f281980182bea8
CodeGen: fix a case of incorrect checks for ivars

Ensure that we check the ivar containing decl for the DLL storage
attribute rather than the ivar itself as the dll storage is associated
to the interface decl not the ivar decl.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316545 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/dllstorage.m