Skip to content

Commit 5c583dd

Browse files
committed
Move comment inside else block
1 parent c35518e commit 5c583dd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lldb/source/Core/PluginManager.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,12 +2496,11 @@ void PluginManager::AutoCompletePluginName(llvm::StringRef name,
24962496
request.AddCompletion(
24972497
(plugin_ns.name + "." + plugin.name).toStringRef(buf));
24982498
}
2499-
}
2500-
// Otherwise check if the namespace is a prefix of the full name.
2501-
// Use a partial completion here so that we can either operate on the full
2502-
// namespace or tab-complete to the next level.
2503-
else if (plugin_ns.name.starts_with(name) &&
2504-
!plugin_ns.get_info().empty()) {
2499+
} else if (plugin_ns.name.starts_with(name) &&
2500+
!plugin_ns.get_info().empty()) {
2501+
// Otherwise check if the namespace is a prefix of the full name.
2502+
// Use a partial completion here so that we can either operate on the full
2503+
// namespace or tab-complete to the next level.
25052504
request.AddCompletion(plugin_ns.name, "", CompletionMode::Partial);
25062505
}
25072506
}

0 commit comments

Comments
 (0)