In r211438, thanks! On Jun 20, 2014, at 6:58 PM, Yiding Jia <[email protected]> wrote:
> add a test > > http://reviews.llvm.org/D4239 > > Files: > lib/Serialization/ASTWriterDecl.cpp > test/Index/index-pch-objc.m > > Index: lib/Serialization/ASTWriterDecl.cpp > =================================================================== > --- lib/Serialization/ASTWriterDecl.cpp > +++ lib/Serialization/ASTWriterDecl.cpp > @@ -1515,8 +1515,6 @@ > // ObjC Ivar > Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // getAccessControl > Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // getSynthesize > - // getBackingIvarReferencedInAccessor > - Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); > // Type Source Info > Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); > Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); > Index: test/Index/index-pch-objc.m > =================================================================== > --- /dev/null > +++ test/Index/index-pch-objc.m > @@ -0,0 +1,10 @@ > +// RUN: c-index-test -write-pch %t.pch %s > +// RUN: env LIBCLANG_NOTHREADS=1 c-index-test -index-tu %t.pch | FileCheck %s > + > +@interface SomeClass > +@property (retain) id foo; > +@end > +@implementation SomeClass > +@end > + > +// CHECK: [indexDeclaration]: kind: objc-ivar | name: _foo > <D4239.10717.patch> _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
