mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Compiler warnings.
This commit is contained in:
parent
fd24289643
commit
6ec98ed101
4 changed files with 5 additions and 10 deletions
|
@ -143,7 +143,7 @@ public abstract class CPPTemplateDefinition extends PlatformObject implements IC
|
|||
if (args.length == arguments.length) {
|
||||
int j = 0;
|
||||
for (; j < args.length; j++) {
|
||||
if (!(args[j].isSameType(arguments[j])))
|
||||
if (!args[j].isSameType(arguments[j]))
|
||||
break;
|
||||
}
|
||||
if (j == args.length) {
|
||||
|
|
|
@ -689,8 +689,8 @@ public class CPPTemplates {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param type
|
||||
* @param arguments
|
||||
* @param type a type to instantiate.
|
||||
* @param argMap a mapping between template parameters and the corresponding arguments.
|
||||
*/
|
||||
public static IType instantiateType(IType type, ObjectMap argMap) {
|
||||
if (argMap == null)
|
||||
|
|
|
@ -111,7 +111,6 @@ public abstract class PDOMLinkage extends PDOMNamedNode implements IIndexLinkage
|
|||
|
||||
/**
|
||||
* Returns the BTree for the nested bindings.
|
||||
* @return
|
||||
* @throws CoreException
|
||||
*/
|
||||
public BTree getNestedBindingsIndex() throws CoreException {
|
||||
|
@ -119,7 +118,6 @@ public abstract class PDOMLinkage extends PDOMNamedNode implements IIndexLinkage
|
|||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("hiding")
|
||||
public void accept(final IPDOMVisitor visitor) throws CoreException {
|
||||
if (visitor instanceof IBTreeVisitor) {
|
||||
getIndex().accept((IBTreeVisitor) visitor);
|
||||
|
@ -151,7 +149,6 @@ public abstract class PDOMLinkage extends PDOMNamedNode implements IIndexLinkage
|
|||
getIndex().insert(child.getRecord());
|
||||
}
|
||||
|
||||
@SuppressWarnings("hiding")
|
||||
public PDOMNode getNode(int record) throws CoreException {
|
||||
switch (PDOMNode.getNodeType(pdom, record)) {
|
||||
case POINTER_TYPE:
|
||||
|
@ -296,12 +293,11 @@ public abstract class PDOMLinkage extends PDOMNamedNode implements IIndexLinkage
|
|||
/**
|
||||
* Callback informing the linkage that a name is about to be deleted. This is
|
||||
* used to do additional processing, like removing inheritance relationships.
|
||||
* @param pdomName the name that was inserted into the linkage
|
||||
* @param name the name that caused the insertion
|
||||
* @param name the name that is about to be deleted
|
||||
* @throws CoreException
|
||||
* @since 4.0
|
||||
*/
|
||||
public void onDeleteName(PDOMName nextName) throws CoreException {
|
||||
public void onDeleteName(PDOMName name) throws CoreException {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -278,7 +278,6 @@ class PDOMCLinkage extends PDOMLinkage implements IIndexCBindingConstants {
|
|||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("hiding")
|
||||
public PDOMNode getNode(int record) throws CoreException {
|
||||
if (record == 0)
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue