mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-16 13:35:22 +02:00
Bug 469890 - NPE in ProblemHighlighting.consumes due to an orphan AST
node Change-Id: Ic3ee9cb68f766660c215347128c60bfc9ee98d59
This commit is contained in:
parent
bd7fad5f67
commit
d13a53c461
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2005, 2011 IBM Corporation and others.
|
||||
* Copyright (c) 2005, 2015 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -9,6 +9,7 @@
|
|||
* John Camelon (IBM Rational Software) - Initial API and implementation
|
||||
* Yuan Zhang / Beth Tibbitts (IBM Research)
|
||||
* Markus Schorn (Wind River Systems)
|
||||
* Sergey Prigogin (Google)
|
||||
*******************************************************************************/
|
||||
package org.eclipse.cdt.internal.core.dom.parser.c;
|
||||
|
||||
|
@ -31,7 +32,7 @@ public class CASTTypeIdInitializerExpression extends ASTNode implements ICASTTyp
|
|||
|
||||
public CASTTypeIdInitializerExpression(IASTTypeId t, IASTInitializer i) {
|
||||
setTypeId(t);
|
||||
fInitializer = i;
|
||||
setInitializer(i);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue