Commit 47b20f4 jeffreytan81
committed
1 parent 37bcf44 commit 47b20f4 Copy full SHA for 47b20f4
File tree 1 file changed +2
-2
lines changed
lldb/source/Plugins/SymbolFile/DWARF
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -505,8 +505,8 @@ DebugNamesDWARFIndex::GetTypeQueryParentContexts(TypeQuery &query) {
505
505
query.GetContextRef ();
506
506
llvm::SmallVector<CompilerContext> parent_contexts;
507
507
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 .
510
510
llvm::ArrayRef<CompilerContext> parent_contexts_ref (
511
511
query_decl_context.data (), query_decl_context.size () - 1 );
512
512
for (const CompilerContext &ctx : llvm::reverse (parent_contexts_ref)) {
You can’t perform that action at this time.
0 commit comments