Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
eb7dfc49
Commit
eb7dfc49
authored
Jul 08, 2009
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made FindScope a member of FindUses.
parent
5b28b539
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/plugins/cppeditor/cppeditor.cpp
src/plugins/cppeditor/cppeditor.cpp
+2
-4
No files found.
src/plugins/cppeditor/cppeditor.cpp
View file @
eb7dfc49
...
...
@@ -178,6 +178,8 @@ class FindUses: protected ASTVisitor
}
};
FindScope
findScope
;
public:
FindUses
(
Control
*
control
)
:
ASTVisitor
(
control
)
...
...
@@ -246,8 +248,6 @@ protected:
unsigned
line
,
column
;
getTokenStartPosition
(
ast
->
firstToken
(),
&
line
,
&
column
);
FindScope
findScope
;
Scope
*
scope
=
findScope
(
line
,
column
,
_functionScope
->
owner
(),
translationUnit
());
...
...
@@ -280,8 +280,6 @@ protected:
unsigned
line
,
column
;
getTokenStartPosition
(
ast
->
firstToken
(),
&
line
,
&
column
);
FindScope
findScope
;
Scope
*
scope
=
findScope
(
line
,
column
,
_functionScope
->
owner
(),
translationUnit
());
...
...
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