code completion - question
Roberto Raggi
raggi at cli.di.unipi.it
Mon Feb 18 20:08:03 UTC 2002
hello Gustl,
the method CppCodeCompletion::getMethodBody search the current method body..
the word 'const' is removed for match constant methods like
class::method(...) const { ...
PS: at the moment simpleparser & getMethodBody are really dummy.. now i'm
working on an incremental parser so we can support namespace, pointer
indirection level, etc..
ciao robe
On Monday 18 February 2002 00:12, August Hörandl wrote:
> - there are some places were "const" is removed from the
> expression -- is there any reason that volatile isn't removed
>
> - the remove of "const" is/could be wrong - example:
> ClassA f(SomeClass x);
> ClassB f(const SomeClass x);
>
> f(x). what to display ? isn't c++ a strange language ;-)
>
>
> but for now code completion works great - many thanks to roberto
>
> Gustl
More information about the KDevelop-devel
mailing list