mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 23:35:48 +02:00
reindent file
This commit is contained in:
parent
0abbd14d54
commit
b2114ce639
1 changed files with 27 additions and 27 deletions
|
@ -202,7 +202,7 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
||||||
iter.remove();
|
iter.remove();
|
||||||
} else {
|
} else {
|
||||||
ITranslationUnit context= findContext(getIndex(), location);
|
ITranslationUnit context= findContext(getIndex(), location);
|
||||||
if (context != null) {
|
if (context != null) {
|
||||||
parseTU(context, monitor);
|
parseTU(context, monitor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -250,10 +250,10 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
||||||
private void swallowError(IPath file, Throwable e) throws CoreException {
|
private void swallowError(IPath file, Throwable e) throws CoreException {
|
||||||
IStatus status= CCorePlugin.createStatus(
|
IStatus status= CCorePlugin.createStatus(
|
||||||
MessageFormat.format(Messages.PDOMIndexerTask_errorWhileParsing, new Object[]{file}), e);
|
MessageFormat.format(Messages.PDOMIndexerTask_errorWhileParsing, new Object[]{file}), e);
|
||||||
CCorePlugin.log(status);
|
CCorePlugin.log(status);
|
||||||
if (++fErrorCount > MAX_ERRORS) {
|
if (++fErrorCount > MAX_ERRORS) {
|
||||||
throw new CoreException(CCorePlugin.createStatus(
|
throw new CoreException(CCorePlugin.createStatus(
|
||||||
MessageFormat.format(Messages.PDOMIndexerTask_tooManyIndexProblems, new Object[]{getIndexer().getProject().getElementName()})));
|
MessageFormat.format(Messages.PDOMIndexerTask_tooManyIndexProblems, new Object[]{getIndexer().getProject().getElementName()})));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -359,8 +359,8 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
||||||
fReferenceCount++;
|
fReferenceCount++;
|
||||||
else
|
else
|
||||||
fDeclarationCount++;
|
fDeclarationCount++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
fResolutionTime += System.currentTimeMillis()-start;
|
fResolutionTime += System.currentTimeMillis()-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -374,7 +374,7 @@ public abstract class PDOMIndexerTask implements IPDOMIndexerTask {
|
||||||
if (pm.isCanceled())
|
if (pm.isCanceled())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
IIndexFileLocation path = orderedPaths[i];
|
IIndexFileLocation path = orderedPaths[i];
|
||||||
if (path != null) {
|
if (path != null) {
|
||||||
if (fShowActivity) {
|
if (fShowActivity) {
|
||||||
System.out.println("Indexer: adding " + path.getURI()); //$NON-NLS-1$
|
System.out.println("Indexer: adding " + path.getURI()); //$NON-NLS-1$
|
||||||
|
|
Loading…
Add table
Reference in a new issue