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
c82bfad2
Commit
c82bfad2
authored
Aug 12, 2010
by
Roberto Raggi
Browse files
Mark forward template class declarations.
parent
afcc0f7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppchecksymbols.cpp
View file @
c82bfad2
...
...
@@ -850,7 +850,7 @@ bool CheckSymbols::isTemplateClass(Symbol *symbol) const
if
(
symbol
)
{
if
(
Template
*
templ
=
symbol
->
asTemplate
())
{
if
(
Symbol
*
declaration
=
templ
->
declaration
())
{
if
(
declaration
->
isClass
())
if
(
declaration
->
isClass
()
||
declaration
->
isForwardClassDeclaration
()
)
return
true
;
}
}
...
...
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