]> granicus.if.org Git - clang/commit
Revert "[ObjC] Allow declaring __weak pointer fields in C structs in
authorAkira Hatanaka <ahatanaka@apple.com>
Mon, 12 Mar 2018 17:05:06 +0000 (17:05 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Mon, 12 Mar 2018 17:05:06 +0000 (17:05 +0000)
commitb031fdc9b7dbd9c7f942d8060a4f00d63f3c9af2
tree62b604ce2bff678653220977583fc0dde61fcad5
parent691196ab66d3e8f1e27a08a314fecd54d5aedc83
Revert "[ObjC] Allow declaring __weak pointer fields in C structs in
ARC."

This reverts commit r327206 as there were test failures caused by this
patch.

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20180312/221427.html

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327294 91177308-0d34-0410-b5e6-96231b3b80d8
18 files changed:
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
include/clang/AST/Type.h
lib/AST/ASTImporter.cpp
lib/AST/Decl.cpp
lib/AST/DeclCXX.cpp
lib/AST/Type.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGNonTrivialStruct.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaDecl.cpp
lib/Serialization/ASTReaderDecl.cpp
lib/Serialization/ASTWriter.cpp
lib/Serialization/ASTWriterDecl.cpp
test/CodeGenObjC/nontrivial-c-struct-exception.m
test/CodeGenObjC/weak-in-c-struct.m [deleted file]