Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
754b1c0f
Commit
754b1c0f
authored
May 19, 2009
by
Roberto Raggi
Browse files
Set the cv-qualifiers when instantiating template functions.
parent
743e00f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/ResolveExpression.cpp
View file @
754b1c0f
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment