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
5cc32e10
Commit
5cc32e10
authored
Aug 16, 2010
by
Roberto Raggi
Browse files
Update the function's scope.
parent
29354ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Bind.cpp
View file @
5cc32e10
...
...
@@ -1724,6 +1724,8 @@ bool Bind::visit(SimpleDeclarationAST *ast)
setDeclSpecifiers
(
decl
,
type
);
if
(
Function
*
fun
=
decl
->
type
()
->
asFunctionType
())
{
fun
->
setScope
(
_scope
);
setDeclSpecifiers
(
fun
,
type
);
if
(
declaratorId
&&
declaratorId
->
name
)
fun
->
setName
(
declaratorId
->
name
->
name
);
// update the function name
...
...
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