Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flatpak-qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
8433ba2d
Commit
8433ba2d
authored
Jun 26, 2009
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Store the NameAST*
parent
fd8cd69a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/plugins/cppeditor/cppeditor.cpp
src/plugins/cppeditor/cppeditor.cpp
+3
-3
No files found.
src/plugins/cppeditor/cppeditor.cpp
View file @
8433ba2d
...
...
@@ -182,14 +182,14 @@ public:
{
}
struct
Use
{
Simple
NameAST
*
name
;
NameAST
*
name
;
unsigned
line
;
unsigned
column
;
unsigned
length
;
Use
(){}
Use
(
Simple
NameAST
*
name
,
unsigned
line
,
unsigned
column
,
unsigned
length
)
Use
(
NameAST
*
name
,
unsigned
line
,
unsigned
column
,
unsigned
length
)
:
name
(
name
),
line
(
line
),
column
(
column
),
length
(
length
)
{}
};
...
...
@@ -879,7 +879,7 @@ static void highlightUses(QTextDocument *doc,
QList
<
QTextEdit
::
ExtraSelection
>
*
selections
)
{
foreach
(
const
FindUses
::
Use
&
use
,
uses
)
{
Simple
NameAST
*
name
=
use
.
name
;
NameAST
*
name
=
use
.
name
;
bool
generated
=
false
;
for
(
unsigned
tk
=
name
->
firstToken
(),
end
=
name
->
lastToken
();
tk
!=
end
;
++
tk
)
{
...
...
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