Skip to content

Commit ff14c1d

Browse files
committed
[clang][ASTImporter] Don't import field definitions for LLDB redecl-completion
(cherry picked from commit c6a3b0e)
1 parent dd6b9cc commit ff14c1d

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
@@ -1878,7 +1878,7 @@ ASTNodeImporter::ImportDeclContext(DeclContext *FromDC, bool ForceImport) {
18781878
continue;
18791879
}
18801880

1881-
if (Importer.hasLLDBRedeclCompletion()) {
1881+
if (!Importer.hasLLDBRedeclCompletion()) {
18821882
FieldDecl *FieldFrom = dyn_cast_or_null<FieldDecl>(From);
18831883
Decl *ImportedDecl = *ImportedOrErr;
18841884
FieldDecl *FieldTo = dyn_cast_or_null<FieldDecl>(ImportedDecl);

0 commit comments

Comments
 (0)