forked from qt-creator/qt-creator
Mark forward template class declarations.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user