mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
MSO fix for 176188, NPE in PDOMIndexerTask.
This commit is contained in:
parent
dd8d12cb4b
commit
832ccbece9
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ public abstract class PDOMIndexerTask extends PDOMWriter implements IPDOMIndexer
|
|||
long start= System.currentTimeMillis();
|
||||
IASTTranslationUnit ast= createAST(tu, pm);
|
||||
fStatistics.fParsingTime += System.currentTimeMillis()-start;
|
||||
if (tu != null) {
|
||||
if (ast != null) {
|
||||
addSymbols(ast, index, readlockCount, pm);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue