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
7c2d3659
Commit
7c2d3659
authored
Sep 02, 2010
by
Christian Kamm
Browse files
C++: Fix an infinite loop in reportResult.
Done-with: Roberto Raggi
parent
28a3bd64
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/FindUsages.cpp
View file @
7c2d3659
...
@@ -135,7 +135,7 @@ void FindUsages::reportResult(unsigned tokenIndex, const Name *name, Scope *scop
...
@@ -135,7 +135,7 @@ void FindUsages::reportResult(unsigned tokenIndex, const Name *name, Scope *scop
void
FindUsages
::
reportResult
(
unsigned
tokenIndex
,
const
Identifier
*
id
,
Scope
*
scope
)
void
FindUsages
::
reportResult
(
unsigned
tokenIndex
,
const
Identifier
*
id
,
Scope
*
scope
)
{
{
reportResult
(
tokenIndex
,
id
,
scope
);
reportResult
(
tokenIndex
,
static_cast
<
const
Name
*>
(
id
)
,
scope
);
}
}
void
FindUsages
::
reportResult
(
unsigned
tokenIndex
,
const
QList
<
LookupItem
>
&
candidates
)
void
FindUsages
::
reportResult
(
unsigned
tokenIndex
,
const
QList
<
LookupItem
>
&
candidates
)
...
...
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