[cfe-commits] r96306 - in /cfe/trunk: lib/AST/ASTImporter.cpp test/ASTMerge/Inputs/interface1.m test/ASTMerge/Inputs/interface2.m test/ASTMerge/interface.m

Douglas Gregor dgregor at apple.com
Mon Feb 15 18:19:27 PST 2010


On Feb 15, 2010, at 5:30 PM, Fariborz Jahanian <fjahanian at apple.com>  
wrote:

> You need to import ivars and properties too.

Right. I'm hoping that we'll get these when we import all of the Decls  
in the interface's DeclContext.

> On Feb 15, 2010, at 5:20 PM, Douglas Gregor wrote:
>
>>
>> +
>> +  // Import all of the members of this class.
>> +  for (DeclContext::decl_iterator FromMem = D->decls_begin(),
>> +                               FromMemEnd = D->decls_end();
>> +       FromMem != FromMemEnd;
>> +       ++FromMem)
>> +    Importer.Import(*FromMem);
>
> What are you importing here which is not being imported by others?
>
> - Fariborz
>
>>



More information about the cfe-commits mailing list