1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Added javadoc.

This commit is contained in:
Sergey Prigogin 2011-05-25 05:44:59 +00:00
parent b63228738d
commit e02f52d475

View file

@ -990,6 +990,14 @@ public class CPPSemantics {
}
}
/**
* Checks if lookup data contains result bindings reachable through includes
* from the translation unit where lookup started. Any binding is considered reachable
* if the lookup is not done in a context of a translation unit.
*
* @param data the LookupData object.
* @return {@code true} if the lookup data contains at least one reachable binding.
*/
private static boolean hasReachableResult(LookupData data) {
if (data.foundItems instanceof Object[]) {
for (Object item : (Object[]) data.foundItems) {