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
Tobias Hunger
qt-creator
Commits
4007963a
Commit
4007963a
authored
Oct 16, 2009
by
Roberto Raggi
Browse files
The base result needs to be an instance and not a class declaration.
parent
8b514657
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/ResolveExpression.cpp
View file @
4007963a
...
...
@@ -765,10 +765,10 @@ ResolveExpression::resolveBaseExpression(const QList<Result> &baseResults, int a
}
}
if
(
ty
->
isClassType
()
||
ty
->
isNamedType
())
if
(
ty
->
isNamedType
())
results
.
append
(
Result
(
ty
,
lastVisibleSymbol
));
if
(
Function
*
fun
=
ty
->
asFunctionType
())
{
else
if
(
Function
*
fun
=
ty
->
asFunctionType
())
{
Scope
*
funScope
=
fun
->
scope
();
if
(
funScope
&&
(
funScope
->
isBlockScope
()
||
funScope
->
isNamespaceScope
()))
{
...
...
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