Fix for clang interface update

FunctionProtoType.TypeQuals is now a Qualifiers object instead of an
integer.

The related clang commit: r349019

llvm-svn: 349020
This commit is contained in:
Mikael Nilsson 2018-12-13 10:17:26 +00:00
parent 9d2872db74
commit 8b3bf6c173
1 changed files with 1 additions and 1 deletions

View File

@ -2205,7 +2205,7 @@ CompilerType ClangASTContext::CreateFunctionType(
proto_info.ExtInfo = cc;
proto_info.Variadic = is_variadic;
proto_info.ExceptionSpec = EST_None;
proto_info.TypeQuals = type_quals;
proto_info.TypeQuals = clang::Qualifiers::fromFastMask(type_quals);
proto_info.RefQualifier = RQ_None;
return CompilerType(ast,