mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
fix bug 101334:resolvePrefix - unqualified name not found when using namespace directive
This commit is contained in:
parent
0ca3d54210
commit
828b704126
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ public class CPPSemantics {
|
||||||
mergeResults( data, lookupInScope( data, scope, blockItem ), true );
|
mergeResults( data, lookupInScope( data, scope, blockItem ), true );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !data.hasResults() && scope instanceof ICPPNamespaceScope ){
|
if( (!data.hasResults() || data.prefixLookup) && scope instanceof ICPPNamespaceScope ){
|
||||||
directives = new ArrayWrapper();
|
directives = new ArrayWrapper();
|
||||||
directives.array = ((ICPPNamespaceScope) scope).getUsingDirectives();
|
directives.array = ((ICPPNamespaceScope) scope).getUsingDirectives();
|
||||||
if( directives.array != null ){
|
if( directives.array != null ){
|
||||||
|
|
Loading…
Add table
Reference in a new issue