propagate c++11 noexcept to director classes for Go
This commit is contained in:
parent
1416a158f0
commit
731f175d21
1 changed files with 2 additions and 0 deletions
|
|
@ -5492,6 +5492,8 @@ private:
|
||||||
*--------------------------------------------------------------------*/
|
*--------------------------------------------------------------------*/
|
||||||
|
|
||||||
String *buildThrow(Node *n) {
|
String *buildThrow(Node *n) {
|
||||||
|
if (Getattr(n, "noexcept"))
|
||||||
|
return NewString("noexcept");
|
||||||
ParmList *throw_parm_list = Getattr(n, "throws");
|
ParmList *throw_parm_list = Getattr(n, "throws");
|
||||||
if (!throw_parm_list && !Getattr(n, "throw"))
|
if (!throw_parm_list && !Getattr(n, "throw"))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue