php5: propagate c++11 noexcept to director classes

This commit is contained in:
William S Fulton 2017-05-13 16:59:36 +01:00
commit 971404485f

View file

@ -2525,6 +2525,10 @@ done:
Delete(target);
// Get any exception classes in the throws typemap
if (Getattr(n, "noexcept")) {
Append(w->def, " noexcept");
Append(declaration, " noexcept");
}
ParmList *throw_parm_list = 0;
if ((throw_parm_list = Getattr(n, "throws")) || Getattr(n, "throw")) {