[ObjC] Use empty Objective-C collection literal constants when
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 15 Apr 2017 06:42:00 +0000 (06:42 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 15 Apr 2017 06:42:00 +0000 (06:42 +0000)
commit4d53a1cb31c4950b2a30af3f4f6148f7216ffd92
tree7fe753daacdc165e2f75093e8126f1fe6d619dc0
parentd26d8839d8dd4b0513ca6251ab8f341149446c69
[ObjC] Use empty Objective-C collection literal constants when
available.

Original patch by Douglas Gregor with minor modifications.

This recommits r300389, which broke bots because there have been API
changes since the original patch was written.

rdar://problem/20689633

llvm-svn: 300396
clang/include/clang/Basic/ObjCRuntime.h
clang/lib/CodeGen/CGObjC.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/test/CodeGenObjC/empty-collection-literals.m [new file with mode: 0644]