]> granicus.if.org Git - clang/commit
Fix bug in Obj-C type encoding for structures.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 17 Oct 2008 07:30:50 +0000 (07:30 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 17 Oct 2008 07:30:50 +0000 (07:30 +0000)
commit82a6cfbc421cc99c5b7313271f399f7ef95056ec
treedce44d42b75e8c6b3011de9c53423c3e8624c28e
parent502a4a1ce4c34cf78c8182d9798da0a51d9b7302
Fix bug in Obj-C type encoding for structures.
 - Mechanism for detecting if a structure should be expanded wasn't
   reliable. Simplified by just keeping track of what we should be
   expanding.

 - This fixes a bug in using NSInvocation to invoke a method which
   returned a structure, which in used by Key Value Observing, which
   in the end, caused a miscompile in poor little Sketch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57675 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp