Commit debe9cc4 authored by Christian Kamm's avatar Christian Kamm
Browse files

CPlusPlus: Let functions know about their cv-qualifiers again.

Fixes function argument list code completion not completing the cv

Regression from 9efa5d94.

Task-number: QTCREATORBUG-1037
Reviewed-by: Roberto Raggi
parent 3ef8997f
......@@ -197,6 +197,9 @@ bool CheckDeclarator::visit(FunctionDeclaratorAST *ast)
FullySpecifiedType funTy(fun);
funTy = semantic()->check(ast->cv_qualifier_list, _scope, funTy);
_fullySpecifiedType = funTy;
return false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment