Skip to content

Commit 47b20f4

Browse files
author
jeffreytan81
committed
Address review feedback
1 parent 37bcf44 commit 47b20f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,8 @@ DebugNamesDWARFIndex::GetTypeQueryParentContexts(TypeQuery &query) {
505505
query.GetContextRef();
506506
llvm::SmallVector<CompilerContext> parent_contexts;
507507
if (!query_decl_context.empty()) {
508-
// Skip the last entry, it is the type we are looking for.
509-
// Reverse the query decl context to match parent chain.
508+
// Skip the last entry as it's the type we're matching parents for.
509+
// Reverse the query decl context to match parent chain order.
510510
llvm::ArrayRef<CompilerContext> parent_contexts_ref(
511511
query_decl_context.data(), query_decl_context.size() - 1);
512512
for (const CompilerContext &ctx : llvm::reverse(parent_contexts_ref)) {

0 commit comments

Comments
 (0)