mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Remove a few internal, deprecated methods
Change-Id: I073f7770a594ec226f7adf5d5022960a298608c7 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
This commit is contained in:
parent
597b0dd83e
commit
efb9ddbb63
3 changed files with 0 additions and 28 deletions
|
@ -101,18 +101,6 @@ public class StringMatcher {
|
|||
return new Position(matchStart, curPos);
|
||||
}
|
||||
|
||||
/**
|
||||
* StringMatcher constructor takes in a String object that is a simple
|
||||
* pattern which may contain * for 0 and many characters and
|
||||
* ? for exactly one character. Also takes as parameter a boolean object
|
||||
* specifying if case should be ignored
|
||||
* @deprecated Use StringMatcher(pattern, ignoreCase, ignoreWildCards).
|
||||
*/
|
||||
@Deprecated
|
||||
public StringMatcher(String aPattern, boolean ignoreCase) {
|
||||
this(aPattern, ignoreCase, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* StringMatcher constructor takes in a String object that is a simple
|
||||
* pattern which may contain * for 0 and many characters and
|
||||
|
|
|
@ -140,13 +140,4 @@ public class BuildProcessManager {
|
|||
|
||||
return list.toArray(new String[list.size()]);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Number of processors detected
|
||||
* @deprecated since CDT 9.0 - just use Runtime.getRuntime().availableProcessors()
|
||||
*/
|
||||
@Deprecated
|
||||
static public int checkCPUNumber() {
|
||||
return Runtime.getRuntime().availableProcessors();
|
||||
}
|
||||
}
|
|
@ -169,7 +169,6 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPNamespaceAlias;
|
|||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPNamespaceScope;
|
||||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPParameter;
|
||||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPParameterPackType;
|
||||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPReferenceType;
|
||||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPScope;
|
||||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPSpecialization;
|
||||
import org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateArgument;
|
||||
|
@ -2906,12 +2905,6 @@ public class CPPVisitor extends ASTQueries {
|
|||
return false;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static boolean isLValueReference(IType t) {
|
||||
t = SemanticUtil.getNestedType(t, TDEF);
|
||||
return t instanceof ICPPReferenceType && !((ICPPReferenceType) t).isRValueReference();
|
||||
}
|
||||
|
||||
/**
|
||||
* Searches for the function or class enclosing the given node. May return <code>null</code>.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue