aprantl added a comment. Drive-by comment.
================ Comment at: clang/lib/Basic/MemoryBufferCache.cpp:18 + std::unique_ptr<llvm::MemoryBuffer> Buffer) { + auto Insertion = Buffers.insert(std::make_pair( + Filename, BufferEntry{std::move(Buffer), NextIndex++})); ---------------- we should be able to replace the `std::make_pair()` with `{}`. https://reviews.llvm.org/D28299 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits