1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Chris Recoskie 2011-08-10 20:05:01 -07:00 committed by Sergey Prigogin
parent d50d786746
commit c1c02b297b
2 changed files with 9 additions and 9 deletions

View file

@ -6,8 +6,8 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Markus Schorn - initial API and implementation * Markus Schorn - initial API and implementation
* Andrew Ferguson (Symbian) * Andrew Ferguson (Symbian)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index; package org.eclipse.cdt.core.index;
@ -90,7 +90,7 @@ public interface IIndexFile {
IIndexName[] findNames(int offset, int length) throws CoreException; IIndexName[] findNames(int offset, int length) throws CoreException;
/** /**
* Returns the include that was used to parse this file, may be null. * Returns the include that was used to parse this file, may be <code>null</code>.
*/ */
IIndexInclude getParsedInContext() throws CoreException; IIndexInclude getParsedInContext() throws CoreException;

View file

@ -6,10 +6,10 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* QNX - Initial API and implementation * QNX - Initial API and implementation
* Markus Schorn (Wind River Systems) * Markus Schorn (Wind River Systems)
* Andrew Ferguson (Symbian) * Andrew Ferguson (Symbian)
* Sergey Prigogin (Google) * Sergey Prigogin (Google)
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.core.pdom.dom; package org.eclipse.cdt.internal.core.pdom.dom;
@ -607,8 +607,8 @@ public class PDOMFile implements IIndexFragmentFile {
if (nameOffset + name.getNodeLength() <= offset + length) { if (nameOffset + name.getNodeLength() <= offset + length) {
result.add(name); result.add(name);
} else if (name.isReference()) { } else if (name.isReference()) {
// names are ordered, but callers are inserted before // Names are ordered, but callers are inserted before
// their references // their references.
break; break;
} }
} }