1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Removed ICPPTemplateScope.getTemplateDefinition() method.

Change-Id: Ida39f2b01287a550e1c5abc6465f9154f5de45ec
This commit is contained in:
Sergey Prigogin 2016-02-17 11:36:39 -08:00
parent f7e42fe057
commit 4559a2308a
2 changed files with 0 additions and 10 deletions

View file

@ -11,7 +11,6 @@
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast.cpp;
import org.eclipse.cdt.core.dom.ast.DOMException;
import org.eclipse.cdt.core.dom.ast.IScope;
/**
@ -30,7 +29,4 @@ public interface ICPPTemplateScope extends ICPPScope {
* @since 5.1
*/
public ICPPASTTemplateDeclaration getTemplateDeclaration();
@Deprecated
public ICPPTemplateDefinition getTemplateDefinition() throws DOMException;
}

View file

@ -16,7 +16,6 @@ import org.eclipse.cdt.core.dom.ast.EScopeKind;
import org.eclipse.cdt.core.dom.ast.IASTNode;
import org.eclipse.cdt.core.dom.ast.IScope;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTTemplateDeclaration;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateDefinition;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateScope;
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPTemplates;
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor;
@ -32,11 +31,6 @@ public class CPPTemplateScope extends CPPScope implements ICPPTemplateScope {
return EScopeKind.eTemplateDeclaration;
}
@Override
public ICPPTemplateDefinition getTemplateDefinition() {
return null;
}
@Override
public ICPPASTTemplateDeclaration getTemplateDeclaration() {
return (ICPPASTTemplateDeclaration) getPhysicalNode();