[PATCH] D44095: [ObjC] Allow declaring __weak pointer fields in C structs in ObjC-ARC
Akira Hatanaka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 5 08:23:04 PST 2018
ahatanak created this revision.
ahatanak added reviewers: rjmccall, doug.gregor, rsmith.
This patch makes changes that are needed to allow `__weak` fields in C structs when ARC is enabled.
Repository:
rC Clang
https://reviews.llvm.org/D44095
Files:
include/clang/AST/Decl.h
include/clang/AST/Type.h
lib/AST/Decl.cpp
lib/AST/Type.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGNonTrivialStruct.cpp
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaDecl.cpp
test/CodeGenObjC/nontrivial-c-struct-exception.m
test/CodeGenObjC/weak-in-c-struct.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44095.137009.patch
Type: text/x-patch
Size: 27450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180305/44055a3e/attachment-0001.bin>
More information about the cfe-commits
mailing list