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
dbffec2c
Commit
dbffec2c
authored
Oct 09, 2009
by
Roberto Raggi
Browse files
Handle ambiguous AST nodes.
parent
fd6e1858
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppfindreferences.cpp
View file @
dbffec2c
...
...
@@ -417,6 +417,24 @@ protected:
return
false
;
}
virtual
bool
visit
(
ExpressionOrDeclarationStatementAST
*
ast
)
{
accept
(
ast
->
declaration
);
return
false
;
}
virtual
bool
visit
(
FunctionDeclaratorAST
*
ast
)
{
accept
(
ast
->
parameters
);
for
(
SpecifierAST
*
spec
=
ast
->
cv_qualifier_seq
;
spec
;
spec
=
spec
->
next
)
accept
(
spec
);
accept
(
ast
->
exception_specification
);
return
false
;
}
private:
QFutureInterface
<
Utils
::
FileSearchResult
>
*
_future
;
Identifier
*
_id
;
// ### remove me
...
...
Write
Preview
Supports
Markdown
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