forked from qt-creator/qt-creator
Set the cv-qualifiers when instantiating template functions.
This commit is contained in:
@@ -143,6 +143,8 @@ protected:
|
||||
|
||||
Function *fun = _control->newFunction(0, name);
|
||||
fun->setScope(ty->scope());
|
||||
fun->setConst(ty->isConst());
|
||||
fun->setVolatile(ty->isVolatile());
|
||||
fun->setReturnType(returnType);
|
||||
for (unsigned i = 0; i < ty->argumentCount(); ++i) {
|
||||
Symbol *arg = ty->argumentAt(i);
|
||||
|
||||
Reference in New Issue
Block a user