[PATCH] Update Clang to change in ReadAbbrevBlock API (bug 20485)
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Fri Jan 16 11:56:00 PST 2015
REPOSITORY
rL LLVM
================
Comment at: lib/Serialization/ASTReader.cpp:1344
@@ +1343,3 @@
+ if (Cursor.ReadAbbrevRecord()) {
+ Error("malformed abbrev record in AST file");
+ return Failure;
----------------
This should not be needed. The idea of having a diagnostic handler is that the diagnostic has to be issued only once. With this clang would be printing two errors.This one and one from the bitcode reader.
http://reviews.llvm.org/D7007
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list