[Lldb-commits] [lldb] r178700 - Fix build.

Rafael Espindola rafael.espindola at gmail.com
Wed Apr 3 14:29:22 PDT 2013


Author: rafael
Date: Wed Apr  3 16:29:21 2013
New Revision: 178700

URL: http://llvm.org/viewvc/llvm-project?rev=178700&view=rev
Log:
Fix build.
This should fix the build breakage caused by the api change in 178663.

Modified:
    lldb/trunk/source/Expression/ASTResultSynthesizer.cpp
    lldb/trunk/source/Expression/ClangASTSource.cpp
    lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp
    lldb/trunk/source/Symbol/ClangASTContext.cpp

Modified: lldb/trunk/source/Expression/ASTResultSynthesizer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ASTResultSynthesizer.cpp?rev=178700&r1=178699&r2=178700&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ASTResultSynthesizer.cpp (original)
+++ lldb/trunk/source/Expression/ASTResultSynthesizer.cpp Wed Apr  3 16:29:21 2013
@@ -357,7 +357,6 @@ ASTResultSynthesizer::SynthesizeBodyResu
                                       result_ptr_id,
                                       ptr_qual_type,
                                       NULL,
-                                      SC_Static,
                                       SC_Static);
         
         if (!result_decl)
@@ -378,7 +377,6 @@ ASTResultSynthesizer::SynthesizeBodyResu
                                       &result_id, 
                                       expr_qual_type, 
                                       NULL, 
-                                      SC_Static, 
                                       SC_Static);
         
         if (!result_decl)

Modified: lldb/trunk/source/Expression/ClangASTSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangASTSource.cpp?rev=178700&r1=178699&r2=178700&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangASTSource.cpp (original)
+++ lldb/trunk/source/Expression/ClangASTSource.cpp Wed Apr  3 16:29:21 2013
@@ -1713,7 +1713,6 @@ NameSearchContext::AddVarDecl(void *type
                                              ii, 
                                              QualType::getFromOpaquePtr(type), 
                                              0, 
-                                             SC_Static, 
                                              SC_Static);
     m_decls.push_back(Decl);
     
@@ -1763,7 +1762,6 @@ NameSearchContext::AddFunDecl (void *typ
                                                           arg_qual_type,
                                                           NULL,
                                                           SC_Static,
-                                                          SC_Static,
                                                           NULL));
         }
         

Modified: lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp?rev=178700&r1=178699&r2=178700&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp (original)
+++ lldb/trunk/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeVendor.cpp Wed Apr  3 16:29:21 2013
@@ -403,7 +403,6 @@ public:
                                                            arg_type,
                                                            NULL,
                                                            clang::SC_None,
-                                                           clang::SC_None,
                                                            NULL));
         }
         

Modified: lldb/trunk/source/Symbol/ClangASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTContext.cpp?rev=178700&r1=178699&r2=178700&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTContext.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTContext.cpp Wed Apr  3 16:29:21 2013
@@ -1813,7 +1813,6 @@ ClangASTContext::AddMethodToCXXRecordTyp
                                                          DeclarationNameInfo (ast->DeclarationNames.getCXXOperatorName (op_kind), SourceLocation()),
                                                          method_qual_type,
                                                          NULL, // TypeSourceInfo *
-                                                         is_static,
                                                          SC_None,
                                                          is_inline,
                                                          false /*is_constexpr*/,
@@ -1843,7 +1842,6 @@ ClangASTContext::AddMethodToCXXRecordTyp
                                                      DeclarationNameInfo (decl_name, SourceLocation()),
                                                      method_qual_type,
                                                      NULL, // TypeSourceInfo *
-                                                     is_static,
                                                      SC_None,
                                                      is_inline,
                                                      false /*is_constexpr*/,
@@ -1875,7 +1873,6 @@ ClangASTContext::AddMethodToCXXRecordTyp
                                                method_function_prototype->getArgType(param_index), 
                                                NULL,
                                                SC_None,
-                                               SC_None,
                                                NULL));
     }
     
@@ -2603,7 +2600,6 @@ ClangASTContext::AddObjCClassProperty
                                                                NULL, // anonymous
                                                                QualType::getFromOpaquePtr(property_opaque_type_to_access), 
                                                                NULL,
-                                                               SC_Auto, 
                                                                SC_Auto,
                                                                NULL));
                         
@@ -2772,7 +2768,6 @@ ClangASTContext::AddMethodToObjCObjectTy
                                                    NULL, // anonymous
                                                    method_function_prototype->getArgType(param_index), 
                                                    NULL,
-                                                   SC_Auto, 
                                                    SC_Auto,
                                                    NULL));
         }
@@ -5326,7 +5321,6 @@ ClangASTContext::CreateParameterDeclarat
                                 QualType::getFromOpaquePtr(param_type),
                                 NULL,
                                 (VarDecl::StorageClass)storage,
-                                (VarDecl::StorageClass)storage,
                                 0);
 }
 





More information about the lldb-commits mailing list