mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 20:05:35 +02:00
The removed cast is not superficial.
This commit is contained in:
parent
f6c4c980e3
commit
20c2e582df
1 changed files with 3 additions and 3 deletions
|
@ -12,8 +12,6 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.core.dom.parser;
|
package org.eclipse.cdt.internal.core.dom.parser;
|
||||||
|
|
||||||
import com.ibm.icu.text.MessageFormat;
|
|
||||||
|
|
||||||
import org.eclipse.cdt.core.dom.ILinkage;
|
import org.eclipse.cdt.core.dom.ILinkage;
|
||||||
import org.eclipse.cdt.core.dom.IName;
|
import org.eclipse.cdt.core.dom.IName;
|
||||||
import org.eclipse.cdt.core.dom.ast.DOMException;
|
import org.eclipse.cdt.core.dom.ast.DOMException;
|
||||||
|
@ -33,6 +31,8 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
|
||||||
import org.eclipse.cdt.internal.core.parser.ParserMessages;
|
import org.eclipse.cdt.internal.core.parser.ParserMessages;
|
||||||
import org.eclipse.core.runtime.PlatformObject;
|
import org.eclipse.core.runtime.PlatformObject;
|
||||||
|
|
||||||
|
import com.ibm.icu.text.MessageFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of problem bindings
|
* Implementation of problem bindings
|
||||||
*/
|
*/
|
||||||
|
@ -250,7 +250,7 @@ public class ProblemBinding extends PlatformObject implements IProblemBinding, I
|
||||||
}
|
}
|
||||||
|
|
||||||
public IBinding getOwner() throws DOMException {
|
public IBinding getOwner() throws DOMException {
|
||||||
return node instanceof IASTName ? CPPVisitor.findNameOwner(node, true) : null;
|
return node instanceof IASTName ? CPPVisitor.findNameOwner((IASTName) node, true) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setASTNode(IASTName name) {
|
public void setASTNode(IASTName name) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue