Skip to content

Commit 9e231f1

Browse files
author
Francis Visoiu Mistrih
committed
Merge commit '799ae77993fa' from llvm.org/main into next
Conflicts: clang/lib/Serialization/ASTWriter.cpp
2 parents c37e64d + 799ae77 commit 9e231f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Serialization/ASTWriter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3919,8 +3919,7 @@ void ASTWriter::WriteIdentifierTable(Preprocessor &PP,
39193919

39203920
// Write out identifiers if either the ID is local or the identifier has
39213921
// changed since it was loaded.
3922-
if (ID >= FirstIdentID || !Chain || !II->isFromAST() ||
3923-
II->hasChangedSinceDeserialization())
3922+
if (ID >= FirstIdentID || II->hasChangedSinceDeserialization())
39243923
Generator.insert(II, ID, Trait);
39253924
}
39263925

0 commit comments

Comments
 (0)