Index: include/clang/AST/UnresolvedSet.h =================================================================== --- include/clang/AST/UnresolvedSet.h +++ include/clang/AST/UnresolvedSet.h @@ -59,8 +59,9 @@ // UnresolvedSet. private: template friend class UnresolvedSet; - UnresolvedSetImpl() {} - UnresolvedSetImpl(const UnresolvedSetImpl &) {} + UnresolvedSetImpl() = default; + UnresolvedSetImpl(const UnresolvedSetImpl &) = default; + UnresolvedSetImpl& operator=(const UnresolvedSetImpl &) = default; public: // We don't currently support assignment through this iterator, so we might Index: include/clang/Sema/Lookup.h =================================================================== --- include/clang/Sema/Lookup.h +++ include/clang/Sema/Lookup.h @@ -185,6 +185,9 @@ Shadowed(false) {} + LookupResult(const LookupResult &) = default; + LookupResult & operator=(const LookupResult &) = default; + ~LookupResult() { if (Diagnose) diagnose(); if (Paths) deletePaths(Paths);