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
Q
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
Tobias Hunger
qt-creator
Commits
430c78f3
Commit
430c78f3
authored
Aug 10, 2010
by
Roberto Raggi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed CollectTypes.
parent
da5d6d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/plugins/cppeditor/cppchecksymbols.cpp
src/plugins/cppeditor/cppchecksymbols.cpp
+3
-3
No files found.
src/plugins/cppeditor/cppchecksymbols.cpp
View file @
430c78f3
...
...
@@ -57,7 +57,7 @@ public:
using
QThread
::
msleep
;
};
class
Collect
Type
s
:
protected
SymbolVisitor
class
Collect
Symbol
s
:
protected
SymbolVisitor
{
Document
::
Ptr
_doc
;
Snapshot
_snapshot
;
...
...
@@ -68,7 +68,7 @@ class CollectTypes: protected SymbolVisitor
bool
_mainDocument
;
public:
Collect
Type
s
(
Document
::
Ptr
doc
,
const
Snapshot
&
snapshot
)
Collect
Symbol
s
(
Document
::
Ptr
doc
,
const
Snapshot
&
snapshot
)
:
_doc
(
doc
),
_snapshot
(
snapshot
),
_mainDocument
(
false
)
{
QSet
<
Namespace
*>
processed
;
...
...
@@ -302,7 +302,7 @@ CheckSymbols::Future CheckSymbols::go(Document::Ptr doc, const LookupContext &co
CheckSymbols
::
CheckSymbols
(
Document
::
Ptr
doc
,
const
LookupContext
&
context
)
:
ASTVisitor
(
doc
->
translationUnit
()),
_doc
(
doc
),
_context
(
context
)
{
Collect
Type
s
collectTypes
(
doc
,
context
.
snapshot
());
Collect
Symbol
s
collectTypes
(
doc
,
context
.
snapshot
());
_fileName
=
doc
->
fileName
();
_potentialTypes
=
collectTypes
.
types
();
...
...
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