Add a few const's (thanks Zachary) and return shared or unique pointers
in places where they help prevent leaks.
llvm-svn: 281288
diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp
index 83c6afa..24da18f 100644
--- a/lldb/source/Target/LanguageRuntime.cpp
+++ b/lldb/source/Target/LanguageRuntime.cpp
@@ -90,7 +90,7 @@
}
SearchFilter *ExceptionSearchFilter::CreateFromStructuredData(
- Target &target, StructuredData::Dictionary &data_dict, Error &error) {
+ Target &target, const StructuredData::Dictionary &data_dict, Error &error) {
SearchFilter *result = nullptr;
return result;
}