Skip to content

Commit 3b7630c

Browse files
committed
[lldb][DWARFASTParser] Fix build failure after merge
rdar://133744976
1 parent 45a9e06 commit 3b7630c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ static void PrepareContextToReceiveMembers(TypeSystemClang &ast,
278278
// we can complete the type by doing a full import.
279279

280280
// If this type was not imported from an external AST, there's nothing to do.
281+
CompilerType type = ast.GetTypeForDecl(tag_decl_ctx);
281282
if (ast_importer.CanImport(tag_decl_ctx)) {
282-
CompilerType type = ast.GetTypeForDecl(tag_decl_ctx);
283283
auto qual_type = ClangUtil::GetQualType(type);
284284
if (ast_importer.RequireCompleteType(qual_type))
285285
return;

0 commit comments

Comments
 (0)