Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
93bbd32c
Commit
93bbd32c
authored
Aug 13, 2010
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The core-declarator needs to be visited after the postfix declarators.
parent
6b5b9be7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/shared/cplusplus/Bind.cpp
src/shared/cplusplus/Bind.cpp
+1
-1
No files found.
src/shared/cplusplus/Bind.cpp
View file @
93bbd32c
...
...
@@ -216,10 +216,10 @@ FullySpecifiedType Bind::declarator(DeclaratorAST *ast, const FullySpecifiedType
for
(
PtrOperatorListAST
*
it
=
ast
->
ptr_operator_list
;
it
;
it
=
it
->
next
)
{
type
=
this
->
ptrOperator
(
it
->
value
,
type
);
}
type
=
this
->
coreDeclarator
(
ast
->
core_declarator
,
type
);
for
(
PostfixDeclaratorListAST
*
it
=
ast
->
postfix_declarator_list
;
it
;
it
=
it
->
next
)
{
type
=
this
->
postfixDeclarator
(
it
->
value
,
type
);
}
type
=
this
->
coreDeclarator
(
ast
->
core_declarator
,
type
);
for
(
SpecifierListAST
*
it
=
ast
->
post_attribute_list
;
it
;
it
=
it
->
next
)
{
type
=
this
->
specifier
(
it
->
value
,
type
);
}
...
...
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