arphaman added inline comments.

================
Comment at: lib/Tooling/ASTDiff/ASTDiff.cpp:277
+Mappings::~Mappings() {
+  delete[] SrcToDst;
+  delete[] DstToSrc;
----------------
Please use `std::unique_ptr<NodeId []>` for `SrcToDst` and `DstToSrc` as well 
and remove the destructor.


https://reviews.llvm.org/D34329



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to