How does C++ support create class declarations?

Andreas Pakulat apaku at gmx.de
Mon Feb 18 22:11:36 UTC 2008


On 18.02.08 22:30:20, David Nolden wrote:
> On Monday 18 February 2008 21:56:12 Andreas Pakulat wrote:
> > Thats from a simple "class Foo {};" apparently. What I don't quite
> > understand here is that there's no Declaration dumped by DumpChain,
> > while apparently it got created:
> >
> > kdevelop(31278)/kdevelop (cpp support) ContextBuilder::buildContexts: built
> > top-level context with 1 declarations and 0 included files
> >
> > Andreas
> 
> This looks that strange because of simplified environment matching. You 
> shouldn't care about that thing for python. 

Ok, I'll simply ignore that :)

> If you want to experiment, you should better do it in test_duchain.cpp, 
> because simplified matching isn't used there, or you can turn it off in the 
> initialization of CppLanguageSupport.

Thanks for the hint. That looks really promising. Yeah, should help me
understand how C++ creates contexts and declarations.

Andreas

-- 
You are always busy.




More information about the KDevelop-devel mailing list