forked from OSchip/llvm-project
Serialization: Skip check in WritePragmaDiagnosticMappings, NFC
The record is never empty, since we always serialize the initial state. Skip the check. llvm-svn: 300021
This commit is contained in:
parent
57d49236cc
commit
f2435b9574
|
@ -2904,8 +2904,7 @@ void ASTWriter::WritePragmaDiagnosticMappings(const DiagnosticsEngine &Diag,
|
|||
}
|
||||
}
|
||||
|
||||
if (!Record.empty())
|
||||
Stream.EmitRecord(DIAG_PRAGMA_MAPPINGS, Record);
|
||||
Stream.EmitRecord(DIAG_PRAGMA_MAPPINGS, Record);
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue