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
eb7dfc49
Commit
eb7dfc49
authored
Jul 08, 2009
by
Roberto Raggi
Browse files
Made FindScope a member of FindUses.
parent
5b28b539
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
eb7dfc49
...
@@ -178,6 +178,8 @@ class FindUses: protected ASTVisitor
...
@@ -178,6 +178,8 @@ class FindUses: protected ASTVisitor
}
}
};
};
FindScope
findScope
;
public:
public:
FindUses
(
Control
*
control
)
FindUses
(
Control
*
control
)
:
ASTVisitor
(
control
)
:
ASTVisitor
(
control
)
...
@@ -246,8 +248,6 @@ protected:
...
@@ -246,8 +248,6 @@ protected:
unsigned
line
,
column
;
unsigned
line
,
column
;
getTokenStartPosition
(
ast
->
firstToken
(),
&
line
,
&
column
);
getTokenStartPosition
(
ast
->
firstToken
(),
&
line
,
&
column
);
FindScope
findScope
;
Scope
*
scope
=
findScope
(
line
,
column
,
Scope
*
scope
=
findScope
(
line
,
column
,
_functionScope
->
owner
(),
_functionScope
->
owner
(),
translationUnit
());
translationUnit
());
...
@@ -280,8 +280,6 @@ protected:
...
@@ -280,8 +280,6 @@ protected:
unsigned
line
,
column
;
unsigned
line
,
column
;
getTokenStartPosition
(
ast
->
firstToken
(),
&
line
,
&
column
);
getTokenStartPosition
(
ast
->
firstToken
(),
&
line
,
&
column
);
FindScope
findScope
;
Scope
*
scope
=
findScope
(
line
,
column
,
Scope
*
scope
=
findScope
(
line
,
column
,
_functionScope
->
owner
(),
_functionScope
->
owner
(),
translationUnit
());
translationUnit
());
...
...
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