r203536 - Speculative workaround for apparent libstdc++ bug exposed by r203534.
Richard Smith
richard-llvm at metafoo.co.uk
Mon Mar 10 20:30:30 PDT 2014
Author: rsmith
Date: Mon Mar 10 22:30:30 2014
New Revision: 203536
URL: http://llvm.org/viewvc/llvm-project?rev=203536&view=rev
Log:
Speculative workaround for apparent libstdc++ bug exposed by r203534.
Modified:
cfe/trunk/include/clang/Serialization/Module.h
cfe/trunk/lib/Serialization/ASTReader.cpp
Modified: cfe/trunk/include/clang/Serialization/Module.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/Module.h?rev=203536&r1=203535&r2=203536&view=diff
==============================================================================
--- cfe/trunk/include/clang/Serialization/Module.h (original)
+++ cfe/trunk/include/clang/Serialization/Module.h Mon Mar 10 22:30:30 2014
@@ -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>,
Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=203536&r1=203535&r2=203536&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Mon Mar 10 22:30:30 2014
@@ -457,6 +457,9 @@ ASTReader::setDeserializationListener(AS
}
+DeclContextInfo::DeclContextInfo()
+ : NameLookupTableData(), LexicalDecls(), NumLexicalDecls() {}
+
void NameLookupTableDataDeleter::
operator()(ASTDeclContextNameLookupTable *Ptr) const {
delete Ptr;
More information about the cfe-commits
mailing list