mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
bug 147080 - stack overflow errors
This commit is contained in:
parent
d359b44186
commit
aca80b97db
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ abstract public class CPPScope implements ICPPScope{
|
||||||
} else if( obj instanceof IASTName ){
|
} else if( obj instanceof IASTName ){
|
||||||
IBinding binding = null;
|
IBinding binding = null;
|
||||||
if( forceResolve && obj != name && obj != name.getParent())
|
if( forceResolve && obj != name && obj != name.getParent())
|
||||||
binding = ((IASTName)obj).resolveBinding();
|
binding = CPPSemantics.resolveAmbiguities(name, new Object[] { obj });
|
||||||
else {
|
else {
|
||||||
IASTName n = (IASTName) obj;
|
IASTName n = (IASTName) obj;
|
||||||
if( n instanceof ICPPASTQualifiedName ){
|
if( n instanceof ICPPASTQualifiedName ){
|
||||||
|
|
Loading…
Add table
Reference in a new issue