aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Nilsson <mikael.nilsson@arm.com>2018-12-13 10:17:26 +0000
committerMikael Nilsson <mikael.nilsson@arm.com>2018-12-13 10:17:26 +0000
commit8b3bf6c17340eb37a646a6d975d1e0a56f2b984a (patch)
treec2d4f8103ef33dfc166e69dce6decabb97b2a933
parent9d2872db7495d35fbc8606d7c5bdf05b7c18f750 (diff)
downloadllvm-8b3bf6c17340eb37a646a6d975d1e0a56f2b984a.zip
llvm-8b3bf6c17340eb37a646a6d975d1e0a56f2b984a.tar.gz
llvm-8b3bf6c17340eb37a646a6d975d1e0a56f2b984a.tar.bz2
Fix for clang interface update
FunctionProtoType.TypeQuals is now a Qualifiers object instead of an integer. The related clang commit: r349019 llvm-svn: 349020
-rw-r--r--lldb/source/Symbol/ClangASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp
index 7dd8aec..d145632 100644
--- a/lldb/source/Symbol/ClangASTContext.cpp
+++ b/lldb/source/Symbol/ClangASTContext.cpp
@@ -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,