mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-16 07:49:43 +00:00
Fix build errors.
llvm-svn: 164417
This commit is contained in:
parent
9c71b1e0be
commit
89df5ecaf2
@ -1512,8 +1512,10 @@ 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);
|
||||
EPI.ExceptionSpecDecl
|
||||
= cast_or_null<FunctionDecl>(Importer.Import(EPI.ExceptionSpecDecl));
|
||||
EPI.ExceptionSpecTemplate
|
||||
= cast_or_null<FunctionDecl>(Importer.Import(EPI.ExceptionSpecTemplate));
|
||||
|
||||
return Importer.getToContext().getFunctionType(ToResultType, ArgTypes.data(),
|
||||
ArgTypes.size(), EPI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user