mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed NPE that occured during automated test suite.
This commit is contained in:
parent
3a28f498db
commit
59a2dc123a
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ public class PDOMDatabase implements IPDOM {
|
|||
ILanguage.AST_USE_INDEX |
|
||||
ILanguage.AST_SKIP_INDEXED_HEADERS);
|
||||
|
||||
if (ast == null)
|
||||
return;
|
||||
|
||||
ast.accept(new ASTVisitor() {
|
||||
{
|
||||
shouldVisitNames = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue