]> granicus.if.org Git - clang/commit
Fix generation of obj-c @encoding for members with zero size.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 15 May 2011 00:11:35 +0000 (00:11 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sun, 15 May 2011 00:11:35 +0000 (00:11 +0000)
commit0c6f8260f7428b81f14f65a0d75cb44bc1d3cd3f
tree3dee68bfb342ab34c6379d160176e6e59c70c2f7
parentffb945ffb5d29b80fd93649c3572b6d87abce3fc
Fix generation of obj-c @encoding for members with zero size.
Also follow gcc in that arrays of elements with zero size are encoded as arrays with zero elements.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131369 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp
test/CodeGenObjC/encode-test.m