[Lldb-commits] [lldb] r256766 - [Commands] Get rid of unused typedefs.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 4 11:12:26 PST 2016
Author: davide
Date: Mon Jan 4 13:12:25 2016
New Revision: 256766
URL: http://llvm.org/viewvc/llvm-project?rev=256766&view=rev
Log:
[Commands] Get rid of unused typedefs.
Modified:
lldb/trunk/source/Commands/CommandObjectType.cpp
Modified: lldb/trunk/source/Commands/CommandObjectType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectType.cpp?rev=256766&r1=256765&r2=256766&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectType.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectType.cpp Mon Jan 4 13:12:25 2016
@@ -1396,11 +1396,6 @@ protected:
auto category_closure = [&result, &formatter_regex] (const lldb::TypeCategoryImplSP& category) -> void {
result.GetOutputStream().Printf("-----------------------\nCategory: %s\n-----------------------\n", category->GetName());
-
- typedef const std::shared_ptr<FormatterType> Bar;
- typedef std::function<bool(ConstString,Bar)> Func1Type;
- typedef std::function<bool(RegularExpressionSP,Bar)> Func2Type;
-
TypeCategoryImpl::ForEachCallbacks<FormatterType> foreach;
foreach.SetExact([&result, &formatter_regex] (ConstString name, const FormatterSharedPointer& format_sp) -> bool {
if (formatter_regex)
More information about the lldb-commits
mailing list