Author: dexonsmith Date: Sat Feb 20 12:53:45 2016 New Revision: 261442 URL: http://llvm.org/viewvc/llvm-project?rev=261442&view=rev Log: Lex: Remove explicitly deleted copy constructor, NFC
`std::unique_ptr<MemoryBuffer>` already deletes these, so there's no reason for the boiler-plate in HeaderMap. Modified: cfe/trunk/include/clang/Lex/HeaderMap.h Modified: cfe/trunk/include/clang/Lex/HeaderMap.h URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/HeaderMap.h?rev=261442&r1=261441&r2=261442&view=diff ============================================================================== --- cfe/trunk/include/clang/Lex/HeaderMap.h (original) +++ cfe/trunk/include/clang/Lex/HeaderMap.h Sat Feb 20 12:53:45 2016 @@ -30,9 +30,6 @@ namespace clang { /// symlinks to files. Its advantages are that it is dense and more efficient /// to create and process than a directory of symlinks. class HeaderMap { - HeaderMap(const HeaderMap &) = delete; - void operator=(const HeaderMap &) = delete; - std::unique_ptr<const llvm::MemoryBuffer> FileBuffer; bool NeedsBSwap; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits