mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
5bd41e38ba
commit
201b571118
2 changed files with 3 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Markus Schorn - initial API and implementation
|
* Markus Schorn - initial API and implementation
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
package org.eclipse.cdt.internal.core.dom.parser.cpp;
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,8 @@ import org.eclipse.cdt.internal.core.dom.parser.ProblemType;
|
||||||
* it depends on a template parameter. A compiler would resolve it during instantiation.
|
* it depends on a template parameter. A compiler would resolve it during instantiation.
|
||||||
*/
|
*/
|
||||||
public class CPPUnknownFunction extends CPPUnknownBinding implements ICPPFunction {
|
public class CPPUnknownFunction extends CPPUnknownBinding implements ICPPFunction {
|
||||||
|
private static final ICPPFunctionType FUNCTION_TYPE=
|
||||||
private static final ICPPFunctionType FUNCTION_TYPE= new CPPFunctionType(ProblemType.UNKNOWN_FOR_EXPRESSION, IType.EMPTY_TYPE_ARRAY);
|
new CPPFunctionType(ProblemType.UNKNOWN_FOR_EXPRESSION, IType.EMPTY_TYPE_ARRAY);
|
||||||
|
|
||||||
public static ICPPFunction createForSample(IFunction sample) throws DOMException {
|
public static ICPPFunction createForSample(IFunction sample) throws DOMException {
|
||||||
if (sample instanceof ICPPConstructor)
|
if (sample instanceof ICPPConstructor)
|
||||||
|
@ -36,7 +36,6 @@ public class CPPUnknownFunction extends CPPUnknownBinding implements ICPPFunctio
|
||||||
return new CPPUnknownFunction(sample.getOwner(), sample.getNameCharArray());
|
return new CPPUnknownFunction(sample.getOwner(), sample.getNameCharArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public CPPUnknownFunction(IBinding owner, char[] name) {
|
public CPPUnknownFunction(IBinding owner, char[] name) {
|
||||||
super(owner, name);
|
super(owner, name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue