mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
fixed bug - builder should be obtained from a model
This commit is contained in:
parent
bcc7727f9c
commit
8558e52579
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.codan.core.cxx.internal.model;
|
||||
|
||||
import org.eclipse.cdt.codan.core.CodanRuntime;
|
||||
import org.eclipse.cdt.codan.internal.core.CodanBuilder;
|
||||
import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit;
|
||||
import org.eclipse.core.resources.IResource;
|
||||
|
@ -20,7 +21,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
|
|||
*
|
||||
*/
|
||||
public class CxxCodanReconciler {
|
||||
private CodanBuilder builder = new CodanBuilder();
|
||||
private CodanBuilder builder = (CodanBuilder) CodanRuntime.getInstance().getBuilder();
|
||||
|
||||
public void reconciledAst(IASTTranslationUnit ast, IResource resource,
|
||||
IProgressMonitor monitor) {
|
||||
|
|
Loading…
Add table
Reference in a new issue