[Lldb-commits] [lldb] r217900 - Unused functions break the -Werror build. Revert for now.

Enrico Granata egranata at apple.com
Tue Sep 16 13:28:26 PDT 2014


Author: enrico
Date: Tue Sep 16 15:28:26 2014
New Revision: 217900

URL: http://llvm.org/viewvc/llvm-project?rev=217900&view=rev
Log:
Unused functions break the -Werror build. Revert for now.


Modified:
    lldb/trunk/source/DataFormatters/FormatManager.cpp

Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=217900&r1=217899&r2=217900&view=diff
==============================================================================
--- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
+++ lldb/trunk/source/DataFormatters/FormatManager.cpp Tue Sep 16 15:28:26 2014
@@ -957,15 +957,6 @@ static void AddFilter  (TypeCategoryImpl
     else
         category_sp->GetTypeFiltersContainer()->Add(type_name,filter_sp);
 }
-
-static void AddEmptyFilter  (TypeCategoryImpl::SharedPointer category_sp,
-                             const char* description,
-                             ConstString type_name,
-                             ScriptedSyntheticChildren::Flags flags,
-                             bool regex = false)
-{
-    AddFilter(category_sp, {}, description, type_name, flags, regex);
-}
 #endif
 
 void





More information about the lldb-commits mailing list