mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
for bug 60422 : set the starting offets for ASTTemplateDeclaration
This commit is contained in:
parent
27f77d460a
commit
62db27f4d2
1 changed files with 1 additions and 1 deletions
|
@ -2793,7 +2793,7 @@ public class CompleteParseASTFactory extends BaseASTFactory implements IASTFacto
|
||||||
}
|
}
|
||||||
|
|
||||||
ASTTemplateDeclaration ast = new ASTTemplateDeclaration( template, scope, templateParameters);
|
ASTTemplateDeclaration ast = new ASTTemplateDeclaration( template, scope, templateParameters);
|
||||||
|
ast.setStartingOffsetAndLineNumber( startingOffset, startingLine );
|
||||||
attachSymbolExtension( template, ast, false );
|
attachSymbolExtension( template, ast, false );
|
||||||
|
|
||||||
return ast;
|
return ast;
|
||||||
|
|
Loading…
Add table
Reference in a new issue