[cfe-commits] r111879 - /cfe/trunk/lib/Serialization/ASTReader.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Mon Aug 23 17:50:00 PDT 2010
Author: cornedbee
Date: Mon Aug 23 19:50:00 2010
New Revision: 111879
URL: http://llvm.org/viewvc/llvm-project?rev=111879&view=rev
Log:
Correctly initialize the visible decls pointer if there are no visible decls for a record.
Modified:
cfe/trunk/lib/Serialization/ASTReader.cpp
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=111879&r1=111878&r2=111879&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Mon Aug 23 19:50:00 2010
@@ -927,6 +927,8 @@
(const unsigned char *)Blob + Record[0],
(const unsigned char *)Blob,
ASTDeclContextNameLookupTrait(*this));
+ } else {
+ Info.NameLookupTableData = 0;
}
return false;
More information about the cfe-commits
mailing list