mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
fix bug 93573
This commit is contained in:
parent
d92ccd3e38
commit
70ae4fdbaf
2 changed files with 9 additions and 6 deletions
|
@ -238,24 +238,21 @@ public abstract class CPPTemplateDefinition implements ICPPTemplateDefinition, I
|
|||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding#getQualifiedName()
|
||||
*/
|
||||
public String[] getQualifiedName() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return CPPVisitor.getQualifiedName( this );
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding#getQualifiedNameCharArray()
|
||||
*/
|
||||
public char[][] getQualifiedNameCharArray() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return CPPVisitor.getQualifiedNameCharArray( this );
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding#isGloballyQualified()
|
||||
*/
|
||||
public boolean isGloballyQualified() {
|
||||
// TODO Auto-generated method stub
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
|
|
@ -1867,6 +1867,9 @@ public class CPPVisitor {
|
|||
try {
|
||||
ICPPScope scope = (ICPPScope) binding.getScope();
|
||||
while( scope != null ){
|
||||
if( scope instanceof ICPPTemplateScope )
|
||||
scope = (ICPPScope) scope.getParent();
|
||||
|
||||
IASTName n = scope.getScopeName();
|
||||
if( n == null )
|
||||
break;
|
||||
|
@ -1894,6 +1897,9 @@ public class CPPVisitor {
|
|||
try {
|
||||
ICPPScope scope = (ICPPScope) binding.getScope();
|
||||
while( scope != null ){
|
||||
if( scope instanceof ICPPTemplateScope )
|
||||
scope = (ICPPScope) scope.getParent();
|
||||
|
||||
IASTName n = scope.getScopeName();
|
||||
if( n == null )
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue