forked from OSchip/llvm-project
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:
parent
9d2872db74
commit
8b3bf6c173
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue