Make changing of function argument types possible
authorSven Brauch <svenbrauch@googlemail.com>
Sun, 26 Jun 2011 13:53:33 +0000 (15:53 +0200)
committerSven Brauch <svenbrauch@googlemail.com>
Sun, 26 Jun 2011 13:59:23 +0000 (15:59 +0200)
commit9bff199d7d586d71027fa1a81932eff83c57f03c
tree5aaa5472f17c73bb69c5ea255189ec61a30f3eef
parent6ca65654d34874fe7a93b487dcd81709091946fd
Make changing of function argument types possible

This adds an optional argument to the addArgument function of
functionType, which specifies where the argument is being inserted.
Thus, you can modify types by removing and re-adding them. Note that you
have to re-assign the type to the declaration again after doing so.

REVIEW:101762
language/duchain/types/functiontype.cpp
language/duchain/types/functiontype.h