forked from OSchip/llvm-project
Update the code with clang changes r214450 (FunctionProtoType::ExtProtoInfo update)
llvm-svn: 214501
This commit is contained in:
parent
7cc0ed48f0
commit
186ca7dd59
|
@ -1754,12 +1754,10 @@ ClangASTContext::CreateFunctionType (ASTContext *ast,
|
|||
// TODO: Detect calling convention in DWARF?
|
||||
FunctionProtoType::ExtProtoInfo proto_info;
|
||||
proto_info.Variadic = is_variadic;
|
||||
proto_info.ExceptionSpecType = EST_None;
|
||||
proto_info.ExceptionSpec = EST_None;
|
||||
proto_info.TypeQuals = type_quals;
|
||||
proto_info.RefQualifier = RQ_None;
|
||||
proto_info.NumExceptions = 0;
|
||||
proto_info.Exceptions = nullptr;
|
||||
|
||||
|
||||
return ClangASTType (ast, ast->getFunctionType (result_type.GetQualType(),
|
||||
qual_type_args,
|
||||
proto_info).getAsOpaquePtr());
|
||||
|
|
Loading…
Reference in New Issue