I don't know how exactly it is handled in C++ atm, but those
things should
create own contexts.
Those should be of type DUContext::Other, not a new type,
because every
context that contains executable code(as opposed to only
declarations, like a
DUContext::Class), should be of type DUContext::Other.
This is good for consistency, and I don't see a reason why
we need a new
context-type for this, it would only make coding more
complicated, and the
added information is not needed.
They can still be differentiated by giving them fitting
identifiers.
greetings, David
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel
|