Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
2252e4b8
Commit
2252e4b8
authored
Apr 19, 2010
by
Christian Kamm
Browse files
CPlusPlus: Transfer cv qualifiers from Function to FullySpecifiedType.
Reviewed-by: Roberto Raggi
parent
debe9cc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Symbols.cpp
View file @
2252e4b8
...
...
@@ -289,7 +289,12 @@ bool Function::matchType0(const Type *otherType, TypeMatcher *matcher) const
}
FullySpecifiedType
Function
::
type
()
const
{
return
FullySpecifiedType
(
const_cast
<
Function
*>
(
this
));
}
{
FullySpecifiedType
ty
(
const_cast
<
Function
*>
(
this
));
ty
.
setConst
(
isConst
());
ty
.
setVolatile
(
isVolatile
());
return
ty
;
}
FullySpecifiedType
Function
::
returnType
()
const
{
return
_returnType
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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