Remove redundant curly braces.

llvm-svn: 369670
This commit is contained in:
Adrian Prantl 2019-08-22 16:58:56 +00:00
parent 7be93589c4
commit 9a0f124f26
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;