Moving of 3.4 into KDE/3.5/

Kris Wong wongk at seapine.com
Fri Mar 16 19:32:09 UTC 2007


> What does your patch do?

It is an update to a previous patch I submitted that allows the switch
header/implementation code to find matching definitions/declarations in
files that have different names (i.e., myheader.h/somesource.cpp).  The
current implementation iterates through the project files in the code
model rather than searching from the global namespace node, as was
suggested by David.  This patch corrects this implementation and is both
more correct and more efficient.  It also handles some scenarios that
the current implementation does not, such as:

multiple matching symbols in the same project (think Driver::Driver in
languages/java/ and lib/cppparser)
using statements (to import namespaces)

Kris Wong




More information about the KDevelop-devel mailing list