1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2010-01-04 04:22:57 +00:00
parent 8ba5522e7c
commit d7aee9e782

View file

@ -223,7 +223,7 @@ abstract public class PDOMWriter {
if (i < ifls.length - 1) { if (i < ifls.length - 1) {
updateFileCount(0, 0, 1); // update header count updateFileCount(0, 0, 1); // update header count
} }
fStatistics.fAddToIndexTime+= System.currentTimeMillis() - start; fStatistics.fAddToIndexTime += System.currentTimeMillis() - start;
} }
} }
} }
@ -369,7 +369,7 @@ abstract public class PDOMWriter {
} }
fStatistics.fUnresolvedIncludesCount += unresolvedIncludes; fStatistics.fUnresolvedIncludesCount += unresolvedIncludes;
fStatistics.fPreprocessorProblemCount+= ast.getPreprocessorProblemsCount() - unresolvedIncludes; fStatistics.fPreprocessorProblemCount += ast.getPreprocessorProblemsCount() - unresolvedIncludes;
if (fShowScannerProblems || fShowInclusionProblems) { if (fShowScannerProblems || fShowInclusionProblems) {
final boolean reportAll= fShowScannerProblems && fShowInclusionProblems; final boolean reportAll= fShowScannerProblems && fShowInclusionProblems;
IASTProblem[] scannerProblems= ast.getPreprocessorProblems(); IASTProblem[] scannerProblems= ast.getPreprocessorProblems();
@ -512,7 +512,7 @@ abstract public class PDOMWriter {
*/ */
protected final void updateRequestedFiles(int delta) { protected final void updateRequestedFiles(int delta) {
synchronized (fInfo) { synchronized (fInfo) {
fInfo.fRequestedFilesCount+= delta; fInfo.fRequestedFilesCount += delta;
} }
} }
@ -524,7 +524,7 @@ abstract public class PDOMWriter {
String msg= "Indexer: unresolved name" + getLocationInfo(problem.getFileName(), problem.getLineNumber()); //$NON-NLS-1$ String msg= "Indexer: unresolved name" + getLocationInfo(problem.getFileName(), problem.getLineNumber()); //$NON-NLS-1$
String pmsg= problem.getMessage(); String pmsg= problem.getMessage();
if (pmsg != null && pmsg.length() > 0) if (pmsg != null && pmsg.length() > 0)
msg+= "; " + problem.getMessage(); //$NON-NLS-1$ msg += "; " + problem.getMessage(); //$NON-NLS-1$
trace(msg); trace(msg);
} }