diff options
| author | John McCall <rjmccall@apple.com> | 2010-12-14 08:05:40 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-12-14 08:05:40 +0000 |
| commit | db40c7f57326f6c6f08e0b9e397dd2aff98c4c3a (patch) | |
| tree | daa08811e49c7b87259e53d9a1dfd2e0f034ce9b /clang/lib/AST/ASTImporter.cpp | |
| parent | 335f0e4ad4ad19737b378f0f46e95c34e1b8f6a1 (diff) | |
| download | bcm5719-llvm-db40c7f57326f6c6f08e0b9e397dd2aff98c4c3a.tar.gz bcm5719-llvm-db40c7f57326f6c6f08e0b9e397dd2aff98c4c3a.zip | |
Restore r121752 without modification.
llvm-svn: 121763
Diffstat (limited to 'clang/lib/AST/ASTImporter.cpp')
| -rw-r--r-- | clang/lib/AST/ASTImporter.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp index 8415977349b..cc485c47d9f 100644 --- a/clang/lib/AST/ASTImporter.cpp +++ b/clang/lib/AST/ASTImporter.cpp @@ -1473,16 +1473,12 @@ QualType ASTNodeImporter::VisitFunctionProtoType(FunctionProtoType *T) { return QualType(); ExceptionTypes.push_back(ExceptionType); } + + FunctionProtoType::ExtProtoInfo EPI = T->getExtProtoInfo(); + EPI.Exceptions = ExceptionTypes.data(); return Importer.getToContext().getFunctionType(ToResultType, ArgTypes.data(), - ArgTypes.size(), - T->isVariadic(), - T->getTypeQuals(), - T->hasExceptionSpec(), - T->hasAnyExceptionSpec(), - ExceptionTypes.size(), - ExceptionTypes.data(), - T->getExtInfo()); + ArgTypes.size(), EPI); } QualType ASTNodeImporter::VisitTypedefType(TypedefType *T) { |

