propagate c++11 noexcept to director classes for Go

This commit is contained in:
William S Fulton 2017-05-13 17:46:01 +01:00
commit 731f175d21

View file

@ -5492,6 +5492,8 @@ private:
*--------------------------------------------------------------------*/
String *buildThrow(Node *n) {
if (Getattr(n, "noexcept"))
return NewString("noexcept");
ParmList *throw_parm_list = Getattr(n, "throws");
if (!throw_parm_list && !Getattr(n, "throw"))
return NULL;