[Lldb-commits] [lldb] r349020 - Fix for clang interface update

Mikael Nilsson via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 13 02:17:27 PST 2018


Author: mikael
Date: Thu Dec 13 02:17:26 2018
New Revision: 349020

URL: http://llvm.org/viewvc/llvm-project?rev=349020&view=rev
Log:
Fix for clang interface update

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

The related clang commit: r349019


Modified:
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=349020&r1=349019&r2=349020&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Thu Dec 13 02:17:26 2018
@@ -2205,7 +2205,7 @@ CompilerType ClangASTContext::CreateFunc
   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,




More information about the lldb-commits mailing list