[clang] [serialization] No transitive type change (PR #92511)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 20 03:14:55 PDT 2024
================
@@ -3262,17 +3262,18 @@ void ASTWriter::WritePragmaDiagnosticMappings(const DiagnosticsEngine &Diag,
/// Write the representation of a type to the AST stream.
void ASTWriter::WriteType(QualType T) {
TypeIdx &IdxRef = TypeIdxs[T];
- if (IdxRef.getIndex() == 0) // we haven't seen this type before.
+ if (IdxRef.getValue() == 0) // we haven't seen this type before.
----------------
ilya-biryukov wrote:
SG, let's keep as is
https://github.com/llvm/llvm-project/pull/92511
More information about the cfe-commits
mailing list