php5: propagate c++11 noexcept to director classes
This commit is contained in:
parent
cedfbfbee8
commit
971404485f
1 changed files with 4 additions and 0 deletions
|
|
@ -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")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue