mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 02:36:01 +02:00
Bug 535559 - Index search for entity inside toplevel anonymous namespace
Change-Id: I9fdc268819b2298d0b3aeb9db9c29f1a0158d2bb
This commit is contained in:
parent
e0e6a54caf
commit
fae039b629
1 changed files with 2 additions and 1 deletions
|
@ -954,7 +954,8 @@ public class PDOM extends PlatformObject implements IPDOM {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return cand == null;
|
// Toplevel anonymous namespaces are not part of the qualified name either.
|
||||||
|
return cand == null || (cand instanceof ICPPNamespace && cand.getNameCharArray().length == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private long getFirstLinkageRecord() throws CoreException {
|
private long getFirstLinkageRecord() throws CoreException {
|
||||||
|
|
Loading…
Add table
Reference in a new issue