Remove superfluous semicolons

This commit is contained in:
Olly Betts 2022-02-15 14:00:12 +13:00
parent abfd630c6d
commit fd6c0255a2
8 changed files with 15 additions and 15 deletions

View File

@ -7,8 +7,8 @@
class abstract_foo
{
public:
abstract_foo() { };
virtual ~abstract_foo() { };
abstract_foo() { }
virtual ~abstract_foo() { }
virtual int meth(int meth_param) = 0;
};
@ -16,9 +16,9 @@ public:
class abstract_bar : public abstract_foo
{
public:
abstract_bar() { };
abstract_bar() { }
virtual ~abstract_bar() { };
virtual ~abstract_bar() { }
virtual int meth(int meth_param) = 0;
int meth(int meth_param_1, int meth_param_2) { return 0; }
};

View File

@ -6,7 +6,7 @@
template <typename T, int r, int c> class test_Matrix {
public:
void Func(const test_Matrix<T,r,c> &m) { };
void Func(const test_Matrix<T,r,c> &m) { }
};
%}

View File

@ -13,7 +13,7 @@ public:
typedef Handle<SomeClass> hSomeClass;
class AnotherClass {
public:
void someFunc( hSomeClass a = hSomeClass() ) { };
void someFunc( hSomeClass a = hSomeClass() ) { }
};
%}

View File

@ -12,7 +12,7 @@
template <Polarization P>
struct Interface_ : Base
{
Interface_(const Base& b) { };
Interface_(const Base& b) { }
};
template <class Result>

View File

@ -166,7 +166,7 @@ public:
*/
virtual int exitClass(Node *) {
return SWIG_OK;
};
}
/**
* Invoked at the beginning of the variableHandler.
@ -178,7 +178,7 @@ public:
*/
virtual int exitVariable(Node *) {
return SWIG_OK;
};
}
/**
* Invoked at the beginning of the functionHandler.
@ -190,7 +190,7 @@ public:
*/
virtual int exitFunction(Node *) {
return SWIG_OK;
};
}
/**
* Invoked by functionWrapper callback after call to Language::functionWrapper.

View File

@ -889,7 +889,7 @@ public:
// Add methods
if (have_methods) {
Printv(ptrclass, imethods, NIL);
};
}
// Close out the pointer class
Printv(ptrclass, "}\n\n", NIL);
@ -947,7 +947,7 @@ public:
if (!itcl) {
Printv(cmd_tab, tab4, "{ SWIG_prefix \"", class_name, "\", (swig_wrapper_func) SWIG_ObjectConstructor, (ClientData)&_wrap_class_", mangled_classname,
"},\n", NIL);
};
}
Delete(t);
Delete(mangled_classname);
@ -1023,7 +1023,7 @@ public:
Printv(imethods, "{ ", ns_name, "::", class_name, "_", realname, " $swigobj", NIL);
} else {
Printv(imethods, "{ ", class_name, "_", realname, " $swigobj", NIL);
};
}
pnum = 0;
for (p = l; p; p = nextSibling(p)) {

View File

@ -18,7 +18,7 @@ typedef int (*JSCIntializer)(JSGlobalContextRef context, JSObjectRef *module);
public:
JSCShell() { context = 0; };
JSCShell() { context = 0; }
virtual ~JSCShell();

View File

@ -257,7 +257,7 @@ SwigV8ReturnValue V8Shell::Require(const SwigV8Arguments &args) {
if (args.Length() != 1) {
printf("Illegal arguments for `require`");
};
}
v8::String::Utf8Value str(args[0]);
const char *cstr = V8Shell::ToCString(str);