Speculative workaround for apparent libstdc++ bug exposed by r203534.

llvm-svn: 203536
This commit is contained in:
Richard Smith 2014-03-11 03:30:30 +00:00
parent 99e1c9515a
commit cf91493176
2 changed files with 4 additions and 2 deletions
clang
include/clang/Serialization
lib/Serialization

View File

@ -53,8 +53,7 @@ struct NameLookupTableDataDeleter {
/// \brief Information about the contents of a DeclContext.
struct DeclContextInfo {
DeclContextInfo()
: NameLookupTableData(), LexicalDecls(), NumLexicalDecls() {}
DeclContextInfo();
/// An ASTDeclContextNameLookupTable.
std::unique_ptr<OnDiskChainedHashTable<reader::ASTDeclContextNameLookupTrait>,

View File

@ -457,6 +457,9 @@ ASTReader::setDeserializationListener(ASTDeserializationListener *Listener) {
}
DeclContextInfo::DeclContextInfo()
: NameLookupTableData(), LexicalDecls(), NumLexicalDecls() {}
void NameLookupTableDataDeleter::
operator()(ASTDeclContextNameLookupTable *Ptr) const {
delete Ptr;