diff options
author | Jim Ingham <jingham@apple.com> | 2016-09-13 01:58:08 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2016-09-13 01:58:08 +0000 |
commit | 1a81b273783119bcce4e81f6c31bd6b422f1029f (patch) | |
tree | ed3ff2f288b72a7fae9b2159a15532d81ca3a0c3 /lldb/source/Target | |
parent | f3b77662667e15ad4a637a35c0e155600f8fbd63 (diff) | |
download | bcm5719-llvm-1a81b273783119bcce4e81f6c31bd6b422f1029f.tar.gz bcm5719-llvm-1a81b273783119bcce4e81f6c31bd6b422f1029f.zip |
Add a few const's (thanks Zachary) and return shared or unique pointers
in places where they help prevent leaks.
llvm-svn: 281288
Diffstat (limited to 'lldb/source/Target')
-rw-r--r-- | lldb/source/Target/LanguageRuntime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/LanguageRuntime.cpp b/lldb/source/Target/LanguageRuntime.cpp index 83c6afadb21..24da18f8388 100644 --- a/lldb/source/Target/LanguageRuntime.cpp +++ b/lldb/source/Target/LanguageRuntime.cpp @@ -90,7 +90,7 @@ ExceptionSearchFilter::DoCopyForBreakpoint(Breakpoint &breakpoint) { } 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; } |