[lldb-dev] [PATCH] Recent change to clang header breaks lldb

Steve Pucci spucci at google.com
Mon Jan 6 11:18:51 PST 2014


A parameter to a clang method was removed from a call made by lldb (the
value is determined from the context now).  A fix is attached; can someone
please review?

Thanks,
   Steve

diff --git a/source/Symbol/ClangASTType.cpp b/source/Symbol/ClangASTType.cpp
index 0dfabcc..84a04d4 100644
--- a/source/Symbol/ClangASTType.cpp
+++ b/source/Symbol/ClangASTType.cpp
@@ -1134,7 +1134,7 @@ ClangASTType::GetTypeName () const
         if (typedef_type)
         {
             const TypedefNameDecl *typedef_decl = typedef_type->getDecl();
-            type_name =
typedef_decl->getQualifiedNameAsString(printing_policy);
+            type_name = typedef_decl->getQualifiedNameAsString();
         }
         else
         {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140106/b1d3fa11/attachment.html>


More information about the lldb-dev mailing list