forked from OSchip/llvm-project
Speculative workaround for apparent libstdc++ bug exposed by r203534.
llvm-svn: 203536
This commit is contained in:
parent
99e1c9515a
commit
cf91493176
clang
|
@ -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>,
|
||||
|
|
|
@ -457,6 +457,9 @@ ASTReader::setDeserializationListener(ASTDeserializationListener *Listener) {
|
|||
}
|
||||
|
||||
|
||||
DeclContextInfo::DeclContextInfo()
|
||||
: NameLookupTableData(), LexicalDecls(), NumLexicalDecls() {}
|
||||
|
||||
void NameLookupTableDataDeleter::
|
||||
operator()(ASTDeclContextNameLookupTable *Ptr) const {
|
||||
delete Ptr;
|
||||
|
|
Loading…
Reference in New Issue