mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Fixed Andrew's latest template test.
This commit is contained in:
parent
20a1cd8f35
commit
cb8b2e2d42
1 changed files with 8 additions and 1 deletions
|
@ -797,8 +797,15 @@ public class CompleteParseASTFactory extends BaseASTFactory implements IASTFacto
|
||||||
handleProblem( e2.createProblemID(), newSymbolName );
|
handleProblem( e2.createProblemID(), newSymbolName );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( name != null && name.getTemplateIdArgLists() != null )
|
||||||
|
{
|
||||||
|
for( int i = 0; i < name.getTemplateIdArgLists().length; ++i )
|
||||||
|
addTemplateIdReferences( references, name.getTemplateIdArgLists()[i]);
|
||||||
|
name.freeReferences( cache );
|
||||||
|
}
|
||||||
ASTClassSpecifier classSpecifier = new ASTClassSpecifier( newSymbol, kind, type, access, startingOffset, startingLine, nameOffset, nameEndOffset, nameLine, references );
|
ASTClassSpecifier classSpecifier = new ASTClassSpecifier( newSymbol, kind, type, access, startingOffset, startingLine, nameOffset, nameEndOffset, nameLine, references );
|
||||||
attachSymbolExtension(newSymbol, classSpecifier, true );
|
attachSymbolExtension(newSymbol, classSpecifier, true );
|
||||||
|
|
||||||
return classSpecifier;
|
return classSpecifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue