Commit c82bfad2 authored by Roberto Raggi's avatar Roberto Raggi

Mark forward template class declarations.

parent afcc0f7b
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment