Skip to content

Commit 81a0cb2

Browse files
committed
[clang][ASTImporter] Don't import field definitions for LLDB redecl-completion
1 parent 73929b4 commit 81a0cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ASTImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) {
20552055
continue;
20562056
}
20572057

2058-
if (Importer.hasLLDBRedeclCompletion()) {
2058+
if (!Importer.hasLLDBRedeclCompletion()) {
20592059
FieldDecl *FieldFrom = dyn_cast_or_null<FieldDecl>(From);
20602060
Decl *ImportedDecl = *ImportedOrErr;
20612061
FieldDecl *FieldTo = dyn_cast_or_null<FieldDecl>(ImportedDecl);

0 commit comments

Comments
 (0)