summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/ObjC
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-02 00:05:25 +0000
committerZachary Turner <zturner@google.com>2017-03-02 00:05:25 +0000
commit3bc714b2094b9234de81cd79b89beb99b453ed3b (patch)
tree5053dca61e01a695f4bb02db1c7b0c633160aa98 /lldb/source/Plugins/LanguageRuntime/ObjC
parent803a491a6453c08b355cc29568c4919b23def9ef (diff)
downloadbcm5719-llvm-3bc714b2094b9234de81cd79b89beb99b453ed3b.tar.gz
bcm5719-llvm-3bc714b2094b9234de81cd79b89beb99b453ed3b.zip
Fix various warnings. NFC
llvm-svn: 296717
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/ObjC')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
index b45ef3c5074..3079856d498 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
@@ -600,14 +600,12 @@ protected:
}
iterator->second->Describe(
nullptr,
- [objc_runtime, &std_out](const char *name,
- const char *type) -> bool {
+ [&std_out](const char *name, const char *type) -> bool {
std_out.Printf(" instance method name = %s type = %s\n",
name, type);
return false;
},
- [objc_runtime, &std_out](const char *name,
- const char *type) -> bool {
+ [&std_out](const char *name, const char *type) -> bool {
std_out.Printf(" class method name = %s type = %s\n", name,
type);
return false;
OpenPOWER on IntegriCloud