nodes from the imported ASTContext.
rdar://
12348924
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164416
91177308-0d34-0410-b5e6-
96231b3b80d8
FunctionProtoType::ExtProtoInfo EPI = T->getExtProtoInfo();
EPI.Exceptions = ExceptionTypes.data();
+ EPI.NoexceptExpr = Importer.Import(EPI.NoexceptExpr);
+ EPI.ExceptionSpecDecl = Importer.Import(EPI.ExceptionSpecDecl);
+ EPI.ExceptionSpecTemplate = Importer.Import(EPI.ExceptionSpecTemplate);
return Importer.getToContext().getFunctionType(ToResultType, ArgTypes.data(),
ArgTypes.size(), EPI);