mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Add semicolon after function prototype.
This commit is contained in:
parent
0fcdd959b4
commit
1b0953a434
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class FunctionPrototypeSummary implements IFunctionSummary.IFunctionProto
|
|||
}
|
||||
|
||||
public String getPrototypeString(boolean namefirst, boolean appendReturnType) {
|
||||
StringBuffer buffer = new StringBuffer();
|
||||
StringBuilder buffer = new StringBuilder();
|
||||
if((!namefirst) && (appendReturnType)) {
|
||||
buffer.append(getReturnType());
|
||||
buffer.append(" "); //$NON-NLS-1$
|
||||
|
@ -104,6 +104,7 @@ public class FunctionPrototypeSummary implements IFunctionSummary.IFunctionProto
|
|||
buffer.append(" "); //$NON-NLS-1$
|
||||
buffer.append(getReturnType());
|
||||
}
|
||||
buffer.append(";"); //$NON-NLS-1$
|
||||
return buffer.toString();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue