]> granicus.if.org Git - clang/commit
[CodeGen] Attach function attributes to Objective-C and OpenMP
authorAkira Hatanaka <ahatanaka@apple.com>
Wed, 28 Oct 2015 02:30:47 +0000 (02:30 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Wed, 28 Oct 2015 02:30:47 +0000 (02:30 +0000)
commitbbd65ed663dd96688ddd10876815b167d733257b
treede5cf515903b790a0ef3f8a57e63009d5fd742c8
parent0661119664d24ca1c5fadfaa1f5cd375bdc3f114
[CodeGen] Attach function attributes to Objective-C and OpenMP
functions.

This commit fixes a bug in CGOpenMPRuntime.cpp and CGObjC.cpp where
some of the function attributes are not attached to newly created
functions.

rdar://problem/20828324

Differential Revision: http://reviews.llvm.org/D13928

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251476 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
test/CodeGenObjCXX/property-object-reference-2.mm