mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 285125: [code analysis] NPE during reconcile
This commit is contained in:
parent
dc1fa0f4c0
commit
8f13804b5d
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ public class CodanBuilder extends IncrementalProjectBuilder {
|
|||
}
|
||||
|
||||
public void reconcileAst(IASTTranslationUnit ast, IProgressMonitor monitor) {
|
||||
if (ast == null)
|
||||
return;
|
||||
|
||||
String filePath = ast.getFilePath();
|
||||
IWorkspace workspace = ResourcesPlugin.getWorkspace();
|
||||
IWorkspaceRoot root = workspace.getRoot();
|
||||
|
|
Loading…
Add table
Reference in a new issue