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
430c78f3
Commit
430c78f3
authored
Aug 10, 2010
by
Roberto Raggi
Browse files
Renamed CollectTypes.
parent
da5d6d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
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