1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Comment adjustments.

This commit is contained in:
Sergey Prigogin 2008-10-12 20:34:54 +00:00
parent 498e23827e
commit b8c624e10f
2 changed files with 14 additions and 15 deletions

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* IBM - Initial API and implementation * IBM - Initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.dom.ast; package org.eclipse.cdt.core.dom.ast;
@ -20,30 +20,30 @@ package org.eclipse.cdt.core.dom.ast;
public interface IFunction extends IBinding { public interface IFunction extends IBinding {
/** /**
* This gets the parameters to the function * Returns the formal parameters of the function.
* *
* @return array of IParameter * @return array of IParameter
* @throws DOMException if this is a problem binding * @throws DOMException if this is a problem binding.
*/ */
public IParameter [] getParameters() throws DOMException; public IParameter[] getParameters() throws DOMException;
/** /**
* Get the function scope * Get the function scope
* *
* @throws DOMException if this is a problem binding * @throws DOMException if this is a problem binding.
*/ */
public IScope getFunctionScope() throws DOMException; public IScope getFunctionScope() throws DOMException;
/** /**
* Get the IFunctionType for this function * Get the IFunctionType for this function
* @throws DOMException if this is a problem binding * @throws DOMException if this is a problem binding.
*/ */
public IFunctionType getType() throws DOMException; public IFunctionType getType() throws DOMException;
/** /**
* Does this function have the static storage-class specifier * Returns {@code true} if the function has the static storage-class specifier
* similarily for extern, auto, register * similarly for extern, auto, register.
* @throws DOMException * @throws DOMException if this is a problem binding.
*/ */
public boolean isStatic() throws DOMException; public boolean isStatic() throws DOMException;
public boolean isExtern() throws DOMException; public boolean isExtern() throws DOMException;
@ -51,14 +51,14 @@ public interface IFunction extends IBinding {
public boolean isRegister() throws DOMException; public boolean isRegister() throws DOMException;
/** /**
* is this function inline * Returns {@code true} if the function is inline.
* @throws DOMException * @throws DOMException if this is a problem binding.
*/ */
public boolean isInline() throws DOMException; public boolean isInline() throws DOMException;
/** /**
* Whether or not this function takes variable arguments * Returns {@code true} if this function takes variable arguments.
* @throws DOMException * @throws DOMException if this is a problem binding.
*/ */
public boolean takesVarArgs()throws DOMException; public boolean takesVarArgs() throws DOMException;
} }

View file

@ -192,7 +192,6 @@ public class Conversions {
} }
} else { } else {
// Non-reference binding // Non-reference binding
cost= checkStandardConversionSequence(source, target, isImpliedObject); cost= checkStandardConversionSequence(source, target, isImpliedObject);
if (allowUDC && (cost.rank == Cost.NO_MATCH_RANK || if (allowUDC && (cost.rank == Cost.NO_MATCH_RANK ||
cost.rank == Cost.FUZZY_TEMPLATE_PARAMETERS)) { cost.rank == Cost.FUZZY_TEMPLATE_PARAMETERS)) {