diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-08-22 16:58:56 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-08-22 16:58:56 +0000 |
commit | 9a0f124f26437504c50fdb78401b73d820ed3991 (patch) | |
tree | 8d5c7c32729b1b949182ad5619dd0aef0dfac21a | |
parent | 7be93589c4b548ac2aeed12475338e66c7b388bf (diff) | |
download | bcm5719-llvm-9a0f124f26437504c50fdb78401b73d820ed3991.tar.gz bcm5719-llvm-9a0f124f26437504c50fdb78401b73d820ed3991.zip |
Remove redundant curly braces.
llvm-svn: 369670
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp | 4 | ||||
-rw-r--r-- | lldb/tools/lldb-test/lldb-test.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp index f0c463726fb..5ef46ef3239 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -148,7 +148,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWO(const DWARFDIE &die, Log *log) { die.GetDeclContext(decl_context); TypeMap dwo_types; - if (!dwo_module_sp->GetSymbolFile()->FindTypes({decl_context}, true, + if (!dwo_module_sp->GetSymbolFile()->FindTypes(decl_context, true, dwo_types)) { if (!IsClangModuleFwdDecl(die)) return TypeSP(); @@ -159,7 +159,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWO(const DWARFDIE &die, Log *log) { for (const auto &name_module : sym_file.getExternalTypeModules()) { if (!name_module.second) continue; - if (name_module.second->GetSymbolFile()->FindTypes({decl_context}, true, + if (name_module.second->GetSymbolFile()->FindTypes(decl_context, true, dwo_types)) break; } diff --git a/lldb/tools/lldb-test/lldb-test.cpp b/lldb/tools/lldb-test/lldb-test.cpp index d7b67373e5e..5eaf006d128 100644 --- a/lldb/tools/lldb-test/lldb-test.cpp +++ b/lldb/tools/lldb-test/lldb-test.cpp @@ -513,7 +513,7 @@ Error opts::symbols::findTypes(lldb_private::Module &Module) { Symfile.FindTypes(ConstString(Name), ContextPtr, true, UINT32_MAX, SearchedFiles, Map); else - Symfile.FindTypes({parseCompilerContext()}, true, Map); + Symfile.FindTypes(parseCompilerContext(), true, Map); outs() << formatv("Found {0} types:\n", Map.GetSize()); StreamString Stream; |