diff options
-rw-r--r-- | lib/AST/ASTImporter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/AST/ASTImporter.cpp b/lib/AST/ASTImporter.cpp index 3e952acdcb..c9968e427a 100644 --- a/lib/AST/ASTImporter.cpp +++ b/lib/AST/ASTImporter.cpp @@ -1511,6 +1511,9 @@ QualType ASTNodeImporter::VisitFunctionProtoType(const FunctionProtoType *T) { 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); |