mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-11 02:05:39 +02:00
bug 98760
This commit is contained in:
parent
04cd3adec5
commit
4fd7b386b2
1 changed files with 2 additions and 1 deletions
|
@ -850,7 +850,8 @@ public class CVisitor {
|
|||
if( binding != null ) {
|
||||
if( binding instanceof IFunction ){
|
||||
IFunction function = (IFunction) binding;
|
||||
((CFunction)function).addDeclarator( (IASTFunctionDeclarator) declarator );
|
||||
if( function instanceof CFunction )
|
||||
((CFunction)function).addDeclarator( (IASTFunctionDeclarator) declarator );
|
||||
return function;
|
||||
}
|
||||
binding = new ProblemBinding( name, IProblemBinding.SEMANTIC_INVALID_OVERLOAD, name.toCharArray() );
|
||||
|
|
Loading…
Add table
Reference in a new issue